diff options
Diffstat (limited to 'telegram/connect.go')
-rw-r--r-- | telegram/connect.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/telegram/connect.go b/telegram/connect.go index f2ea01d..94154d8 100644 --- a/telegram/connect.go +++ b/telegram/connect.go @@ -2,13 +2,12 @@ package telegram import ( "github.com/pkg/errors" - "math" "strconv" "dev.narayana.im/narayana/telegabber/xmpp/gateway" log "github.com/sirupsen/logrus" - "github.com/godcong/go-tdlib/client" + "github.com/zelenin/go-tdlib/client" ) const chatsLimit int32 = 999 @@ -135,7 +134,6 @@ func (c *Client) Connect(resource string) error { go func() { _, err = c.client.GetChats(&client.GetChatsRequest{ - OffsetOrder: client.JsonInt64(math.MaxInt64), Limit: chatsLimit, }) if err != nil { |