# dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling

docs

# Package dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling

## Types

CommonMessageFilter
Link copied to clipboard
typealias CommonMessageFilter < T > = SimpleFilter < CommonMessage < T >>
Content copied to clipboard

## Functions

command
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . command ( command: String , requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < TextContent >>): Job
Content copied to clipboard
suspend fun < BC : BehaviourContext > BC . command ( commandRegex: Regex , requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < TextContent >>): Job
Content copied to clipboard
commandWithArgs
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . commandWithArgs ( command: String , initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTwoTypesReceiver < BC , Unit , CommonMessage < TextContent >, Array < String >>): Job
Content copied to clipboard
suspend fun < BC : BehaviourContext > BC . commandWithArgs ( commandRegex: Regex , initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTwoTypesReceiver < BC , Unit , CommonMessage < TextContent >, Array < String >>): Job
Content copied to clipboard
onAnimation
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onAnimation ( initialFilter: CommonMessageFilter < AnimationContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < AnimationContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < AnimationContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < AnimationContent >>): Job
Content copied to clipboard
onAnyInlineQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onAnyInlineQuery ( initialFilter: SimpleFilter < InlineQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , InlineQuery , Update >? = InlineQueryFilterByUser, markerFactory: MarkerFactory <in InlineQuery , Any > = ByUserInlineQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , InlineQuery >): Job
Content copied to clipboard
onAudio
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onAudio ( initialFilter: CommonMessageFilter < AudioContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < AudioContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < AudioContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < AudioContent >>): Job
Content copied to clipboard
onAudioMediaGroup
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onAudioMediaGroup ( initialFilter: CommonMessageFilter < AudioMediaGroupContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < AudioMediaGroupContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < AudioMediaGroupContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < AudioMediaGroupContent >>): Job
Content copied to clipboard
onBaseChosenInlineResult
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onBaseChosenInlineResult ( initialFilter: SimpleFilter < BaseChosenInlineResult >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , BaseChosenInlineResult , Update >? = null, markerFactory: MarkerFactory <in BaseChosenInlineResult , Any > = ByUserIdChosenInlineResultMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , BaseChosenInlineResult >): Job
Content copied to clipboard
onBaseInlineQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onBaseInlineQuery ( initialFilter: SimpleFilter < BaseInlineQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , BaseInlineQuery , Update >? = InlineQueryFilterByUser, markerFactory: MarkerFactory <in BaseInlineQuery , Any > = ByUserInlineQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , BaseInlineQuery >): Job
Content copied to clipboard
onChannelChatCreated
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onChannelChatCreated ( initialFilter: SimpleFilter < ChatEventMessage < ChannelChatCreated >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < ChannelChatCreated >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < ChannelChatCreated >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < ChannelChatCreated >>): Job
Content copied to clipboard
onChannelEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onChannelEvent ( initialFilter: SimpleFilter < ChatEventMessage < ChannelEvent >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < ChannelEvent >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < ChannelEvent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < ChannelEvent >>): Job
Content copied to clipboard
onChatEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onChatEvent ( initialFilter: SimpleFilter < ChatEventMessage < ChatEvent >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < ChatEvent >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < ChatEvent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < ChatEvent >>): Job
Content copied to clipboard
onChatJoinRequest
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onChatJoinRequest ( initialFilter: SimpleFilter < ChatJoinRequest >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatJoinRequest , Update >? = ChatJoinRequestFilterByChat, markerFactory: MarkerFactory <in ChatJoinRequest , Any > = ByChatChatJoinRequestMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatJoinRequest >): Job
Content copied to clipboard

Please, remember that your bot must have `can_invite_users` to receive these requests

