parent
72af8a536b
commit
f612e0f8b5
|
@ -4,7 +4,7 @@ import (
|
||||||
"git.zio.sh/astra/go-tdlib/client"
|
"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)
|
chatMemberChan := make(chan *client.ChatMember, 10)
|
||||||
errChan := make(chan error, 1)
|
errChan := make(chan error, 1)
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ func SupergroupMembers(tdlibClient *client.Client, supergroupId int32) (chan *cl
|
||||||
return chatMemberChan, errChan
|
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() {
|
defer func() {
|
||||||
close(chatMemberChan)
|
close(chatMemberChan)
|
||||||
close(errChan)
|
close(errChan)
|
||||||
|
|
Loading…
Reference in New Issue