diff options
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 c8187fc..072f4b9 100644 --- a/telegram/client.go +++ b/telegram/client.go @@ -35,7 +35,7 @@ func stringToLogConstant(c string) int32 { // Client stores the metadata for lazily invoked TDlib instance type Client struct { client *client.Client - authorizer *client.ClientAuthorizerType + authorizer *clientAuthorizer xmpp *xmpp.Component jid string parameters *client.TdlibParameters @@ -93,7 +93,7 @@ func updateHandler(tdlibClient *client.Client) { for update := range listener.Updates { if update.GetClass() == client.ClassUpdate { - fmt.Printf("%#v", update) + fmt.Printf("%#v\n", update) } } } |