onChatMemberUpdated
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onChatMemberUpdated ( initialFilter: SimpleFilter < ChatMemberUpdated >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatMemberUpdated , Update >? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory < ChatMemberUpdated , Any > = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatMemberUpdated >): Job
Content copied to clipboard
onChosenInlineResult
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onChosenInlineResult ( initialFilter: SimpleFilter < ChosenInlineResult >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChosenInlineResult , Update >? = null, markerFactory: MarkerFactory <in ChosenInlineResult , Any > = ByUserIdChosenInlineResultMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChosenInlineResult >): Job
Content copied to clipboard
onCommand
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onCommand ( command: String , requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < TextContent >>): Job
Content copied to clipboard
suspend fun < BC : BehaviourContext > BC . onCommand ( commandRegex: Regex , requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < TextContent >>): Job
Content copied to clipboard
onCommandWithArgs
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onCommandWithArgs ( command: String , initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTwoTypesReceiver < BC , Unit , CommonMessage < TextContent >, Array < String >>): Job
Content copied to clipboard
suspend fun < BC : BehaviourContext > BC . onCommandWithArgs ( commandRegex: Regex , initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTwoTypesReceiver < BC , Unit , CommonMessage < TextContent >, Array < String >>): Job
Content copied to clipboard
onCommonChatMemberUpdated
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onCommonChatMemberUpdated ( initialFilter: SimpleFilter < ChatMemberUpdated >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatMemberUpdated , Update >? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory < ChatMemberUpdated , Any > = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatMemberUpdated >): Job
Content copied to clipboard
onCommonEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onCommonEvent ( initialFilter: SimpleFilter < ChatEventMessage < CommonEvent >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < CommonEvent >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < CommonEvent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < CommonEvent >>): Job
Content copied to clipboard
onContact
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onContact ( initialFilter: CommonMessageFilter < ContactContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < ContactContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < ContactContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < ContactContent >>): Job
Content copied to clipboard
onContentMessage
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onContentMessage ( initialFilter: CommonMessageFilter < MessageContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < MessageContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < MessageContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < MessageContent >>): Job
Content copied to clipboard
onDataCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onDataCallbackQuery ( initialFilter: SimpleFilter < DataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , DataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in DataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , DataCallbackQuery >): Job
Content copied to clipboard
suspend fun < BC : BehaviourContext > BC . onDataCallbackQuery ( data: String , initialFilter: SimpleFilter < DataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , DataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in DataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , DataCallbackQuery >): Job
Content copied to clipboard
suspend fun < BC : BehaviourContext > BC . onDataCallbackQuery ( dataRegex: Regex , initialFilter: SimpleFilter < DataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , DataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in DataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , DataCallbackQuery >): Job
Content copied to clipboard
onDeleteChatPhoto
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onDeleteChatPhoto ( initialFilter: SimpleFilter < ChatEventMessage < DeleteChatPhoto >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < DeleteChatPhoto >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < DeleteChatPhoto >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < DeleteChatPhoto >>): Job
Content copied to clipboard
onDice
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onDice ( initialFilter: CommonMessageFilter < DiceContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < DiceContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < DiceContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < DiceContent >>): Job
Content copied to clipboard
onDocument
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onDocument ( initialFilter: CommonMessageFilter < DocumentContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < DocumentContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < DocumentContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < DocumentContent >>): Job
Content copied to clipboard
onDocumentMediaGroupContent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onDocumentMediaGroupContent ( initialFilter: CommonMessageFilter < DocumentMediaGroupContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < DocumentMediaGroupContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < DocumentMediaGroupContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < DocumentMediaGroupContent >>): Job
Content copied to clipboard
onDocumentsGroup
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onDocumentsGroup ( initialFilter: SimpleFilter < List < MediaGroupMessage < DocumentMediaGroupContent >>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , List < MediaGroupMessage < DocumentMediaGroupContent >>, Update >? = MessagesFilterByChat, markerFactory: MarkerFactory <in List < MediaGroupMessage < DocumentMediaGroupContent >>, Any > = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , List < MediaGroupMessage < DocumentMediaGroupContent >>>): Job
Content copied to clipboard
onEditedAnimation
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedAnimation ( initialFilter: CommonMessageFilter < AnimationContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < AnimationContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < AnimationContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < AnimationContent >>): Job
Content copied to clipboard
onEditedAudio
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedAudio ( initialFilter: CommonMessageFilter < AudioContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < AudioContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < AudioContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < AudioContent >>): Job
Content copied to clipboard
onEditedAudioMediaGroup
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedAudioMediaGroup ( initialFilter: CommonMessageFilter < AudioMediaGroupContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < AudioMediaGroupContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < AudioMediaGroupContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < AudioMediaGroupContent >>): Job
Content copied to clipboard
onEditedContact
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedContact ( initialFilter: CommonMessageFilter < ContactContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < ContactContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < ContactContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < ContactContent >>): Job
Content copied to clipboard
onEditedContentMessage
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedContentMessage ( initialFilter: CommonMessageFilter < MessageContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < MessageContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < MessageContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < MessageContent >>): Job
Content copied to clipboard
onEditedDice
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedDice ( initialFilter: CommonMessageFilter < DiceContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < DiceContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < DiceContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < DiceContent >>): Job
Content copied to clipboard
onEditedDocument
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedDocument ( initialFilter: CommonMessageFilter < DocumentContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < DocumentContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < DocumentContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < DocumentContent >>): Job
Content copied to clipboard
onEditedDocumentMediaGroupContent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedDocumentMediaGroupContent ( initialFilter: CommonMessageFilter < DocumentMediaGroupContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < DocumentMediaGroupContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < DocumentMediaGroupContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < DocumentMediaGroupContent >>): Job
Content copied to clipboard
onEditedGame
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedGame ( initialFilter: CommonMessageFilter < GameContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < GameContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < GameContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < GameContent >>): Job
Content copied to clipboard
onEditedInvoice
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedInvoice ( initialFilter: CommonMessageFilter < InvoiceContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < InvoiceContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < InvoiceContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < InvoiceContent >>): Job
Content copied to clipboard
onEditedLocation
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedLocation ( initialFilter: CommonMessageFilter < LocationContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < LocationContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < LocationContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < LocationContent >>): Job
Content copied to clipboard
onEditedMedia
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedMedia ( initialFilter: CommonMessageFilter < MediaContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < MediaContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < MediaContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < MediaContent >>): Job
Content copied to clipboard
onEditedMediaCollection
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedMediaCollection ( initialFilter: CommonMessageFilter < MediaCollectionContent < TelegramMediaFile >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < MediaCollectionContent < TelegramMediaFile >>, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < MediaCollectionContent < TelegramMediaFile >>, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < MediaCollectionContent < TelegramMediaFile >>>): Job
Content copied to clipboard
onEditedPhoto
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedPhoto ( initialFilter: CommonMessageFilter < PhotoContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < PhotoContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < PhotoContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < PhotoContent >>): Job
Content copied to clipboard
onEditedSticker
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedSticker ( initialFilter: CommonMessageFilter < StickerContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < StickerContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < StickerContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < StickerContent >>): Job
Content copied to clipboard
onEditedText
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedText ( initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < TextContent >>): Job
Content copied to clipboard
onEditedTextedMediaContent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedTextedMediaContent ( initialFilter: CommonMessageFilter < TextedMediaContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextedMediaContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextedMediaContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < TextedMediaContent >>): Job
Content copied to clipboard
onEditedVenue
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedVenue ( initialFilter: CommonMessageFilter < VenueContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < VenueContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < VenueContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < VenueContent >>): Job
Content copied to clipboard
onEditedVideo
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedVideo ( initialFilter: CommonMessageFilter < VideoContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < VideoContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < VideoContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < VideoContent >>): Job
Content copied to clipboard
onEditedVideoNote
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedVideoNote ( initialFilter: CommonMessageFilter < VideoNoteContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < VideoNoteContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < VideoNoteContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < VideoNoteContent >>): Job
Content copied to clipboard
onEditedVoice
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onEditedVoice ( initialFilter: CommonMessageFilter < VoiceContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < VoiceContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < VoiceContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < VoiceContent >>): Job
Content copied to clipboard
onGame
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onGame ( initialFilter: CommonMessageFilter < GameContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < GameContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < GameContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < GameContent >>): Job
Content copied to clipboard
onGameShortNameCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onGameShortNameCallbackQuery ( initialFilter: SimpleFilter < GameShortNameCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , GameShortNameCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in GameShortNameCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , GameShortNameCallbackQuery >): Job
Content copied to clipboard
onGroupChatCreated
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onGroupChatCreated ( initialFilter: SimpleFilter < ChatEventMessage < GroupChatCreated >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < GroupChatCreated >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < GroupChatCreated >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < GroupChatCreated >>): Job
Content copied to clipboard
onGroupEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onGroupEvent ( initialFilter: SimpleFilter < ChatEventMessage < GroupEvent >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < GroupEvent >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < GroupEvent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < GroupEvent >>): Job
Content copied to clipboard
onInlineMessageIdCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onInlineMessageIdCallbackQuery ( initialFilter: SimpleFilter < InlineMessageIdCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , InlineMessageIdCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in InlineMessageIdCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , InlineMessageIdCallbackQuery >): Job
Content copied to clipboard
onInlineMessageIdDataCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onInlineMessageIdDataCallbackQuery ( initialFilter: SimpleFilter < InlineMessageIdDataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , InlineMessageIdDataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in InlineMessageIdDataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , InlineMessageIdDataCallbackQuery >): Job
Content copied to clipboard
suspend fun < BC : BehaviourContext > BC . onInlineMessageIdDataCallbackQuery ( data: String , initialFilter: SimpleFilter < InlineMessageIdDataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , InlineMessageIdDataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in InlineMessageIdDataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , InlineMessageIdDataCallbackQuery >): Job
Content copied to clipboard
suspend fun < BC : BehaviourContext > BC . onInlineMessageIdDataCallbackQuery ( dataRegex: Regex , initialFilter: SimpleFilter < InlineMessageIdDataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , InlineMessageIdDataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in InlineMessageIdDataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , InlineMessageIdDataCallbackQuery >): Job
Content copied to clipboard
onInlineMessageIdGameShortNameCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onInlineMessageIdGameShortNameCallbackQuery ( initialFilter: SimpleFilter < InlineMessageIdGameShortNameCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , InlineMessageIdGameShortNameCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in InlineMessageIdGameShortNameCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , InlineMessageIdGameShortNameCallbackQuery >): Job
Content copied to clipboard
onInvoice
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onInvoice ( initialFilter: CommonMessageFilter < InvoiceContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < InvoiceContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < InvoiceContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < InvoiceContent >>): Job
Content copied to clipboard
onLeftChatMember
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onLeftChatMember ( initialFilter: SimpleFilter < ChatEventMessage < LeftChatMember >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < LeftChatMember >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < LeftChatMember >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < LeftChatMember >>): Job
Content copied to clipboard
onLiveLocation
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onLiveLocation ( initialFilter: CommonMessageFilter < LiveLocationContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < LiveLocationContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < LiveLocationContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < LiveLocationContent >>): Job
Content copied to clipboard
onLocation
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onLocation ( initialFilter: CommonMessageFilter < LocationContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < LocationContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < LocationContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < LocationContent >>): Job
Content copied to clipboard
onLocationChosenInlineResult
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onLocationChosenInlineResult ( initialFilter: SimpleFilter < LocationChosenInlineResult >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , LocationChosenInlineResult , Update >? = null, markerFactory: MarkerFactory <in LocationChosenInlineResult , Any > = ByUserIdChosenInlineResultMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , LocationChosenInlineResult >): Job
Content copied to clipboard
onLocationInlineQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onLocationInlineQuery ( initialFilter: SimpleFilter < LocationInlineQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , LocationInlineQuery , Update >? = InlineQueryFilterByUser, markerFactory: MarkerFactory <in LocationInlineQuery , Any > = ByUserInlineQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , LocationInlineQuery >): Job
Content copied to clipboard
onMedia
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onMedia ( initialFilter: CommonMessageFilter < MediaContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < MediaContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < MediaContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < MediaContent >>): Job
Content copied to clipboard
onMediaCollection
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onMediaCollection ( initialFilter: CommonMessageFilter < MediaCollectionContent < TelegramMediaFile >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < MediaCollectionContent < TelegramMediaFile >>, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < MediaCollectionContent < TelegramMediaFile >>, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < MediaCollectionContent < TelegramMediaFile >>>): Job
Content copied to clipboard
onMediaGroup
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onMediaGroup ( initialFilter: SimpleFilter < List < MediaGroupMessage < MediaGroupContent >>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , List < MediaGroupMessage < MediaGroupContent >>, Update >? = MessagesFilterByChat, markerFactory: MarkerFactory <in List < MediaGroupMessage < MediaGroupContent >>, Any > = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , List < MediaGroupMessage < MediaGroupContent >>>): Job
Content copied to clipboard
onMessageAutoDeleteTimerChangedEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onMessageAutoDeleteTimerChangedEvent ( initialFilter: SimpleFilter < ChatEventMessage < MessageAutoDeleteTimerChanged >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < MessageAutoDeleteTimerChanged >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < MessageAutoDeleteTimerChanged >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < MessageAutoDeleteTimerChanged >>): Job
Content copied to clipboard
onMessageCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onMessageCallbackQuery ( initialFilter: SimpleFilter < MessageCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , MessageCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in MessageCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , MessageCallbackQuery >): Job
Content copied to clipboard
onMessageDataCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onMessageDataCallbackQuery ( initialFilter: SimpleFilter < MessageDataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , MessageDataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in MessageDataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , MessageDataCallbackQuery >): Job
Content copied to clipboard
suspend fun < BC : BehaviourContext > BC . onMessageDataCallbackQuery ( data: String , initialFilter: SimpleFilter < MessageDataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , MessageDataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in MessageDataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , MessageDataCallbackQuery >): Job
Content copied to clipboard
suspend fun < BC : BehaviourContext > BC . onMessageDataCallbackQuery ( dataRegex: Regex , initialFilter: SimpleFilter < MessageDataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , MessageDataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in MessageDataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , MessageDataCallbackQuery >): Job
Content copied to clipboard
onMessageGameShortNameCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onMessageGameShortNameCallbackQuery ( initialFilter: SimpleFilter < MessageGameShortNameCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , MessageGameShortNameCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in MessageGameShortNameCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , MessageGameShortNameCallbackQuery >): Job
Content copied to clipboard
onMyChatMemberUpdated
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onMyChatMemberUpdated ( initialFilter: SimpleFilter < ChatMemberUpdated >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatMemberUpdated , Update >? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory < ChatMemberUpdated , Any > = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatMemberUpdated >): Job
Content copied to clipboard
onNewChatMembers
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onNewChatMembers ( initialFilter: SimpleFilter < ChatEventMessage < NewChatMembers >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < NewChatMembers >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < NewChatMembers >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < NewChatMembers >>): Job
Content copied to clipboard
onNewChatPhoto
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onNewChatPhoto ( initialFilter: SimpleFilter < ChatEventMessage < NewChatPhoto >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < NewChatPhoto >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < NewChatPhoto >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < NewChatPhoto >>): Job
Content copied to clipboard
onNewChatTitle
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onNewChatTitle ( initialFilter: SimpleFilter < ChatEventMessage < NewChatTitle >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < NewChatTitle >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < NewChatTitle >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < NewChatTitle >>): Job
Content copied to clipboard
onPassportMessage
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPassportMessage ( initialFilter: SimpleFilter < PassportMessage >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , PassportMessage , Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in PassportMessage , Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , PassportMessage >): Job
Content copied to clipboard
onPhoto
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPhoto ( initialFilter: CommonMessageFilter < PhotoContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < PhotoContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < PhotoContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < PhotoContent >>): Job
Content copied to clipboard
onPhotoGallery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPhotoGallery ( initialFilter: SimpleFilter < List < MediaGroupMessage < PhotoContent >>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , List < MediaGroupMessage < PhotoContent >>, Update >? = MessagesFilterByChat, markerFactory: MarkerFactory <in List < MediaGroupMessage < PhotoContent >>, Any > = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , List < MediaGroupMessage < PhotoContent >>>): Job
Content copied to clipboard
onPinnedMessage
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPinnedMessage ( initialFilter: SimpleFilter < ChatEventMessage < PinnedMessage >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < PinnedMessage >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < PinnedMessage >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < PinnedMessage >>): Job
Content copied to clipboard
onPlaylist
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPlaylist ( initialFilter: SimpleFilter < List < MediaGroupMessage < AudioMediaGroupContent >>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , List < MediaGroupMessage < AudioMediaGroupContent >>, Update >? = MessagesFilterByChat, markerFactory: MarkerFactory <in List < MediaGroupMessage < AudioMediaGroupContent >>, Any > = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , List < MediaGroupMessage < AudioMediaGroupContent >>>): Job
Content copied to clipboard
onPoll
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPoll ( initialFilter: CommonMessageFilter < PollContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < PollContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < PollContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < PollContent >>): Job
Content copied to clipboard
onPollAnswer
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPollAnswer ( initialFilter: SimpleFilter < PollAnswer >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , PollAnswer , Update >? = null, markerFactory: MarkerFactory <in PollAnswer , Any > = ByIdPollAnswerMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , PollAnswer >): Job
Content copied to clipboard
onPollUpdates
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPollUpdates ( initialFilter: SimpleFilter < Poll >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , Poll , Update >? = null, markerFactory: MarkerFactory <in Poll , Any > = ByIdPollMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , Poll >): Job
Content copied to clipboard
onPreCheckoutQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPreCheckoutQuery ( initialFilter: SimpleFilter < PreCheckoutQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , PreCheckoutQuery , Update >? = PreCheckoutQueryFilterByUser, markerFactory: MarkerFactory <in PreCheckoutQuery , Any > = ByUserPreCheckoutQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , PreCheckoutQuery >): Job
Content copied to clipboard

