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

View file

@ -1,4 +1,4 @@
TAG := v1.7.0
TAG := v1.8.0
schema-update:
curl https://raw.githubusercontent.com/tdlib/td/${TAG}/td/generate/scheme/td_api.tl 2>/dev/null > ./data/td_api.tl

View file

@ -1,6 +1,6 @@
# go-tdlib
Go wrapper for [TDLib (Telegram Database Library)](https://github.com/tdlib/td) with full support of TDLib v1.7.0
Go wrapper for [TDLib (Telegram Database Library)](https://github.com/tdlib/td) with full support of TDLib v1.8.0
## TDLib installation

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

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff