Replies: 6 comments 2 replies
-
Hi. Please double check that your bot is a member of that chat. Note that bots can only be members of a channel if they are admin in that channel. To double check the |
Beta Was this translation helpful? Give feedback.
-
Hi, you need to add "-" as prefix for your chat id, for example if chat id is 12345, you need to add -12345 |
Beta Was this translation helpful? Give feedback.
-
@Bibo-Joshi
|
Beta Was this translation helpful? Give feedback.
-
You are one of the participants in this issue. That's the reason of me mentioning you. |
Beta Was this translation helpful? Give feedback.
-
I got the same issue too and didn't know how to resolve it. |
Beta Was this translation helpful? Give feedback.
-
I resolved the issue. I found the previous channel id was incorrect. I issued the following command:
and check the id is -1002XXXXXXX under the channel name |
Beta Was this translation helpful? Give feedback.
-
After installed
python-telegram-bot
, I ran a simple script as bellow:I got an error
telegram.error.BadRequest: Chat not found
Someone please help me.
I checked the channel ID and I think it's correct. I copied the message link from the channel then got the channel ID from this URL.
Beta Was this translation helpful? Give feedback.
All reactions