Please, remember that you must answer to this type of queries using something like dev.inmo.tgbotapi.extensions.api.answers.payments.answerPreCheckoutQueryOk or dev.inmo.tgbotapi.extensions.api.answers.payments.answerPreCheckoutQueryError

onPrivateEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPrivateEvent ( initialFilter: SimpleFilter < ChatEventMessage < PrivateEvent >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < PrivateEvent >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < PrivateEvent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < PrivateEvent >>): Job
Content copied to clipboard
onProximityAlertTriggered
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onProximityAlertTriggered ( initialFilter: SimpleFilter < ChatEventMessage < ProximityAlertTriggered >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < ProximityAlertTriggered >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < ProximityAlertTriggered >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < ProximityAlertTriggered >>): Job
Content copied to clipboard
onPublicChatEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onPublicChatEvent ( initialFilter: SimpleFilter < ChatEventMessage < PublicChatEvent >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < PublicChatEvent >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < PublicChatEvent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < PublicChatEvent >>): Job
Content copied to clipboard
onQuizPollUpdates
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onQuizPollUpdates ( initialFilter: SimpleFilter < QuizPoll >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , QuizPoll , Update >? = null, markerFactory: MarkerFactory <in QuizPoll , Any > = ByIdPollMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , QuizPoll >): Job
Content copied to clipboard
onRegularPollUpdates
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onRegularPollUpdates ( initialFilter: SimpleFilter < RegularPoll >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , RegularPoll , Update >? = null, markerFactory: MarkerFactory <in RegularPoll , Any > = ByIdPollMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , RegularPoll >): Job
Content copied to clipboard
onShippingQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onShippingQuery ( initialFilter: SimpleFilter < ShippingQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ShippingQuery , Update >? = ShippingQueryFilterByUser, markerFactory: MarkerFactory <in ShippingQuery , Any > = ByUserShippingQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ShippingQuery >): Job
Content copied to clipboard

