From 4e0671c490dd35aa614d9ed3b638148967b26735 Mon Sep 17 00:00:00 2001 From: Astra Vexton Date: Wed, 8 Dec 2021 12:43:43 +0000 Subject: [PATCH] Update 'client/puller/supergroup.go' --- client/puller/supergroup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/puller/supergroup.go b/client/puller/supergroup.go index 461178b..d3701fb 100644 --- a/client/puller/supergroup.go +++ b/client/puller/supergroup.go @@ -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)