mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-23 10:38:43 +00:00
1.3 KiB
1.3 KiB
//docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/onPinnedMessage
onPinnedMessage
[common]
Content
suspend fun BehaviourContext.onPinnedMessage(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<PinnedMessage>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<PinnedMessage>>):