diff options
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", |