diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-08-01 04:25:24 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-08-01 04:25:24 +0300 |
commit | ef831fc9725601a94149ce94c3fb686afc77e0a5 (patch) | |
tree | 4046e57e03097d9af33cde558056cd5393fa77f4 /telegram/client.go | |
parent | 748366ad6a9dc4b2a269d5499ae1d5d7e8526762 (diff) |
Migrate to TDLib 1.8.14 (multiple usernames support)
Diffstat (limited to 'telegram/client.go')
-rw-r--r-- | telegram/client.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telegram/client.go b/telegram/client.go index 5b0217a..e9acd20 100644 --- a/telegram/client.go +++ b/telegram/client.go @@ -45,7 +45,7 @@ type DelayedStatus struct { type Client struct { client *client.Client authorizer *clientAuthorizer - parameters *client.TdlibParameters + parameters *client.SetTdlibParametersRequest options []client.Option me *client.User @@ -100,7 +100,7 @@ func NewClient(conf config.TelegramConfig, jid string, component *xmpp.Component datadir = "./sessions/" // ye olde defaute } - parameters := client.TdlibParameters{ + parameters := client.SetTdlibParametersRequest{ UseTestDc: false, DatabaseDirectory: filepath.Join(datadir, jid), |