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 ListenMe(client)
opt := tdlib.OptionValueBoolean{
Value: false,
}
opt := NewOptionValueBoolean(false)
_, err = client.SetOption("online", opt)
logOnError(err, "SetOption(online)")