From 35344a0399ec54385252f15e3a872a91eecc9225 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 13 Dec 2019 15:36:21 +0800 Subject: [PATCH] test --- main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index b8b18ab..8c76837 100644 --- a/main.go +++ b/main.go @@ -137,9 +137,8 @@ func main() { go ListenMQ(client, MQTGCmdQueue) go ListenMe(client) - opt := tdlib.OptionValueBoolean{ - Value: false, - } + opt := NewOptionValueBoolean(false) + _, err = client.SetOption("online", opt) logOnError(err, "SetOption(online)")