From ba22cb6b57ce691edf78854af225febd1f12ce3d Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 13 Dec 2019 15:36:35 +0800 Subject: [PATCH] fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 8c76837..02462aa 100644 --- a/main.go +++ b/main.go @@ -137,7 +137,7 @@ func main() { go ListenMQ(client, MQTGCmdQueue) go ListenMe(client) - opt := NewOptionValueBoolean(false) + opt := tdlib.NewOptionValueBoolean(false) _, err = client.SetOption("online", opt) logOnError(err, "SetOption(online)")