diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2021-12-04 21:10:54 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2021-12-04 21:10:54 +0300 |
commit | 105f5017c35f92a9e2f5398a06cfdd3f1da31bad (patch) | |
tree | c602c7eb3ede37718894e7dea7875490cbc8d728 /telegram/client.go | |
parent | bc37cf0c4f0d58752f92238a013513be9aa3caff (diff) |
Migrate to TDlib 1.7.9
Diffstat (limited to 'telegram/client.go')
-rw-r--r-- | telegram/client.go | 2 |
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", |