update tdlib v1.8.0

This commit is contained in:
Aleksandr Zelenin 2021-12-30 08:55:02 +03:00
parent e162b22637
commit d916d47121
11 changed files with 15492 additions and 2913 deletions

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@ import (
"github.com/zelenin/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)

View file

@ -1,3 +1,4 @@
//go:build darwin
// +build darwin
package client

View file

@ -1,3 +1,4 @@
//go:build libtdjson && (linux || darwin || windows)
// +build libtdjson
// +build linux darwin windows

View file

@ -1,3 +1,4 @@
//go:build !libtdjson && (linux || darwin)
// +build !libtdjson
// +build linux darwin

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff