We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The client triggers a panic error when using Bot.ChatByID with a chat_id where the bot is not a member.
Bot.ChatByID
chat_id
bot, _ := telebot.NewBot(telebot.Settings{ Token: os.Getenv("TOKEN"), Poller: &telebot.LongPoller{Timeout: time.Second * 10}, }) bot.ChatByID(chatId)
go version go1.22.3 linux/amd64 using telebot v3.3.8
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The client triggers a panic error when using
Bot.ChatByID
with achat_id
where the bot is not a member.Example Code
go version go1.22.3 linux/amd64
using telebot v3.3.8
The text was updated successfully, but these errors were encountered: