ConstMatches all messages unconditionally
Matches animated GIF files
Matches any media attachment (photo, document, audio, video, voice, animation)
Matches audio music files
Matches messages containing bot command entities
Matches messages with a caption
Matches messages containing $CASHTAG symbols
Chat type filter sub-namespace
Matches messages in broadcast channels
Matches messages in standard basic groups
Matches messages in either basic groups or supergroups
Matches messages in private direct chats
Matches messages in supergroups
Matches messages starting with a bot command
Matches phone contact cards
Matches animated dice rolls
Matches document / file messages
Matches messages containing email addresses
Matches forwarded messages
Matches game messages
Matches messages containing #hashtags
Matches geographic locations
Matches messages containing @username mentions
Matches messages containing phone numbers
Matches photo messages
Matches poll messages
Matches reply messages
Chat status update filter sub-namespace
Matches any chat status update
Matches messages indicating a channel was created
Matches messages where chat photo was deleted
Matches messages indicating a group chat was created
Matches messages where a member left or was removed
Matches migration service messages with source chat ID
Matches migration service messages with target chat ID
Matches messages where new members joined or were added
Matches messages where chat photo was changed
Matches messages where chat title was changed
Matches pinned message notifications
Matches messages indicating a supergroup was created
Matches sticker messages
Matches plain text messages excluding bot commands
Matches messages containing HTTP/HTTPS web links
Matches venue locations
Matches video files
Matches round video notes
Matches voice audio notes
Creates a custom filter using an arbitrary update predicate.
Predicate function returning boolean or Promise of boolean.
A new CustomFilter.
Creates a filter matching text or caption against a regular expression.
Regular expression or pattern string.
A new RegexFilter.
Predefined update and message filter collection for message routing.