Package dev. inmo. tgbotapi. extensions. behaviour_builder. expectations
Types
Link copied to clipboard
Link copied to clipboard
typealias ChatJoinRequestsMapper = suspend ChatJoinRequest.() -> ChatJoinRequest?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias CommonMessageToCommonMessageMapper<T> = suspend CommonMessage<T>.() -> CommonMessage<T>?
Content copied to clipboard
Link copied to clipboard
typealias CommonMessageToContentMapper<T> = suspend CommonMessage<T>.() -> T?
Content copied to clipboard
Link copied to clipboard
typealias EventMessageToEventMapper<T> = suspend ChatEventMessage<T>.() -> T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias PassportMessageMapper = suspend PassportMessage.() -> PassportData
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias PreCheckoutQueryMapper = suspend PreCheckoutQuery.() -> PreCheckoutQuery?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias ShippingQueryMapper = suspend ShippingQuery.() -> ShippingQuery?
Content copied to clipboard
Functions
Link copied to clipboard
inline suspend fun <T : MediaGroupContent> BehaviourContext.buildMediaGroupMessagesWaiter(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<MediaGroupMessage<T>>>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : MediaGroupContent> BehaviourContext.buildMediaGroupWaiter(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<O>>
Content copied to clipboard
Link copied to clipboard
suspend fun <T> BehaviourContext.expectFlow( initRequest: Request<*>? = 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
suspend fun <T> FlowsUpdatesFilter.expectFlow( bot: TelegramBot, initRequest: Request<*>? = 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
Link copied to clipboard
suspend fun <T> BehaviourContext.expectOne( 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
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
Link copied to clipboard
inline suspend fun <O> BehaviourContext.internalWaitChatJoinRequests(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<O>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitAnimation(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<AnimationContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitAnimationMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<AnimationContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitAnyInlineQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<InlineQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitAnyMediaGroupContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<MediaGroupContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitAnyMediaGroupContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<MediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitAnyPassportMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<EncryptedPassportElement>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitAudio( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<AudioContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitAudioMediaGroupContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<AudioMediaGroupContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitAudioMediaGroupContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<AudioMediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitAudioMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<CommonMessage<AudioContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitBaseChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<BaseChosenInlineResult>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitBaseInlineQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<BaseInlineQuery>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O> BehaviourContext.waitCallbackQueries(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<O>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitChannelChatCreatedEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChannelChatCreated>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitChannelChatCreatedEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<ChannelChatCreated>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitChannelEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChannelEvent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitChannelEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<ChannelEvent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitChatEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEvent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitChatEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<ChatEvent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitChatJoinRequests(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatJoinRequest>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitChatMemberUpdated(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatMemberUpdated>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : ChatMemberUpdatedUpdate> BehaviourContext.waitChatMemberUpdatedWithFilter(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatMemberUpdated>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChosenInlineResult>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O> BehaviourContext.waitChosenInlineResults(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<O>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitCommonChatMemberUpdated(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatMemberUpdated>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitCommonEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonEvent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitCommonEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<CommonEvent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitContact(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ContactContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitContactMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<ContactContent>>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : MessageContent> BehaviourContext.waitContent( initRequest: Request<*>? = null, includeMediaGroups: Boolean = true, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<O>
Content copied to clipboard
suspend fun BehaviourContext.waitContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<MessageContent>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : MessageContent> BehaviourContext.waitContentMessage( initRequest: Request<*>? = null, includeMediaGroups: Boolean = true, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<O>>
Content copied to clipboard
suspend fun BehaviourContext.waitContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<MessageContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDataCallbackQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<DataCallbackQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDeleteChatPhotoEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<DeleteChatPhoto>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDeleteChatPhotoEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<DeleteChatPhoto>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDice(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<DiceContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDiceMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<DiceContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDocument( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<DocumentContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDocumentMediaGroupContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<DocumentMediaGroupContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDocumentMediaGroupContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<DocumentMediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDocumentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<CommonMessage<DocumentContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDocumentsGroup(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<DocumentMediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitDocumentsGroupMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<MediaGroupMessage<DocumentMediaGroupContent>>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedAnimation(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<AnimationContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedAnimationMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<AnimationContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedAnyMediaGroupContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<MediaGroupContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedAnyMediaGroupContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<MediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedAudio( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<AudioContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedAudioMediaGroupContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<AudioMediaGroupContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedAudioMediaGroupContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<AudioMediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedAudioMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<CommonMessage<AudioContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedContact(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ContactContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedContactMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<ContactContent>>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : MessageContent> BehaviourContext.waitEditedContent( initRequest: Request<*>? = null, includeMediaGroups: Boolean = true, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<O>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : MessageContent> BehaviourContext.waitEditedContentMessage( initRequest: Request<*>? = null, includeMediaGroups: Boolean = true, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<O>>
Content copied to clipboard
suspend fun BehaviourContext.waitEditedContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<MessageContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedDice(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<DiceContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedDiceMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<DiceContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedDocument( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<DocumentContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedDocumentMediaGroupContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<DocumentMediaGroupContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedDocumentMediaGroupContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<DocumentMediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedDocumentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<CommonMessage<DocumentContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedGame(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<GameContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedGameMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<GameContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedInvoice(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<InvoiceContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedInvoiceMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<InvoiceContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedLiveLocation(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<LiveLocationContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedLiveLocationMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<LiveLocationContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedLocation(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<LocationContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedLocationMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<LocationContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedMedia( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<MediaContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedMediaMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<CommonMessage<MediaContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedMessageContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<MessageContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedMessageContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<MessageContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedPhoto( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<PhotoContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedPhotoMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<CommonMessage<PhotoContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedStaticLocation(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<StaticLocationContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedStaticLocationMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<StaticLocationContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedSticker(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<StickerContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedStickerMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<StickerContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedText(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<TextContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedTextedMediaContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<TextedMediaContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedTextedMediaContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<TextedMediaContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedTextMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<TextContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedVenue(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<VenueContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedVenueMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<VenueContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedVideo( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<VideoContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedVideoMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<CommonMessage<VideoContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedVideoNote(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<VideoNoteContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedVideoNoteMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<VideoNoteContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedVisualMediaGroupContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<VisualMediaGroupContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedVisualMediaGroupContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<VisualMediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedVoice(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<VoiceContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitEditedVoiceMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<VoiceContent>>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : ChatEvent> BehaviourContext.waitEvents(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<O>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : ChatEvent> BehaviourContext.waitEventsMessages(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<O>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitGame(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<GameContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitGameMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<GameContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitGameShortNameCallbackQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<GameShortNameCallbackQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitGroupChatCreatedEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<GroupChatCreated>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitGroupChatCreatedEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<GroupChatCreated>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitGroupEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<GroupEvent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitGroupEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<GroupEvent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitInlineMessageIdCallbackQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<InlineMessageIdCallbackQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitInlineMessageIdDataCallbackQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<InlineMessageIdDataCallbackQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitInlineMessageIdGameShortNameCallbackQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<InlineMessageIdGameShortNameCallbackQuery>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : InlineQuery> BehaviourContext.waitInlineQueries(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<O>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitInvoice(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<InvoiceContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitInvoiceMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<InvoiceContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitLeftChatMemberEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<LeftChatMember>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitLeftChatMemberEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<LeftChatMember>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitLiveLocation(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<LiveLocationContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitLiveLocationMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<LiveLocationContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitLocation(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<LocationContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitLocationChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<LocationChosenInlineResult>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitLocationInlineQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<LocationInlineQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitLocationMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<LocationContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitMedia( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<MediaContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitMediaGroup(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<MediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitMediaGroupMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<MediaGroupMessage<MediaGroupContent>>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitMediaMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<CommonMessage<MediaContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitMessageAutoDeleteTimerChangedEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<MessageAutoDeleteTimerChanged>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitMessageAutoDeleteTimerChangedEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<MessageAutoDeleteTimerChanged>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitMessageCallbackQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<MessageCallbackQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitMessageDataCallbackQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<MessageDataCallbackQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitMessageGameShortNameCallbackQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<MessageGameShortNameCallbackQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitMyChatMemberUpdated(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatMemberUpdated>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitNewChatMembersEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<NewChatMembers>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitNewChatMembersEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<NewChatMembers>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitNewChatPhotoEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<NewChatPhoto>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitNewChatPhotoEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<NewChatPhoto>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitNewChatTitleEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<NewChatTitle>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitNewChatTitleEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<NewChatTitle>>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : EncryptedPassportElement> BehaviourContext.waitPassportMessagesWith(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<O>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPhoto( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<PhotoContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPhotoGallery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<PhotoContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPhotoGalleryMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<MediaGroupMessage<PhotoContent>>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPhotoMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<CommonMessage<PhotoContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPinnedMessageEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<PinnedMessage>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPinnedMessageEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<PinnedMessage>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPlaylist(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<AudioMediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPlaylistMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<MediaGroupMessage<AudioMediaGroupContent>>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPoll(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<PollContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPollAnswers(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<PollAnswer>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPollMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<PollContent>>
Content copied to clipboard
Link copied to clipboard
inline suspend fun <O : Poll> BehaviourContext.waitPolls(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<O>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<Poll>
Content copied to clipboard
This wait will be triggered only for stopped polls and polls, which are sent by the bot
Link copied to clipboard
suspend fun BehaviourContext.waitPreCheckoutQueries(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<PreCheckoutQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPrivateEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<PrivateEvent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPrivateEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<PrivateEvent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitProximityAlertTriggeredEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ProximityAlertTriggered>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitProximityAlertTriggeredEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<ProximityAlertTriggered>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPublicChatEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<PublicChatEvent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitPublicChatEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<PublicChatEvent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitQuizPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<QuizPoll>
Content copied to clipboard
This wait will be triggered only for stopped polls and polls, which are sent by the bot
Link copied to clipboard
suspend fun BehaviourContext.waitRegularPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<RegularPoll>
Content copied to clipboard
This wait will be triggered only for stopped polls and polls, which are sent by the bot
Link copied to clipboard
suspend fun BehaviourContext.waitShippingQueries(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ShippingQuery>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitStaticLocation(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<StaticLocationContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitStaticLocationMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<StaticLocationContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitSticker(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<StickerContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitStickerMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<StickerContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitSuccessfulPaymentEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<SuccessfulPaymentEvent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitSuccessfulPaymentEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<SuccessfulPaymentEvent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitSupergroupChatCreatedEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<SupergroupChatCreated>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitSupergroupChatCreatedEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<SupergroupChatCreated>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitSupergroupEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<SupergroupEvent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitSupergroupEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<SupergroupEvent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitText(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<TextContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitTextedMediaContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<TextedMediaContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitTextedMediaContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<TextedMediaContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitTextMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<TextContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitUnknownCallbackQuery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<UnknownCallbackQueryType>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitUserLoggedInEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<UserLoggedIn>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitUserLoggedInEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<UserLoggedIn>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVenue(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<VenueContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVenueMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<VenueContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideo( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<VideoContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoChatEndedEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<VideoChatEnded>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoChatEndedEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<VideoChatEnded>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoChatEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<VideoChatEvent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoChatEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<VideoChatEvent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoChatParticipantsInvitedEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<VideoChatParticipantsInvited>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoChatParticipantsInvitedEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<VideoChatParticipantsInvited>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoChatStartedEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<VideoChatStarted>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoChatStartedEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<VideoChatStarted>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoGallery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<VideoContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoGalleryMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<MediaGroupMessage<VideoContent>>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = false): Flow<CommonMessage<VideoContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoNote(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<VideoNoteContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVideoNoteMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<VideoNoteContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVisualGallery(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<VisualMediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVisualGalleryMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<List<MediaGroupMessage<VisualMediaGroupContent>>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVisualMediaGroupContent( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<VisualMediaGroupContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVisualMediaGroupContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean = true): Flow<CommonMessage<VisualMediaGroupContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVoice(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<VoiceContent>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitVoiceMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<VoiceContent>>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitWebAppDataEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<WebAppData>
Content copied to clipboard
Link copied to clipboard
suspend fun BehaviourContext.waitWebAppDataEventsMessages(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<ChatEventMessage<WebAppData>>
Content copied to clipboard