docs

# FlowsUpdatesFilter

interface FlowsUpdatesFilter : UpdatesFilter
Content copied to clipboard

## Properties

allowedUpdates
Link copied to clipboard
open override val allowedUpdates : List < String >
Content copied to clipboard
allUpdatesFlow
Link copied to clipboard
abstract val allUpdatesFlow : Flow< Update >
Content copied to clipboard
allUpdatesWithoutMediaGroupsGroupingFlow
Link copied to clipboard
abstract val allUpdatesWithoutMediaGroupsGroupingFlow : Flow< Update >
Content copied to clipboard
asUpdateReceiver
Link copied to clipboard
abstract val asUpdateReceiver : UpdateReceiver < Update >
Content copied to clipboard
callbackQueriesFlow
Link copied to clipboard
abstract val callbackQueriesFlow : Flow< CallbackQueryUpdate >
Content copied to clipboard
channelPostMediaGroupsFlow
Link copied to clipboard
abstract val channelPostMediaGroupsFlow : Flow< ChannelPostMediaGroupUpdate >
Content copied to clipboard
channelPostsFlow
Link copied to clipboard
abstract val channelPostsFlow : Flow< ChannelPostUpdate >
Content copied to clipboard
chatJoinRequestUpdateFlow
Link copied to clipboard
abstract val chatJoinRequestUpdateFlow : Flow< ChatJoinRequestUpdate >
Content copied to clipboard
chatMemberUpdatesFlow
Link copied to clipboard
abstract val chatMemberUpdatesFlow : Flow< CommonChatMemberUpdatedUpdate >
Content copied to clipboard
chosenInlineResultsFlow
Link copied to clipboard
abstract val chosenInlineResultsFlow : Flow< ChosenInlineResultUpdate >
Content copied to clipboard
editedChannelPostMediaGroupsFlow
Link copied to clipboard
abstract val editedChannelPostMediaGroupsFlow : Flow< EditChannelPostMediaGroupUpdate >
Content copied to clipboard
editedChannelPostsFlow
Link copied to clipboard
abstract val editedChannelPostsFlow : Flow< EditChannelPostUpdate >
Content copied to clipboard
editedMessageMediaGroupsFlow
Link copied to clipboard
abstract val editedMessageMediaGroupsFlow : Flow< EditMessageMediaGroupUpdate >
Content copied to clipboard
editedMessagesFlow
Link copied to clipboard
abstract val editedMessagesFlow : Flow< EditMessageUpdate >
Content copied to clipboard
inlineQueriesFlow
Link copied to clipboard
abstract val inlineQueriesFlow : Flow< InlineQueryUpdate >
Content copied to clipboard
messageMediaGroupsFlow
Link copied to clipboard
abstract val messageMediaGroupsFlow : Flow< MessageMediaGroupUpdate >
Content copied to clipboard
messagesFlow
Link copied to clipboard
abstract val messagesFlow : Flow< MessageUpdate >
Content copied to clipboard
myChatMemberUpdatesFlow
Link copied to clipboard
abstract val myChatMemberUpdatesFlow : Flow< MyChatMemberUpdatedUpdate >
Content copied to clipboard
pollAnswersFlow
Link copied to clipboard
abstract val pollAnswersFlow : Flow< PollAnswerUpdate >
Content copied to clipboard
pollsFlow
Link copied to clipboard
abstract val pollsFlow : Flow< PollUpdate >
Content copied to clipboard
preCheckoutQueriesFlow
Link copied to clipboard
abstract val preCheckoutQueriesFlow : Flow< PreCheckoutQueryUpdate >
Content copied to clipboard
shippingQueriesFlow
Link copied to clipboard
abstract val shippingQueriesFlow : Flow< ShippingQueryUpdate >
Content copied to clipboard
unknownUpdatesFlow
Link copied to clipboard
abstract val unknownUpdatesFlow : Flow< UnknownUpdate >
Content copied to clipboard

## Inheritors

BehaviourContext
Link copied to clipboard
AbstractFlowsUpdatesFilter
Link copied to clipboard

