Skip to content
This repository has been archived by the owner on Jun 2, 2019. It is now read-only.

can't send message from bot to public channel #437

Open
mnabila opened this issue Dec 16, 2018 · 1 comment
Open

can't send message from bot to public channel #437

mnabila opened this issue Dec 16, 2018 · 1 comment

Comments

@mnabila
Copy link

mnabila commented Dec 16, 2018

i was try to send message from my bot to public channel with bot.sendMessage(chat_id="@ChannelName, text="some text") but I get an error message like this ('Bad Request: need administrator rights in the channel chat', 400, {'ok': False, 'error_code': 400, 'description': 'Bad Request: need administrator rights in the channel chat'})
how to fix it even though I have added the bot as an administrator on my channel ?
and below is the bot settings
screenshot_20181216_153937
thanks
sorry if my english bad

@IanBotashev
Copy link

Did you figure it out?

If not:
If i'm right, in the What can this admin do? field, Post messages is disabled, though for it to be able to send messages there it needs to be enabled for the bot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants