How do I add my bot to a channel?

user4374121 picture user4374121 · Oct 14, 2015 · Viewed 149.4k times · Source

I'm using my bot to tell important news, but when I using sendMessage to the channel I'm receiving the following error:

{"ok":false,"error_code":403,"description":"Error: Forbidden: bot is not a participant of the channel"}

In the Change Log they mention it's not possible via the client to send a message to a channel, but then what is the other way to do that?

So, the question is, how to add my bot to the channel?

Answer

Stas Parshin picture Stas Parshin · Nov 3, 2015

Now all clients allow to do it, but it's not pretty simple.
In any Telegram client:

  1. Open Channel info (in app title)
  2. Choose Administrators
  3. Add Administrator
  4. There will be no bots in contact list, so you need to search for it. Enter your bot's username
  5. Clicking on it you make it as administrator.

enter image description here