Check bot blocked exception #2268
ranjitsingha
started this conversation in
General
Replies: 1 comment
-
Use the description of the exception to distinguish between blocked user and other errors |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please answer these questions before submitting your issue. Thanks!
What version of pyTelegramBotAPI are you using? Ans: Latest
What OS are you using? Ans : Latest
What version of python are you using? Ans : 3.10
Is there any exception method by which i can check the bot was blocked by user.
Example: except BotBlockedException as e:
Beta Was this translation helpful? Give feedback.
All reactions