onPinnedMessage

suspend fun BehaviourContext.onPinnedMessage(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<PinnedMessage>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<PinnedMessage>>): Job