Type of the callback context.
Return value type.
Creates a new MessageHandler.
Type of the callback context.
Return value type.
The filter condition (or null/undefined for all messages).
Function invoked when the filter matches.
ProtectedcallbackThe underlying callback function to invoke on match.
ReadonlyfiltersThe message filter applied to incoming updates.
Evaluates the update against the configured message filter.
The update to test.
true if matched, false otherwise.
Handler for filtering and processing messages.
Example