Package dev. inmo. tgbotapi. extensions. behaviour_builder. triggers_handling
Types
CommonMessageFilter
Link copied to clipboard
Functions
command
Link copied to clipboard
suspend fun BehaviourContext.command(command: String, requireOnlyCommandInMessage: Boolean = true, includeFilterByChatInBehaviourSubContext: Boolean = true, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
suspend fun BehaviourContext.command(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, includeFilterByChatInBehaviourSubContext: Boolean = true, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
onAnimation
Link copied to clipboard
suspend fun BehaviourContext.onAnimation(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<AnimationContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AnimationContent>>): Job
Content copied to clipboard
onAnyInlineQuery
Link copied to clipboard
suspend fun BehaviourContext.onAnyInlineQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (InlineQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineQuery>): Job
Content copied to clipboard
onAudio
Link copied to clipboard
suspend fun BehaviourContext.onAudio(includeFilterByChatInBehaviourSubContext: Boolean = true, includeMediaGroups: Boolean = false, additionalFilter: CommonMessageFilter<AudioContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioContent>>): Job
Content copied to clipboard
onAudioMediaGroup
Link copied to clipboard
suspend fun BehaviourContext.onAudioMediaGroup(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<AudioMediaGroupContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioMediaGroupContent>>): Job
Content copied to clipboard
onBaseInlineQuery
Link copied to clipboard
suspend fun BehaviourContext.onBaseInlineQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (BaseInlineQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, BaseInlineQuery>): Job
Content copied to clipboard
onChannelChatCreated
Link copied to clipboard
suspend fun BehaviourContext.onChannelChatCreated(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<ChannelChatCreated>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChannelChatCreated>>): Job
Content copied to clipboard
onChannelEvent
Link copied to clipboard
suspend fun BehaviourContext.onChannelEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<ChannelEvent>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChannelEvent>>): Job
Content copied to clipboard
onChatEvent
Link copied to clipboard
suspend fun BehaviourContext.onChatEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<ChatEvent>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChatEvent>>): Job
Content copied to clipboard
onChatMemberUpdated
Link copied to clipboard
suspend fun BehaviourContext.onChatMemberUpdated(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatMemberUpdated) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
Content copied to clipboard
onCommand
Link copied to clipboard
inline suspend fun BehaviourContext.onCommand(command: String, requireOnlyCommandInMessage: Boolean = true, includeFilterByChatInBehaviourSubContext: Boolean = true, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
inline suspend fun BehaviourContext.onCommand(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, includeFilterByChatInBehaviourSubContext: Boolean = true, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
onCommonChatMemberUpdated
Link copied to clipboard
suspend fun BehaviourContext.onCommonChatMemberUpdated(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatMemberUpdated) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
Content copied to clipboard
onCommonEvent
Link copied to clipboard
suspend fun BehaviourContext.onCommonEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<CommonEvent>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<CommonEvent>>): Job
Content copied to clipboard
onContact
Link copied to clipboard
suspend fun BehaviourContext.onContact(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<ContactContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<ContactContent>>): Job
Content copied to clipboard
onContentMessage
Link copied to clipboard
suspend fun BehaviourContext.onContentMessage(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<MessageContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MessageContent>>): Job
Content copied to clipboard
onDataCallbackQuery
Link copied to clipboard
suspend fun BehaviourContext.onDataCallbackQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (DataCallbackQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, DataCallbackQuery>): Job
Content copied to clipboard
onDeleteChatPhoto
Link copied to clipboard
suspend fun BehaviourContext.onDeleteChatPhoto(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<DeleteChatPhoto>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<DeleteChatPhoto>>): Job
Content copied to clipboard
onDice
Link copied to clipboard
suspend fun BehaviourContext.onDice(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<DiceContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DiceContent>>): Job
Content copied to clipboard
onDocument
Link copied to clipboard
suspend fun BehaviourContext.onDocument(includeFilterByChatInBehaviourSubContext: Boolean = true, includeMediaGroups: Boolean = false, additionalFilter: CommonMessageFilter<DocumentContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentContent>>): Job
Content copied to clipboard
onDocumentMediaGroupContent
Link copied to clipboard
suspend fun BehaviourContext.onDocumentMediaGroupContent(includeFilterByChatInBehaviourSubContext: Boolean = true, includeMediaGroups: Boolean = true, additionalFilter: CommonMessageFilter<DocumentMediaGroupContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentMediaGroupContent>>): Job
Content copied to clipboard
onDocumentsGroup
Link copied to clipboard
suspend fun BehaviourContext.onDocumentsGroup(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (List<MediaGroupMessage<DocumentMediaGroupContent>>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<DocumentMediaGroupContent>>>): Job
Content copied to clipboard
onGame
Link copied to clipboard
suspend fun BehaviourContext.onGame(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<GameContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<GameContent>>): Job
Content copied to clipboard
onGameShortNameCallbackQuery
Link copied to clipboard
suspend fun BehaviourContext.onGameShortNameCallbackQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (GameShortNameCallbackQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, GameShortNameCallbackQuery>): Job
Content copied to clipboard
onGroupChatCreated
Link copied to clipboard
suspend fun BehaviourContext.onGroupChatCreated(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<GroupChatCreated>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<GroupChatCreated>>): Job
Content copied to clipboard
onGroupEvent
Link copied to clipboard
suspend fun BehaviourContext.onGroupEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<GroupEvent>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<GroupEvent>>): Job
Content copied to clipboard
onInlineMessageIdCallbackQuery
Link copied to clipboard
suspend fun BehaviourContext.onInlineMessageIdCallbackQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (InlineMessageIdCallbackQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineMessageIdCallbackQuery>): Job
Content copied to clipboard
onInlineMessageIdDataCallbackQuery
Link copied to clipboard
suspend fun BehaviourContext.onInlineMessageIdDataCallbackQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (InlineMessageIdDataCallbackQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineMessageIdDataCallbackQuery>): Job
Content copied to clipboard
onInlineMessageIdGameShortNameCallbackQuery
Link copied to clipboard
suspend fun BehaviourContext.onInlineMessageIdGameShortNameCallbackQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (InlineMessageIdGameShortNameCallbackQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineMessageIdGameShortNameCallbackQuery>): Job
Content copied to clipboard
onInvoice
Link copied to clipboard
suspend fun BehaviourContext.onInvoice(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<InvoiceContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<InvoiceContent>>): Job
Content copied to clipboard
onLeftChatMember
Link copied to clipboard
suspend fun BehaviourContext.onLeftChatMember(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<LeftChatMember>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<LeftChatMember>>): Job
Content copied to clipboard
onLocation
Link copied to clipboard
suspend fun BehaviourContext.onLocation(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<LocationContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<LocationContent>>): Job
Content copied to clipboard
onLocationInlineQuery
Link copied to clipboard
suspend fun BehaviourContext.onLocationInlineQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (LocationInlineQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, LocationInlineQuery>): Job
Content copied to clipboard
onMedia
Link copied to clipboard
suspend fun BehaviourContext.onMedia(includeFilterByChatInBehaviourSubContext: Boolean = true, includeMediaGroups: Boolean = true, additionalFilter: CommonMessageFilter<MediaContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MediaContent>>): Job
Content copied to clipboard
onMediaCollection
Link copied to clipboard
suspend fun BehaviourContext.onMediaCollection(includeFilterByChatInBehaviourSubContext: Boolean = true, includeMediaGroups: Boolean = false, additionalFilter: suspend (CommonMessage<MediaCollectionContent<TelegramMediaFile>>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MediaCollectionContent<TelegramMediaFile>>>): Job
Content copied to clipboard
onMediaGroup
Link copied to clipboard
suspend fun BehaviourContext.onMediaGroup(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (List<MediaGroupMessage<MediaGroupContent>>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<MediaGroupContent>>>): Job
Content copied to clipboard
onMessageAutoDeleteTimerChangedEvent
Link copied to clipboard
suspend fun BehaviourContext.onMessageAutoDeleteTimerChangedEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<MessageAutoDeleteTimerChanged>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<MessageAutoDeleteTimerChanged>>): Job
Content copied to clipboard
onMessageCallbackQuery
Link copied to clipboard
suspend fun BehaviourContext.onMessageCallbackQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (MessageCallbackQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageCallbackQuery>): Job
Content copied to clipboard
onMessageDataCallbackQuery
Link copied to clipboard
suspend fun BehaviourContext.onMessageDataCallbackQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (MessageDataCallbackQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageDataCallbackQuery>): Job
Content copied to clipboard
onMessageGameShortNameCallbackQuery
Link copied to clipboard
suspend fun BehaviourContext.onMessageGameShortNameCallbackQuery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (MessageGameShortNameCallbackQuery) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageGameShortNameCallbackQuery>): Job
Content copied to clipboard
onMyChatMemberUpdated
Link copied to clipboard
suspend fun BehaviourContext.onMyChatMemberUpdated(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatMemberUpdated) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
Content copied to clipboard
onNewChatMembers
Link copied to clipboard
suspend fun BehaviourContext.onNewChatMembers(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<NewChatMembers>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatMembers>>): Job
Content copied to clipboard
onNewChatPhoto
Link copied to clipboard
suspend fun BehaviourContext.onNewChatPhoto(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<NewChatPhoto>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatPhoto>>): Job
Content copied to clipboard
onNewChatTitle
Link copied to clipboard
suspend fun BehaviourContext.onNewChatTitle(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<NewChatTitle>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatTitle>>): Job
Content copied to clipboard
onPassportMessage
Link copied to clipboard
suspend fun BehaviourContext.onPassportMessage(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (PassportMessage) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, PassportMessage>): Job
Content copied to clipboard
onPassportMessageWith
Link copied to clipboard
inline suspend fun <T : EncryptedPassportElement> BehaviourContext.onPassportMessageWith(includeFilterByChatInBehaviourSubContext: Boolean = true, noinline additionalFilter: suspend (PassportMessage) -> Boolean? = null, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, PassportMessage>): Job
Content copied to clipboard
onPhoto
Link copied to clipboard
suspend fun BehaviourContext.onPhoto(includeFilterByChatInBehaviourSubContext: Boolean = true, includeMediaGroups: Boolean = false, additionalFilter: CommonMessageFilter<PhotoContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PhotoContent>>): Job
Content copied to clipboard
onPhotoGallery
Link copied to clipboard
suspend fun BehaviourContext.onPhotoGallery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (List<MediaGroupMessage<PhotoContent>>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<PhotoContent>>>): Job
Content copied to clipboard
onPinnedMessage
Link copied to clipboard
suspend fun BehaviourContext.onPinnedMessage(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<PinnedMessage>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<PinnedMessage>>): Job
Content copied to clipboard
onPlaylist
Link copied to clipboard
suspend fun BehaviourContext.onPlaylist(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (List<MediaGroupMessage<AudioMediaGroupContent>>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<AudioMediaGroupContent>>>): Job
Content copied to clipboard
onPoll
Link copied to clipboard
suspend fun BehaviourContext.onPoll(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<PollContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PollContent>>): Job
Content copied to clipboard
onProximityAlertTriggered
Link copied to clipboard
suspend fun BehaviourContext.onProximityAlertTriggered(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<ProximityAlertTriggered>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ProximityAlertTriggered>>): Job
Content copied to clipboard
onSticker
Link copied to clipboard
suspend fun BehaviourContext.onSticker(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<StickerContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<StickerContent>>): Job
Content copied to clipboard
onSupergroupChatCreated
Link copied to clipboard
suspend fun BehaviourContext.onSupergroupChatCreated(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<SupergroupChatCreated>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<SupergroupChatCreated>>): Job
Content copied to clipboard
onSupergroupEvent
Link copied to clipboard
suspend fun BehaviourContext.onSupergroupEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<SupergroupEvent>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<SupergroupEvent>>): Job
Content copied to clipboard
onText
Link copied to clipboard
suspend fun BehaviourContext.onText(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<TextContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
onUnknownCallbackQueryType
Link copied to clipboard
suspend fun BehaviourContext.onUnknownCallbackQueryType(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (UnknownCallbackQueryType) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, UnknownCallbackQueryType>): Job
Content copied to clipboard
onVenue
Link copied to clipboard
suspend fun BehaviourContext.onVenue(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<VenueContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VenueContent>>): Job
Content copied to clipboard
onVideo
Link copied to clipboard
suspend fun BehaviourContext.onVideo(includeFilterByChatInBehaviourSubContext: Boolean = true, includeMediaGroups: Boolean = false, additionalFilter: CommonMessageFilter<VideoContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoContent>>): Job
Content copied to clipboard
onVideoGallery
Link copied to clipboard
suspend fun BehaviourContext.onVideoGallery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (List<MediaGroupMessage<VideoContent>>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VideoContent>>>): Job
Content copied to clipboard
onVideoNote
Link copied to clipboard
suspend fun BehaviourContext.onVideoNote(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<VideoNoteContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoNoteContent>>): Job
Content copied to clipboard
onVisualGallery
Link copied to clipboard
suspend fun BehaviourContext.onVisualGallery(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (List<MediaGroupMessage<VisualMediaGroupContent>>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VisualMediaGroupContent>>>): Job
Content copied to clipboard
onVisualMediaGroup
Link copied to clipboard
suspend fun BehaviourContext.onVisualMediaGroup(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (List<MediaGroupMessage<VisualMediaGroupContent>>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VisualMediaGroupContent>>>): Job
Content copied to clipboard
onVoice
Link copied to clipboard
suspend fun BehaviourContext.onVoice(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: CommonMessageFilter<VoiceContent>? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VoiceContent>>): Job
Content copied to clipboard
onVoiceChatEndedEvent
Link copied to clipboard
suspend fun BehaviourContext.onVoiceChatEndedEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<VoiceChatEnded>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatEnded>>): Job
Content copied to clipboard
onVoiceChatEvent
Link copied to clipboard
suspend fun BehaviourContext.onVoiceChatEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<VoiceChatEvent>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatEvent>>): Job
Content copied to clipboard
onVoiceChatParticipantsInvitedEvent
Link copied to clipboard
suspend fun BehaviourContext.onVoiceChatParticipantsInvitedEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<VoiceChatParticipantsInvited>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatParticipantsInvited>>): Job
Content copied to clipboard
onVoiceChatStartedEvent
Link copied to clipboard
suspend fun BehaviourContext.onVoiceChatStartedEvent(includeFilterByChatInBehaviourSubContext: Boolean = true, additionalFilter: suspend (ChatEventMessage<VoiceChatStarted>) -> Boolean? = null, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatStarted>>): Job
Content copied to clipboard