Skip to content

Add IS_BOT message filter - #5340

Open
rastogi-codes wants to merge 1 commit into
python-telegram-bot:masterfrom
rastogi-codes:fix-is-bot-filter
Open

Add IS_BOT message filter#5340
rastogi-codes wants to merge 1 commit into
python-telegram-bot:masterfrom
rastogi-codes:fix-is-bot-filter

Conversation

@rastogi-codes

Copy link
Copy Markdown

Summary

  • Add an IS_BOT message filter to identify messages sent by bots.
  • Add tests covering bot and non-bot messages.

Testing

  • uv run pytest tests/ext/test_filters.py -k "is_bot"
  • 1 passed, 215 deselected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant