-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Forbidden: bot is not a member of the channel chat" exception #3
Comments
How do you get this? Send message to some public channel when you are not its member? |
From @tuscen on April 2, 2018 10:23 Either public or private, doesn't matter. |
I was able to test this exception in supergroup and channel, it is not thrown for regular group - ChatNotFoundException is thrown instead |
anyone can think of better a name? |
From @tuscen on April 4, 2018 13:56 It should somehow include word "channel" because it is thrown only for channels. |
From @pouladpld on April 4, 2018 14:12 If such errors happen for other chats, we could use general base and derived subclasses. |
@tuscen actually it is not true. I have test cases for both channel and supergroup: |
From @tuscen on March 14, 2018 18:59
HTTP code:
403
Error message:
Forbidden: bot is not a member of the channel chat
Copied from original issue: TelegramBots/Telegram.Bot#648
The text was updated successfully, but these errors were encountered: