diff --git a/main.go b/main.go index 8c76837..02462aa 100644 --- a/main.go +++ b/main.go @@ -137,7 +137,7 @@ func main() { go ListenMQ(client, MQTGCmdQueue) go ListenMe(client) - opt := NewOptionValueBoolean(false) + opt := tdlib.NewOptionValueBoolean(false) _, err = client.SetOption("online", opt) logOnError(err, "SetOption(online)")