Constructs a new RegexFilter.
Regular expression to test against message text or caption.
ReadonlypatternThe compiled regular expression pattern to match against.
Combines this filter with another using logical AND (&&).
The other filter to combine with.
A new combined BaseFilter.
Checks whether the message text or caption matches the pattern.
Incoming Telegram update.
true if text or caption matches.
Combines this filter with another using logical OR (||).
The other filter to combine with.
A new combined BaseFilter.
Filter that matches message text or caption against a regular expression pattern.
Populates
context.matcheswhen handled in a MessageHandler.Example