Please, remember that you must answer to this type of queries using something like dev.inmo.tgbotapi.extensions.api.answers.payments.answerShippingQueryOk or dev.inmo.tgbotapi.extensions.api.answers.payments.answerShippingQueryError

onStaticLocation
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onStaticLocation ( initialFilter: CommonMessageFilter < StaticLocationContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < StaticLocationContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < StaticLocationContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < StaticLocationContent >>): Job
Content copied to clipboard
onSticker
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onSticker ( initialFilter: CommonMessageFilter < StickerContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < StickerContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < StickerContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < StickerContent >>): Job
Content copied to clipboard
onSuccessfulPayment
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onSuccessfulPayment ( initialFilter: SimpleFilter < ChatEventMessage < SuccessfulPaymentEvent >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < SuccessfulPaymentEvent >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < SuccessfulPaymentEvent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < SuccessfulPaymentEvent >>): Job
Content copied to clipboard

Please, remember that SuccessfulPaymentEvent will be retrieved only in case you will correctly handle dev.inmo.tgbotapi.types.payments.PreCheckoutQuery (via onPreCheckoutQuery, for example)

onSupergroupChatCreated
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onSupergroupChatCreated ( initialFilter: SimpleFilter < ChatEventMessage < SupergroupChatCreated >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < SupergroupChatCreated >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < SupergroupChatCreated >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < SupergroupChatCreated >>): Job
Content copied to clipboard
onSupergroupEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onSupergroupEvent ( initialFilter: SimpleFilter < ChatEventMessage < SupergroupEvent >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < SupergroupEvent >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < SupergroupEvent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < SupergroupEvent >>): Job
Content copied to clipboard
onText
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onText ( initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < TextContent >>): Job
Content copied to clipboard
onTextedMediaContent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onTextedMediaContent ( initialFilter: CommonMessageFilter < TextedMediaContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextedMediaContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextedMediaContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < TextedMediaContent >>): Job
Content copied to clipboard
onUnhandledCommand
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onUnhandledCommand ( requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < TextContent >>): Job
Content copied to clipboard
onUnhandledCommandWithArgs
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onUnhandledCommandWithArgs ( initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTwoTypesReceiver < BC , Unit , CommonMessage < TextContent >, Map < String , Array < String >>>): Job
Content copied to clipboard
onUnhandledDataCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onUnhandledDataCallbackQuery ( initialFilter: SimpleFilter < DataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , DataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in DataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , DataCallbackQuery >): Job
Content copied to clipboard
onUnhandledInlineMessageIdDataCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onUnhandledInlineMessageIdDataCallbackQuery ( initialFilter: SimpleFilter < InlineMessageIdDataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , InlineMessageIdDataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in InlineMessageIdDataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , InlineMessageIdDataCallbackQuery >): Job
Content copied to clipboard
onUnhandledMessageDataCallbackQuery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onUnhandledMessageDataCallbackQuery ( initialFilter: SimpleFilter < MessageDataCallbackQuery >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , MessageDataCallbackQuery , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in MessageDataCallbackQuery , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , MessageDataCallbackQuery >): Job
Content copied to clipboard
onUnknownCallbackQueryType
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onUnknownCallbackQueryType ( initialFilter: SimpleFilter < UnknownCallbackQueryType >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , UnknownCallbackQueryType , Update >? = CallbackQueryFilterByUser, markerFactory: MarkerFactory <in UnknownCallbackQueryType , Any > = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , UnknownCallbackQueryType >): Job
Content copied to clipboard
onUserLoggedIn
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onUserLoggedIn ( initialFilter: SimpleFilter < ChatEventMessage < UserLoggedIn >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < UserLoggedIn >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < UserLoggedIn >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < UserLoggedIn >>): Job
Content copied to clipboard
onVenue
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVenue ( initialFilter: CommonMessageFilter < VenueContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < VenueContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < VenueContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < VenueContent >>): Job
Content copied to clipboard
onVideo
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVideo ( initialFilter: CommonMessageFilter < VideoContent >? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < VideoContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < VideoContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < VideoContent >>): Job
Content copied to clipboard
onVideoChatEndedEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVideoChatEndedEvent ( initialFilter: SimpleFilter < ChatEventMessage < VideoChatEnded >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < VideoChatEnded >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < VideoChatEnded >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < VideoChatEnded >>): Job
Content copied to clipboard
onVideoChatEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVideoChatEvent ( initialFilter: SimpleFilter < ChatEventMessage < VideoChatEvent >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < VideoChatEvent >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < VideoChatEvent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < VideoChatEvent >>): Job
Content copied to clipboard
onVideoChatParticipantsInvitedEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVideoChatParticipantsInvitedEvent ( initialFilter: SimpleFilter < ChatEventMessage < VideoChatParticipantsInvited >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < VideoChatParticipantsInvited >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < VideoChatParticipantsInvited >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < VideoChatParticipantsInvited >>): Job
Content copied to clipboard
onVideoChatStartedEvent
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVideoChatStartedEvent ( initialFilter: SimpleFilter < ChatEventMessage < VideoChatStarted >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , ChatEventMessage < VideoChatStarted >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < VideoChatStarted >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , ChatEventMessage < VideoChatStarted >>): Job
Content copied to clipboard
onVideoGallery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVideoGallery ( initialFilter: SimpleFilter < List < MediaGroupMessage < VideoContent >>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , List < MediaGroupMessage < VideoContent >>, Update >? = MessagesFilterByChat, markerFactory: MarkerFactory <in List < MediaGroupMessage < VideoContent >>, Any > = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , List < MediaGroupMessage < VideoContent >>>): Job
Content copied to clipboard
onVideoNote
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVideoNote ( initialFilter: CommonMessageFilter < VideoNoteContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < VideoNoteContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < VideoNoteContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < VideoNoteContent >>): Job
Content copied to clipboard
onVisualGallery
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVisualGallery ( initialFilter: SimpleFilter < List < MediaGroupMessage < VisualMediaGroupContent >>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , List < MediaGroupMessage < VisualMediaGroupContent >>, Update >? = MessagesFilterByChat, markerFactory: MarkerFactory <in List < MediaGroupMessage < VisualMediaGroupContent >>, Any > = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , List < MediaGroupMessage < VisualMediaGroupContent >>>): Job
Content copied to clipboard
onVisualMediaGroup
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVisualMediaGroup ( initialFilter: SimpleFilter < List < MediaGroupMessage < VisualMediaGroupContent >>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , List < MediaGroupMessage < VisualMediaGroupContent >>, Update >? = MessagesFilterByChat, markerFactory: MarkerFactory <in List < MediaGroupMessage < VisualMediaGroupContent >>, Any > = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , List < MediaGroupMessage < VisualMediaGroupContent >>>): Job
Content copied to clipboard
onVoice
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onVoice ( initialFilter: CommonMessageFilter < VoiceContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < VoiceContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < VoiceContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < VoiceContent >>): Job
Content copied to clipboard
onWebAppData
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . onWebAppData ( initialFilter: SimpleFilter < PrivateEventMessage < WebAppData >>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , PrivateEventMessage < WebAppData >, Update >? = MessageFilterByChat, markerFactory: MarkerFactory <in ChatEventMessage < WebAppData >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , PrivateEventMessage < WebAppData >>): Job
Content copied to clipboard
unhandledCommand
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . unhandledCommand ( requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver < BC , Unit , CommonMessage < TextContent >>): Job
Content copied to clipboard
unhandledCommandWithArgs
Link copied to clipboard
suspend fun < BC : BehaviourContext > BC . unhandledCommandWithArgs ( initialFilter: CommonMessageFilter < TextContent >? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver < BC , Boolean , CommonMessage < TextContent >, Update > = MessageFilterByChat, markerFactory: MarkerFactory <in CommonMessage < TextContent >, Any > = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTwoTypesReceiver < BC , Unit , CommonMessage < TextContent >, Map < String , Array < String >>>): Job
Content copied to clipboard