This commit is contained in:
shoopea 2019-12-13 15:33:35 +08:00
parent eb53489077
commit 476b126ba9

View File

@ -137,8 +137,9 @@ func main() {
go ListenMQ(client, MQTGCmdQueue) go ListenMQ(client, MQTGCmdQueue)
go ListenMe(client) go ListenMe(client)
opt := tdlib.OptionValueBoolean opt := tdlib.OptionValueBoolean{
opt.Value = false Value: false,
}
_, err = client.SetOption("online", opt) _, err = client.SetOption("online", opt)
logOnError(err, "SetOption(online)") logOnError(err, "SetOption(online)")