## Extensions

animationMessages
Link copied to clipboard
fun FlowsUpdatesFilter . animationMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < AnimationContent >>
Content copied to clipboard
audioMessages
Link copied to clipboard
fun FlowsUpdatesFilter . audioMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < AudioContent >>
Content copied to clipboard
audioMessagesWithMediaGroups
Link copied to clipboard
fun FlowsUpdatesFilter . audioMessagesWithMediaGroups (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < AudioContent >>
Content copied to clipboard
channelCreatedEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . channelCreatedEvents (): Flow< ChannelEventMessage < ChannelChatCreated >>
Content copied to clipboard
channelEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . channelEvents (): Flow< ChannelEventMessage <*>>
Content copied to clipboard
contactMessages
Link copied to clipboard
fun FlowsUpdatesFilter . contactMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < ContactContent >>
Content copied to clipboard
deletedChannelPhotoEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . deletedChannelPhotoEvents (): Flow< ChannelEventMessage < DeleteChatPhoto >>
Content copied to clipboard
deletedGroupPhotoEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . deletedGroupPhotoEvents (): Flow< GroupEventMessage < DeleteChatPhoto >>
Content copied to clipboard
deletedSupergroupPhotoEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . deletedSupergroupPhotoEvents (): Flow< SupergroupEventMessage < DeleteChatPhoto >>
Content copied to clipboard
diceMessages
Link copied to clipboard
fun FlowsUpdatesFilter . diceMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < DiceContent >>
Content copied to clipboard
documentMessages
Link copied to clipboard
fun FlowsUpdatesFilter . documentMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < DocumentContent >>
Content copied to clipboard
documentMessagesWithMediaGroups
Link copied to clipboard
fun FlowsUpdatesFilter . documentMessagesWithMediaGroups (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < DocumentContent >>
Content copied to clipboard
events
Link copied to clipboard
inline fun FlowsUpdatesFilter . events (): Flow< ChatEventMessage <*>>
Content copied to clipboard
expectFlow
Link copied to clipboard
suspend fun < T > FlowsUpdatesFilter . expectFlow ( bot: TelegramBot , initRequest: Request <*>? = null, count: Int ? = null, errorFactory: NullableRequestBuilder <*> = { null }, cancelRequestFactory: NullableRequestBuilder <*> = { null }, cancelTrigger: suspend ( Update ) -> Boolean = { cancelRequestFactory(it) != null }, filter: suspend ( Update ) -> List < T >): Flow< T >
Content copied to clipboard
expectOne
Link copied to clipboard
suspend fun < T > FlowsUpdatesFilter . expectOne ( bot: TelegramBot , initRequest: Request <*>? = null, errorFactory: NullableRequestBuilder <*> = { null }, cancelRequestFactory: NullableRequestBuilder <*> = { null }, cancelTrigger: suspend ( Update ) -> Boolean = { cancelRequestFactory(it) != null }, filter: suspend ( Update ) -> T ?): T
Content copied to clipboard
filterChannelEvents
Link copied to clipboard
inline fun < T : ChannelEvent > FlowsUpdatesFilter . filterChannelEvents (): Flow< ChannelEventMessage < T >>
Content copied to clipboard
filterContentMessages
Link copied to clipboard
inline fun < T : MessageContent > FlowsUpdatesFilter . filterContentMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < T >>
Content copied to clipboard
filterGroupEvents
Link copied to clipboard
inline fun < T : GroupEvent > FlowsUpdatesFilter . filterGroupEvents (): Flow< GroupEventMessage < T >>
Content copied to clipboard
filterMediaGroupMessages
Link copied to clipboard
inline fun < T : MediaGroupContent > FlowsUpdatesFilter . filterMediaGroupMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< List < CommonMessage < T >>>
Content copied to clipboard
filterPrivateEvents
Link copied to clipboard
inline fun < T : PrivateEvent > FlowsUpdatesFilter . filterPrivateEvents (): Flow< PrivateEventMessage < T >>
Content copied to clipboard
filterSupergroupEvents
Link copied to clipboard
inline fun < T : SupergroupEvent > FlowsUpdatesFilter . filterSupergroupEvents (): Flow< SupergroupEventMessage < T >>
Content copied to clipboard
gameMessages
Link copied to clipboard
fun FlowsUpdatesFilter . gameMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < GameContent >>
Content copied to clipboard
groupCreatedEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . groupCreatedEvents (): Flow< GroupEventMessage < GroupChatCreated >>
Content copied to clipboard
groupEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . groupEvents (): Flow< GroupEventMessage <*>>
Content copied to clipboard
imageMessages
Link copied to clipboard
inline fun FlowsUpdatesFilter . imageMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < PhotoContent >>
Content copied to clipboard

Shortcut for photoMessages

imageMessagesWithMediaGroups
Link copied to clipboard
fun FlowsUpdatesFilter . imageMessagesWithMediaGroups (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < PhotoContent >>
Content copied to clipboard
invoiceMessages
Link copied to clipboard
fun FlowsUpdatesFilter . invoiceMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < InvoiceContent >>
Content copied to clipboard
leftGroupMemberEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . leftGroupMemberEvents (): Flow< GroupEventMessage < LeftChatMember >>
Content copied to clipboard
leftSupergroupMemberEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . leftSupergroupMemberEvents (): Flow< SupergroupEventMessage < LeftChatMember >>
Content copied to clipboard
locationMessages
Link copied to clipboard
fun FlowsUpdatesFilter . locationMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < LocationContent >>
Content copied to clipboard
mediaGroupAudioMessages
Link copied to clipboard
fun FlowsUpdatesFilter . mediaGroupAudioMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< List < CommonMessage < AudioContent >>>
Content copied to clipboard
mediaGroupDocumentMessages
Link copied to clipboard
fun FlowsUpdatesFilter . mediaGroupDocumentMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< List < CommonMessage < DocumentContent >>>
Content copied to clipboard
mediaGroupMessages
Link copied to clipboard
fun FlowsUpdatesFilter . mediaGroupMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< List < CommonMessage < MediaGroupContent >>>
Content copied to clipboard
mediaGroupPhotosMessages
Link copied to clipboard
fun FlowsUpdatesFilter . mediaGroupPhotosMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< List < CommonMessage < PhotoContent >>>
Content copied to clipboard
mediaGroupVideosMessages
Link copied to clipboard
fun FlowsUpdatesFilter . mediaGroupVideosMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< List < CommonMessage < VideoContent >>>
Content copied to clipboard
mediaGroupVisualMessages
Link copied to clipboard
fun FlowsUpdatesFilter . mediaGroupVisualMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< List < CommonMessage < VisualMediaGroupContent >>>
Content copied to clipboard
newChannelPhotoEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newChannelPhotoEvents (): Flow< ChannelEventMessage < NewChatPhoto >>
Content copied to clipboard
newChannelPinnedMessageEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newChannelPinnedMessageEvents (): Flow< ChannelEventMessage < PinnedMessage >>
Content copied to clipboard
newChannelTitleEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newChannelTitleEvents (): Flow< ChannelEventMessage < NewChatTitle >>
Content copied to clipboard
newGroupMembersEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newGroupMembersEvents (): Flow< GroupEventMessage < NewChatMembers >>
Content copied to clipboard
newGroupPhotoEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newGroupPhotoEvents (): Flow< GroupEventMessage < NewChatPhoto >>
Content copied to clipboard
newGroupPinnedMessageEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newGroupPinnedMessageEvents (): Flow< GroupEventMessage < PinnedMessage >>
Content copied to clipboard
newGroupTitleEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newGroupTitleEvents (): Flow< GroupEventMessage < NewChatTitle >>
Content copied to clipboard
newPrivatePinnedMessageEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newPrivatePinnedMessageEvents (): Flow< PrivateEventMessage < PinnedMessage >>
Content copied to clipboard
newSupergroupMembersEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newSupergroupMembersEvents (): Flow< SupergroupEventMessage < NewChatMembers >>
Content copied to clipboard
newSupergroupPhotoEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newSupergroupPhotoEvents (): Flow< SupergroupEventMessage < NewChatPhoto >>
Content copied to clipboard
newSupergroupPinnedMessageEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newSupergroupPinnedMessageEvents (): Flow< SupergroupEventMessage < PinnedMessage >>
Content copied to clipboard
newSupergroupTitleEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . newSupergroupTitleEvents (): Flow< SupergroupEventMessage < NewChatTitle >>
Content copied to clipboard
photoMessages
Link copied to clipboard
fun FlowsUpdatesFilter . photoMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < PhotoContent >>
Content copied to clipboard
photoMessagesWithMediaGroups
Link copied to clipboard
fun FlowsUpdatesFilter . photoMessagesWithMediaGroups (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < PhotoContent >>
Content copied to clipboard
pollMessages
Link copied to clipboard
fun FlowsUpdatesFilter . pollMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < PollContent >>
Content copied to clipboard
privateEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . privateEvents (): Flow< PrivateEventMessage <*>>
Content copied to clipboard
proximityAlertTriggeredInGroupEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . proximityAlertTriggeredInGroupEvents (): Flow< GroupEventMessage < ProximityAlertTriggered >>
Content copied to clipboard
proximityAlertTriggeredInSupergroupEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . proximityAlertTriggeredInSupergroupEvents (): Flow< SupergroupEventMessage < ProximityAlertTriggered >>
Content copied to clipboard
sentMessages
Link copied to clipboard
fun FlowsUpdatesFilter . sentMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < MessageContent >>
Content copied to clipboard
sentMessagesWithMediaGroups
Link copied to clipboard
fun FlowsUpdatesFilter . sentMessagesWithMediaGroups (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < MessageContent >>
Content copied to clipboard
stickerMessages
Link copied to clipboard
fun FlowsUpdatesFilter . stickerMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < StickerContent >>
Content copied to clipboard
successfulPaymentInChannelEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . successfulPaymentInChannelEvents (): Flow< ChannelEventMessage < SuccessfulPaymentEvent >>
Content copied to clipboard
successfulPaymentInGroupEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . successfulPaymentInGroupEvents (): Flow< GroupEventMessage < SuccessfulPaymentEvent >>
Content copied to clipboard
successfulPaymentInPrivateEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . successfulPaymentInPrivateEvents (): Flow< PrivateEventMessage < SuccessfulPaymentEvent >>
Content copied to clipboard
successfulPaymentInSupergroupEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . successfulPaymentInSupergroupEvents (): Flow< SupergroupEventMessage < SuccessfulPaymentEvent >>
Content copied to clipboard
supergroupCreatedEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . supergroupCreatedEvents (): Flow< SupergroupEventMessage < SupergroupChatCreated >>
Content copied to clipboard
supergroupEvents
Link copied to clipboard
inline fun FlowsUpdatesFilter . supergroupEvents (): Flow< SupergroupEventMessage <*>>
Content copied to clipboard
textMessages
Link copied to clipboard
fun FlowsUpdatesFilter . textMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < TextContent >>
Content copied to clipboard
venueMessages
Link copied to clipboard
fun FlowsUpdatesFilter . venueMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < VenueContent >>
Content copied to clipboard
videoMessages
Link copied to clipboard
fun FlowsUpdatesFilter . videoMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < VideoContent >>
Content copied to clipboard
videoMessagesWithMediaGroups
Link copied to clipboard
fun FlowsUpdatesFilter . videoMessagesWithMediaGroups (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < VideoContent >>
Content copied to clipboard
videoNoteMessages
Link copied to clipboard
fun FlowsUpdatesFilter . videoNoteMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < VideoNoteContent >>
Content copied to clipboard
voiceMessages
Link copied to clipboard
fun FlowsUpdatesFilter . voiceMessages (scopeToIncludeChannels: CoroutineScope? = null): Flow< ContentMessage < VoiceContent >>
Content copied to clipboard