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