Skip to content

Instantly share code, notes, and snippets.

@bliz937
Last active November 17, 2015 19:32
Show Gist options
  • Save bliz937/aca5172ca0f52b8ed463 to your computer and use it in GitHub Desktop.
Save bliz937/aca5172ca0f52b8ed463 to your computer and use it in GitHub Desktop.
Telegram bot forwarding message error

A bot that I was working on needed to forward messages. Following Telegram's api to forward a message, my code looked like this

botSendFunctions.forwardMessage(bot, chat_id, "@bliz937", update.message.message_id)

I would receive the following error: TelegramError: [Error]: Bad Request: channel not found

Contacting the helpful @BotSupport, they pointed out to me that for users, I needed to provide an id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment