Skip to content

Check bot blocked exception #2266

@ranjitsingha

Description

@ranjitsingha

Please answer these questions before submitting your issue. Thanks!

  1. What version of pyTelegramBotAPI are you using? Ans: Latest

  2. What OS are you using? Ans : Latest

  3. 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions