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