如何将我的机器人添加到频道? [英] How do I add my bot to a channel?

查看:85
本文介绍了如何将我的机器人添加到频道?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用我的机器人告诉重要新闻,但是当我使用 sendMessage 到频道时,我收到以下错误:

{"ok":false,"error_code":403,"description":"Error: Forbidden: bot 不是频道的参与者"}

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?

解决方案

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.

这篇关于如何将我的机器人添加到频道?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