This commit is contained in:
shoopea 2019-12-13 15:36:21 +08:00
parent 476b126ba9
commit 35344a0399

View File

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