diff --git a/main.go b/main.go index 832a218..ba336db 100644 --- a/main.go +++ b/main.go @@ -136,9 +136,9 @@ func main() { go ListenTG(client) go ListenMQ(client, MQTGCmdQueue) go ListenMe(client) - + opt := tdlib.OptionValueBoolean - opt.Value := false + opt.Value = false _, err = client.SetOption("online", opt) logOnError(err, "SetOption(online)")