aboutsummaryrefslogtreecommitdiff
path: root/telegram/client.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2021-12-04 21:10:54 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2021-12-04 21:10:54 +0300
commit105f5017c35f92a9e2f5398a06cfdd3f1da31bad (patch)
treec602c7eb3ede37718894e7dea7875490cbc8d728 /telegram/client.go
parentbc37cf0c4f0d58752f92238a013513be9aa3caff (diff)
Migrate to TDlib 1.7.9
Diffstat (limited to 'telegram/client.go')
-rw-r--r--telegram/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/client.go b/telegram/client.go
index 2b122f8..07603b5 100644
--- a/telegram/client.go
+++ b/telegram/client.go
@@ -87,7 +87,7 @@ func NewClient(conf config.TelegramConfig, jid string, component *xmpp.Component
UseMessageDatabase: true,
UseSecretChats: conf.Tdlib.Client.UseSecretChats,
- ApiId: int32(apiID),
+ ApiID: int64(apiID),
ApiHash: conf.Tdlib.Client.APIHash,
SystemLanguageCode: "en",