Package dev. inmo. tgbotapi. extensions. behaviour_builder. triggers_handling
Types
Common Message Filter
Link copied to clipboard
Functions
command
Link copied to clipboard
suspend fun BehaviourContext.command(command: String, requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
suspend fun BehaviourContext.command(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
command With Args
Link copied to clipboard
suspend fun BehaviourContext.commandWithArgs(command: String, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
Content copied to clipboard
suspend fun BehaviourContext.commandWithArgs(commandRegex: Regex, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
Content copied to clipboard
Common Message Filter
Link copied to clipboard
inline fun <T : MessageContent> CommonMessageFilter(noinline block: CommonMessageFilter<T>): suspend (CommonMessage<T>) -> Boolean
Content copied to clipboard
on Animation
Link copied to clipboard
suspend fun BehaviourContext.onAnimation(initialFilter: CommonMessageFilter<AnimationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AnimationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AnimationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AnimationContent>>): Job
Content copied to clipboard
on Any Inline Query
Link copied to clipboard
suspend fun BehaviourContext.onAnyInlineQuery(initialFilter: SimpleFilter<InlineQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, InlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in InlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineQuery>): Job
Content copied to clipboard
on Audio
Link copied to clipboard
suspend fun BehaviourContext.onAudio(initialFilter: CommonMessageFilter<AudioContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioContent>>): Job
Content copied to clipboard
on Audio Media Group
Link copied to clipboard
suspend fun BehaviourContext.onAudioMediaGroup(initialFilter: CommonMessageFilter<AudioMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioMediaGroupContent>>): Job
Content copied to clipboard
on Base Inline Query
Link copied to clipboard
suspend fun BehaviourContext.onBaseInlineQuery(initialFilter: SimpleFilter<BaseInlineQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, BaseInlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in BaseInlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, BaseInlineQuery>): Job
Content copied to clipboard
on Channel Chat Created
Link copied to clipboard
suspend fun BehaviourContext.onChannelChatCreated(initialFilter: SimpleFilter<ChatEventMessage<ChannelChatCreated>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ChannelChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChannelChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChannelChatCreated>>): Job
Content copied to clipboard
on Channel Event
Link copied to clipboard
suspend fun BehaviourContext.onChannelEvent(initialFilter: SimpleFilter<ChatEventMessage<ChannelEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ChannelEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChannelEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChannelEvent>>): Job
Content copied to clipboard
on Chat Event
Link copied to clipboard
suspend fun BehaviourContext.onChatEvent(initialFilter: SimpleFilter<ChatEventMessage<ChatEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ChatEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChatEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChatEvent>>): Job
Content copied to clipboard
on Chat Member Updated
Link copied to clipboard
suspend fun BehaviourContext.onChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
Content copied to clipboard
on Command
Link copied to clipboard
inline suspend fun BehaviourContext.onCommand(command: String, requireOnlyCommandInMessage: Boolean = true, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
inline suspend fun BehaviourContext.onCommand(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
on Command With Args
Link copied to clipboard
inline suspend fun BehaviourContext.onCommandWithArgs(command: String, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
Content copied to clipboard
inline suspend fun BehaviourContext.onCommandWithArgs(commandRegex: Regex, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
Content copied to clipboard
on Common Chat Member Updated
Link copied to clipboard
suspend fun BehaviourContext.onCommonChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
Content copied to clipboard
on Common Event
Link copied to clipboard
suspend fun BehaviourContext.onCommonEvent(initialFilter: SimpleFilter<ChatEventMessage<CommonEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<CommonEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<CommonEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<CommonEvent>>): Job
Content copied to clipboard
on Contact
Link copied to clipboard
suspend fun BehaviourContext.onContact(initialFilter: CommonMessageFilter<ContactContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<ContactContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<ContactContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<ContactContent>>): Job
Content copied to clipboard
on Content Message
Link copied to clipboard
suspend fun BehaviourContext.onContentMessage(initialFilter: CommonMessageFilter<MessageContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MessageContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MessageContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MessageContent>>): Job
Content copied to clipboard
on Data Callback Query
Link copied to clipboard
suspend fun BehaviourContext.onDataCallbackQuery(initialFilter: SimpleFilter<DataCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, DataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in DataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, DataCallbackQuery>): Job
Content copied to clipboard
on Delete Chat Photo
Link copied to clipboard
suspend fun BehaviourContext.onDeleteChatPhoto(initialFilter: SimpleFilter<ChatEventMessage<DeleteChatPhoto>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<DeleteChatPhoto>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<DeleteChatPhoto>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<DeleteChatPhoto>>): Job
Content copied to clipboard
on Dice
Link copied to clipboard
suspend fun BehaviourContext.onDice(initialFilter: CommonMessageFilter<DiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DiceContent>>): Job
Content copied to clipboard
on Document
Link copied to clipboard
suspend fun BehaviourContext.onDocument(initialFilter: CommonMessageFilter<DocumentContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentContent>>): Job
Content copied to clipboard
on Document Media Group Content
Link copied to clipboard
suspend fun BehaviourContext.onDocumentMediaGroupContent(initialFilter: CommonMessageFilter<DocumentMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentMediaGroupContent>>): Job
Content copied to clipboard
on Documents Group
Link copied to clipboard
suspend fun BehaviourContext.onDocumentsGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<DocumentMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<DocumentMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<DocumentMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<DocumentMediaGroupContent>>>): Job
Content copied to clipboard
on Edited Animation
Link copied to clipboard
suspend fun BehaviourContext.onEditedAnimation(initialFilter: CommonMessageFilter<AnimationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AnimationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AnimationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AnimationContent>>): Job
Content copied to clipboard
on Edited Audio
Link copied to clipboard
suspend fun BehaviourContext.onEditedAudio(initialFilter: CommonMessageFilter<AudioContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioContent>>): Job
Content copied to clipboard
on Edited Audio Media Group
Link copied to clipboard
suspend fun BehaviourContext.onEditedAudioMediaGroup(initialFilter: CommonMessageFilter<AudioMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioMediaGroupContent>>): Job
Content copied to clipboard
on Edited Contact
Link copied to clipboard
suspend fun BehaviourContext.onEditedContact(initialFilter: CommonMessageFilter<ContactContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<ContactContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<ContactContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<ContactContent>>): Job
Content copied to clipboard
on Edited Content Message
Link copied to clipboard
suspend fun BehaviourContext.onEditedContentMessage(initialFilter: CommonMessageFilter<MessageContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MessageContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MessageContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MessageContent>>): Job
Content copied to clipboard
on Edited Dice
Link copied to clipboard
suspend fun BehaviourContext.onEditedDice(initialFilter: CommonMessageFilter<DiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DiceContent>>): Job
Content copied to clipboard
on Edited Document
Link copied to clipboard
suspend fun BehaviourContext.onEditedDocument(initialFilter: CommonMessageFilter<DocumentContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentContent>>): Job
Content copied to clipboard
on Edited Document Media Group Content
Link copied to clipboard
suspend fun BehaviourContext.onEditedDocumentMediaGroupContent(initialFilter: CommonMessageFilter<DocumentMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentMediaGroupContent>>): Job
Content copied to clipboard
on Edited Game
Link copied to clipboard
suspend fun BehaviourContext.onEditedGame(initialFilter: CommonMessageFilter<GameContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<GameContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<GameContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<GameContent>>): Job
Content copied to clipboard
on Edited Invoice
Link copied to clipboard
suspend fun BehaviourContext.onEditedInvoice(initialFilter: CommonMessageFilter<InvoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<InvoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<InvoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<InvoiceContent>>): Job
Content copied to clipboard
on Edited Location
Link copied to clipboard
suspend fun BehaviourContext.onEditedLocation(initialFilter: CommonMessageFilter<LocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<LocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<LocationContent>>): Job
Content copied to clipboard
on Edited Media
Link copied to clipboard
suspend fun BehaviourContext.onEditedMedia(initialFilter: CommonMessageFilter<MediaContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MediaContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MediaContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MediaContent>>): Job
Content copied to clipboard
on Edited Media Collection
Link copied to clipboard
suspend fun BehaviourContext.onEditedMediaCollection(initialFilter: CommonMessageFilter<MediaCollectionContent<TelegramMediaFile>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MediaCollectionContent<TelegramMediaFile>>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MediaCollectionContent<TelegramMediaFile>>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MediaCollectionContent<TelegramMediaFile>>>): Job
Content copied to clipboard
on Edited Photo
Link copied to clipboard
suspend fun BehaviourContext.onEditedPhoto(initialFilter: CommonMessageFilter<PhotoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PhotoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PhotoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PhotoContent>>): Job
Content copied to clipboard
on Edited Poll
Link copied to clipboard
suspend fun BehaviourContext.onEditedPoll(initialFilter: CommonMessageFilter<PollContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PollContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PollContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PollContent>>): Job
Content copied to clipboard
on Edited Sticker
Link copied to clipboard
suspend fun BehaviourContext.onEditedSticker(initialFilter: CommonMessageFilter<StickerContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<StickerContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StickerContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<StickerContent>>): Job
Content copied to clipboard
on Edited Text
Link copied to clipboard
suspend fun BehaviourContext.onEditedText(initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
on Edited Venue
Link copied to clipboard
suspend fun BehaviourContext.onEditedVenue(initialFilter: CommonMessageFilter<VenueContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VenueContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VenueContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VenueContent>>): Job
Content copied to clipboard
on Edited Video
Link copied to clipboard
suspend fun BehaviourContext.onEditedVideo(initialFilter: CommonMessageFilter<VideoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoContent>>): Job
Content copied to clipboard
on Edited Video Note
Link copied to clipboard
suspend fun BehaviourContext.onEditedVideoNote(initialFilter: CommonMessageFilter<VideoNoteContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoNoteContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoNoteContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoNoteContent>>): Job
Content copied to clipboard
on Edited Voice
Link copied to clipboard
suspend fun BehaviourContext.onEditedVoice(initialFilter: CommonMessageFilter<VoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VoiceContent>>): Job
Content copied to clipboard
on Game
Link copied to clipboard
suspend fun BehaviourContext.onGame(initialFilter: CommonMessageFilter<GameContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<GameContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<GameContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<GameContent>>): Job
Content copied to clipboard
on Game Short Name Callback Query
Link copied to clipboard
suspend fun BehaviourContext.onGameShortNameCallbackQuery(initialFilter: SimpleFilter<GameShortNameCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, GameShortNameCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in GameShortNameCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, GameShortNameCallbackQuery>): Job
Content copied to clipboard
on Group Chat Created
Link copied to clipboard
suspend fun BehaviourContext.onGroupChatCreated(initialFilter: SimpleFilter<ChatEventMessage<GroupChatCreated>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<GroupChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<GroupChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<GroupChatCreated>>): Job
Content copied to clipboard
on Group Event
Link copied to clipboard
suspend fun BehaviourContext.onGroupEvent(initialFilter: SimpleFilter<ChatEventMessage<GroupEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<GroupEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<GroupEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<GroupEvent>>): Job
Content copied to clipboard
on Inline Message Id Callback Query
Link copied to clipboard
suspend fun BehaviourContext.onInlineMessageIdCallbackQuery(initialFilter: SimpleFilter<InlineMessageIdCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, InlineMessageIdCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in InlineMessageIdCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineMessageIdCallbackQuery>): Job
Content copied to clipboard
on Inline Message Id Data Callback Query
Link copied to clipboard
suspend fun BehaviourContext.onInlineMessageIdDataCallbackQuery(initialFilter: SimpleFilter<InlineMessageIdDataCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, InlineMessageIdDataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in InlineMessageIdDataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineMessageIdDataCallbackQuery>): Job
Content copied to clipboard
on Inline Message Id Game Short Name Callback Query
Link copied to clipboard
suspend fun BehaviourContext.onInlineMessageIdGameShortNameCallbackQuery(initialFilter: SimpleFilter<InlineMessageIdGameShortNameCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, InlineMessageIdGameShortNameCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in InlineMessageIdGameShortNameCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineMessageIdGameShortNameCallbackQuery>): Job
Content copied to clipboard
on Invoice
Link copied to clipboard
suspend fun BehaviourContext.onInvoice(initialFilter: CommonMessageFilter<InvoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<InvoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<InvoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<InvoiceContent>>): Job
Content copied to clipboard
on Left Chat Member
Link copied to clipboard
suspend fun BehaviourContext.onLeftChatMember(initialFilter: SimpleFilter<ChatEventMessage<LeftChatMember>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<LeftChatMember>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<LeftChatMember>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<LeftChatMember>>): Job
Content copied to clipboard
on Live Location
Link copied to clipboard
suspend fun BehaviourContext.onLiveLocation(initialFilter: CommonMessageFilter<LiveLocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<LiveLocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LiveLocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<LiveLocationContent>>): Job
Content copied to clipboard
on Location
Link copied to clipboard
suspend fun BehaviourContext.onLocation(initialFilter: CommonMessageFilter<LocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<LocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<LocationContent>>): Job
Content copied to clipboard
on Location Inline Query
Link copied to clipboard
suspend fun BehaviourContext.onLocationInlineQuery(initialFilter: SimpleFilter<LocationInlineQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, LocationInlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in LocationInlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, LocationInlineQuery>): Job
Content copied to clipboard
on Media
Link copied to clipboard
suspend fun BehaviourContext.onMedia(initialFilter: CommonMessageFilter<MediaContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MediaContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MediaContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MediaContent>>): Job
Content copied to clipboard
on Media Collection
Link copied to clipboard
suspend fun BehaviourContext.onMediaCollection(initialFilter: CommonMessageFilter<MediaCollectionContent<TelegramMediaFile>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MediaCollectionContent<TelegramMediaFile>>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MediaCollectionContent<TelegramMediaFile>>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MediaCollectionContent<TelegramMediaFile>>>): Job
Content copied to clipboard
on Media Group
Link copied to clipboard
suspend fun BehaviourContext.onMediaGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<MediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<MediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<MediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<MediaGroupContent>>>): Job
Content copied to clipboard
on Message Auto Delete Timer Changed Event
Link copied to clipboard
suspend fun BehaviourContext.onMessageAutoDeleteTimerChangedEvent(initialFilter: SimpleFilter<ChatEventMessage<MessageAutoDeleteTimerChanged>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<MessageAutoDeleteTimerChanged>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<MessageAutoDeleteTimerChanged>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<MessageAutoDeleteTimerChanged>>): Job
Content copied to clipboard
on Message Callback Query
Link copied to clipboard
suspend fun BehaviourContext.onMessageCallbackQuery(initialFilter: SimpleFilter<MessageCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, MessageCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageCallbackQuery>): Job
Content copied to clipboard
on Message Data Callback Query
Link copied to clipboard
suspend fun BehaviourContext.onMessageDataCallbackQuery(initialFilter: SimpleFilter<MessageDataCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, MessageDataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageDataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageDataCallbackQuery>): Job
Content copied to clipboard
on Message Game Short Name Callback Query
Link copied to clipboard
suspend fun BehaviourContext.onMessageGameShortNameCallbackQuery(initialFilter: SimpleFilter<MessageGameShortNameCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, MessageGameShortNameCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageGameShortNameCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageGameShortNameCallbackQuery>): Job
Content copied to clipboard
on My Chat Member Updated
Link copied to clipboard
suspend fun BehaviourContext.onMyChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
Content copied to clipboard
on New Chat Members
Link copied to clipboard
suspend fun BehaviourContext.onNewChatMembers(initialFilter: SimpleFilter<ChatEventMessage<NewChatMembers>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<NewChatMembers>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatMembers>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatMembers>>): Job
Content copied to clipboard
on New Chat Photo
Link copied to clipboard
suspend fun BehaviourContext.onNewChatPhoto(initialFilter: SimpleFilter<ChatEventMessage<NewChatPhoto>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<NewChatPhoto>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatPhoto>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatPhoto>>): Job
Content copied to clipboard
on New Chat Title
Link copied to clipboard
suspend fun BehaviourContext.onNewChatTitle(initialFilter: SimpleFilter<ChatEventMessage<NewChatTitle>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<NewChatTitle>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatTitle>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatTitle>>): Job
Content copied to clipboard
on Passport Message
Link copied to clipboard
suspend fun BehaviourContext.onPassportMessage(initialFilter: SimpleFilter<PassportMessage>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, PassportMessage, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in PassportMessage, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, PassportMessage>): Job
Content copied to clipboard
on Photo
Link copied to clipboard
suspend fun BehaviourContext.onPhoto(initialFilter: CommonMessageFilter<PhotoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PhotoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PhotoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PhotoContent>>): Job
Content copied to clipboard
on Photo Gallery
Link copied to clipboard
suspend fun BehaviourContext.onPhotoGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<PhotoContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<PhotoContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<PhotoContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<PhotoContent>>>): Job
Content copied to clipboard
on Pinned Message
Link copied to clipboard
suspend fun BehaviourContext.onPinnedMessage(initialFilter: SimpleFilter<ChatEventMessage<PinnedMessage>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<PinnedMessage>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<PinnedMessage>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<PinnedMessage>>): Job
Content copied to clipboard
on Playlist
Link copied to clipboard
suspend fun BehaviourContext.onPlaylist(initialFilter: SimpleFilter<List<MediaGroupMessage<AudioMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<AudioMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<AudioMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<AudioMediaGroupContent>>>): Job
Content copied to clipboard
on Poll
Link copied to clipboard
suspend fun BehaviourContext.onPoll(initialFilter: CommonMessageFilter<PollContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PollContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PollContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PollContent>>): Job
Content copied to clipboard
on Proximity Alert Triggered
Link copied to clipboard
suspend fun BehaviourContext.onProximityAlertTriggered(initialFilter: SimpleFilter<ChatEventMessage<ProximityAlertTriggered>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ProximityAlertTriggered>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ProximityAlertTriggered>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ProximityAlertTriggered>>): Job
Content copied to clipboard
on Static Location
Link copied to clipboard
suspend fun BehaviourContext.onStaticLocation(initialFilter: CommonMessageFilter<StaticLocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<StaticLocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StaticLocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<StaticLocationContent>>): Job
Content copied to clipboard
on Sticker
Link copied to clipboard
suspend fun BehaviourContext.onSticker(initialFilter: CommonMessageFilter<StickerContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<StickerContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StickerContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<StickerContent>>): Job
Content copied to clipboard
on Supergroup Chat Created
Link copied to clipboard
suspend fun BehaviourContext.onSupergroupChatCreated(initialFilter: SimpleFilter<ChatEventMessage<SupergroupChatCreated>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<SupergroupChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<SupergroupChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<SupergroupChatCreated>>): Job
Content copied to clipboard
on Supergroup Event
Link copied to clipboard
suspend fun BehaviourContext.onSupergroupEvent(initialFilter: SimpleFilter<ChatEventMessage<SupergroupEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<SupergroupEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<SupergroupEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<SupergroupEvent>>): Job
Content copied to clipboard
on Text
Link copied to clipboard
suspend fun BehaviourContext.onText(initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
on Unknown Callback Query Type
Link copied to clipboard
suspend fun BehaviourContext.onUnknownCallbackQueryType(initialFilter: SimpleFilter<UnknownCallbackQueryType>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, UnknownCallbackQueryType, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in UnknownCallbackQueryType, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, UnknownCallbackQueryType>): Job
Content copied to clipboard
on Venue
Link copied to clipboard
suspend fun BehaviourContext.onVenue(initialFilter: CommonMessageFilter<VenueContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VenueContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VenueContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VenueContent>>): Job
Content copied to clipboard
on Video
Link copied to clipboard
suspend fun BehaviourContext.onVideo(initialFilter: CommonMessageFilter<VideoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoContent>>): Job
Content copied to clipboard
on Video Gallery
Link copied to clipboard
suspend fun BehaviourContext.onVideoGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<VideoContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<VideoContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VideoContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VideoContent>>>): Job
Content copied to clipboard
on Video Note
Link copied to clipboard
suspend fun BehaviourContext.onVideoNote(initialFilter: CommonMessageFilter<VideoNoteContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoNoteContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoNoteContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoNoteContent>>): Job
Content copied to clipboard
on Visual Gallery
Link copied to clipboard
suspend fun BehaviourContext.onVisualGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<VisualMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<VisualMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VisualMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VisualMediaGroupContent>>>): Job
Content copied to clipboard
on Visual Media Group
Link copied to clipboard
suspend fun BehaviourContext.onVisualMediaGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<VisualMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<VisualMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VisualMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VisualMediaGroupContent>>>): Job
Content copied to clipboard
on Voice
Link copied to clipboard
suspend fun BehaviourContext.onVoice(initialFilter: CommonMessageFilter<VoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VoiceContent>>): Job
Content copied to clipboard
on Voice Chat Ended Event
Link copied to clipboard
suspend fun BehaviourContext.onVoiceChatEndedEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatEnded>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<VoiceChatEnded>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatEnded>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatEnded>>): Job
Content copied to clipboard
on Voice Chat Event
Link copied to clipboard
suspend fun BehaviourContext.onVoiceChatEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<VoiceChatEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatEvent>>): Job
Content copied to clipboard
on Voice Chat Participants Invited Event
Link copied to clipboard
suspend fun BehaviourContext.onVoiceChatParticipantsInvitedEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatParticipantsInvited>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<VoiceChatParticipantsInvited>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatParticipantsInvited>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatParticipantsInvited>>): Job
Content copied to clipboard
on Voice Chat Started Event
Link copied to clipboard
suspend fun BehaviourContext.onVoiceChatStartedEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatStarted>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<VoiceChatStarted>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatStarted>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatStarted>>): Job
Content copied to clipboard