Update 'client/puller/supergroup.go'

main v1.7.11
Astra 2021-12-08 12:43:43 +00:00
parent 72af8a536b
commit 4e0671c490
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import (
"git.zio.sh/astra/go-tdlib/client"
)
func SupergroupMembers(tdlibClient *client.Client, supergroupId int32) (chan *client.ChatMember, chan error) {
func SupergroupMembers(tdlibClient *client.Client, supergroupId int64) (chan *client.ChatMember, chan error) {
chatMemberChan := make(chan *client.ChatMember, 10)
errChan := make(chan error, 1)
@ -17,7 +17,7 @@ func SupergroupMembers(tdlibClient *client.Client, supergroupId int32) (chan *cl
return chatMemberChan, errChan
}
func supergroupMembers(tdlibClient *client.Client, chatMemberChan chan *client.ChatMember, errChan chan error, supergroupId int32, filter client.SupergroupMembersFilter, offset int32, limit int32) {
func supergroupMembers(tdlibClient *client.Client, chatMemberChan chan *client.ChatMember, errChan chan error, supergroupId int64, filter client.SupergroupMembersFilter, offset int32, limit int32) {
defer func() {
close(chatMemberChan)
close(errChan)