onRemovedChatBoost
inline fun Bot.onRemovedChatBoost(sequence: SubscribeSequence = NORMAL, crossinline processor: suspend (Event, removedChatBoost: ChatBoostRemoved) -> Unit)
Register processor for ChatBoostRemoved named REMOVED_CHAT_BOOST_NAME
Equivalent to the following:
// process or preProcess
bot.subscribe<ChatBoostRemoved>(sequence, REMOVED_CHAT_BOOST_NAME) { event, removedChatBoost ->
// ...
}
Content copied to clipboard