Type of the callback context.
Return value type.
Constructs a new ChatBoostHandler.
Type of the callback context.
Return value type.
Function invoked when the update matches.
Filter mask (ADDED, REMOVED, or ANY).
ReadonlyboostProtectedcallbackThe underlying callback function to invoke on match.
Static ReadonlyADDEDTarget only added or updated boosts (chat_boost)
Static ReadonlyANYTarget any boost event
Static ReadonlyREMOVEDTarget only removed boosts (removed_chat_boost)
Checks whether the incoming update matches the configured boost filter.
The update to test.
true if update matches.
Handler for chat boost additions and removals (
chat_boostandremoved_chat_boostupdates).Example