Annotation Interface RemovedChatBoostHandler
@Retention(RUNTIME)
@Target(METHOD)
@Repeatable(RemovedChatBoostHandlers.class)
public @interface RemovedChatBoostHandler
Annotation for handling removed chat boost events in a declarative manner.
 Designed specifically for handling events when chat boosts are removed or expire,
 providing monitoring capabilities for boost status changes and community engagement metrics.
 This annotation enables structured handling of boost removal events with
 custom filtering capabilities for processing boost expiration, voluntary removals,
 and tracking community support patterns over time.
Equivalent with using
Equivalent with using
BotClient.onRemovedChatBoost(FilterExecutor, UpdateHandler)- Since:
- 1.2.0
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionClass<? extends CustomFilter> Custom filter class for advanced filtering of removed chat boost events.intPriority order for handler registration and execution.
- 
Element Details- 
filterClass<? extends CustomFilter> filterCustom filter class for advanced filtering of removed chat boost events. Use this to implement custom logic for determining which boost removal events should trigger this handler, such as filtering by boost duration, boost level, removal reason, user demographics, or community impact metrics.- Returns:
- class implementing CustomFilterinterface
 - Default:
- io.github.natanimn.telebof.filters.DefaultCustomFilter.class
 
- 
priorityint priorityPriority order for handler registration and execution. Handlers with lower priority numbers are registered and executed before those with higher numbers.- Returns:
- priority integer value (lower = earlier execution)
 - Default:
- 0
 
 
-