Package dev. inmo. tgbotapi. extensions. utils
Types
Functions
Link copied to clipboard
fun <T> aggregateFlows( withScope: CoroutineScope, vararg flows: Flow<T>, internalBufferSize: Int = 64): Flow<T>
Content copied to clipboard
Analog of merge function for Flows. The difference is in the usage of BroadcastChannel in this case
Link copied to clipboard
Link copied to clipboard
inline fun ChatMember.asAdministratorChatMember(): AdministratorChatMember?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asAnonymousGroupContentMessage(): AnonymousGroupContentMessage<MessageContent>?
Content copied to clipboard
Link copied to clipboard
inline fun Message.asAnonymousGroupContentMessageImpl(): AnonymousGroupContentMessageImpl<MessageContent>?
Content copied to clipboard
Link copied to clipboard
inline fun ScheduledCloseInfo.asApproximateScheduledCloseInfo(): ApproximateScheduledCloseInfo?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asAudioMediaGroupContent(): AudioMediaGroupContent?
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.asAudioMediaGroupMemberTelegramMedia(): AudioMediaGroupMemberTelegramMedia?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.asBankStatementSecureValue(): BankStatementSecureValue?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChosenInlineResult.asBaseChosenInlineResult(): BaseChosenInlineResult?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.asBasketballDiceAnimationType(): BasketballDiceAnimationType?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.asBowlingDiceAnimationType(): BowlingDiceAnimationType?
Content copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.asCallbackDataInlineKeyboardButton(): CallbackDataInlineKeyboardButton?
Content copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.asCallbackGameInlineKeyboardButton(): CallbackGameInlineKeyboardButton?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asChannelContentMessage(): ChannelContentMessage<MessageContent>?
Content copied to clipboard
Link copied to clipboard
inline fun Message.asChannelContentMessageImpl(): UnconnectedFromChannelGroupContentMessageImpl<MessageContent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asChannelEventMessage(): ChannelEventMessage<ChannelEvent>?
Content copied to clipboard
Link copied to clipboard
inline fun Message.asChannelMediaGroupMessage(): ChannelMediaGroupMessage<MediaGroupContent>?
Content copied to clipboard
Link copied to clipboard
inline fun Update.asChannelPostMediaGroupUpdate(): ChannelPostMediaGroupUpdate?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatInviteLink.asChatInviteLinkUnlimited(): ChatInviteLinkUnlimited?
Content copied to clipboard
Link copied to clipboard
inline fun ChatInviteLink.asChatInviteLinkWithJoinRequest(): ChatInviteLinkWithJoinRequest?
Content copied to clipboard
Link copied to clipboard
inline fun ChatInviteLink.asChatInviteLinkWithLimitedMembers(): ChatInviteLinkWithLimitedMembers?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.asChosenInlineResultUpdate(): ChosenInlineResultUpdate?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.asCommonChatMemberUpdatedUpdate(): CommonChatMemberUpdatedUpdate?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asCommonGroupContentMessage(): CommonGroupContentMessage<MessageContent>?
Content copied to clipboard
Link copied to clipboard
inline fun Message.asCommonGroupEventMessage(): CommonGroupEventMessage<GroupEvent>?
Content copied to clipboard
Link copied to clipboard
inline fun Message.asCommonMediaGroupMessage(): CommonMediaGroupMessage<MediaGroupContent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.asCommonPassportSecureValue(): CommonPassportSecureValue?
Content copied to clipboard
Link copied to clipboard
inline fun Message.asCommonSupergroupEventMessage(): CommonSupergroupEventMessage<SupergroupEvent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asConnectedFromChannelGroupContentMessage(): ConnectedFromChannelGroupContentMessage<MessageContent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.asCubeDiceAnimationType(): CubeDiceAnimationType?
Content copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.asCustomDiceAnimationType(): CustomDiceAnimationType?
Content copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.asDartsDiceAnimationType(): DartsDiceAnimationType?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asDescribedInlineQueryResult(): DescribedInlineQueryResult?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asDocumentMediaGroupContent(): DocumentMediaGroupContent?
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.asDocumentMediaGroupMemberTelegramMedia(): DocumentMediaGroupMemberTelegramMedia?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.asDriverLicenseSecureValue(): DriverLicenseSecureValue?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.asEditChannelPostMediaGroupUpdate(): EditChannelPostMediaGroupUpdate?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.asEditMessageMediaGroupUpdate(): EditMessageMediaGroupUpdate?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedAddress(): EncryptedAddress?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementTranslatable(): EncryptedPassportElementTranslatable?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithData(): EncryptedPassportElementWithData?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithEmail(): EncryptedPassportElementWithEmail?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithFilesCollection(): EncryptedPassportElementWithFilesCollection?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithFrontSide(): EncryptedPassportElementWithFrontSide?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithPhoneNumber(): EncryptedPassportElementWithPhoneNumber?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithReverseSide(): EncryptedPassportElementWithReverseSide?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithSelfie(): EncryptedPassportElementWithSelfie?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithTranslatableFilesCollection(): EncryptedPassportElementWithTranslatableFilesCollection?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithTranslatableIDDocument(): EncryptedPassportElementWithTranslatableIDDocument?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPersonalDetails(): EncryptedPersonalDetails?
Content copied to clipboard
Link copied to clipboard
inline fun ScheduledCloseInfo.asExactScheduledCloseInfo(): ExactScheduledCloseInfo?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asFileInlineQueryResult(): FileInlineQueryResult?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.asFootballDiceAnimationType(): FootballDiceAnimationType?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ForwardInfo.asForwardFromChannelInfo(): ForwardFromChannelInfo?
Content copied to clipboard
Link copied to clipboard
inline fun ForwardInfo.asForwardFromPublicChatInfo(): ForwardFromPublicChatInfo?
Content copied to clipboard
Link copied to clipboard
inline fun ForwardInfo.asForwardFromSupergroupInfo(): ForwardFromSupergroupInfo?
Content copied to clipboard
Link copied to clipboard
inline fun Message.asFromChannelGroupContentMessage(): FromChannelGroupContentMessage<MessageContent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.asGameShortNameCallbackQuery(): GameShortNameCallbackQuery?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asGroupContentMessage(): GroupContentMessage<MessageContent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.asIdentityCardSecureValue(): IdentityCardSecureValue?
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.asIdentityWithReverseSideSecureValue(): IdentityWithReverseSideSecureValue?
Content copied to clipboard
Link copied to clipboard
inline fun KeyboardMarkup.asInlineKeyboardMarkup(): InlineKeyboardMarkup?
Content copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.asInlineMessageIdCallbackQuery(): InlineMessageIdCallbackQuery?
Content copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.asInlineMessageIdDataCallbackQuery(): InlineMessageIdDataCallbackQuery?
Content copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.asInlineMessageIdGameShortNameCallbackQuery(): InlineMessageIdGameShortNameCallbackQuery?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultArticle(): InlineQueryResultArticle?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultAudio(): InlineQueryResultAudio?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultAudioCached(): InlineQueryResultAudioCached?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultAudioCommon(): InlineQueryResultAudioCommon?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultContact(): InlineQueryResultContact?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultDocument(): InlineQueryResultDocument?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultDocumentCached(): InlineQueryResultDocumentCached?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultDocumentCommon(): InlineQueryResultDocumentCommon?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGame(): InlineQueryResultGame?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGif(): InlineQueryResultGif?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGifCached(): InlineQueryResultGifCached?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGifCommon(): InlineQueryResultGifCommon?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultLocation(): InlineQueryResultLocation?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultMpeg4Gif(): InlineQueryResultMpeg4Gif?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultMpeg4GifCached(): InlineQueryResultMpeg4GifCached?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultMpeg4GifCommon(): InlineQueryResultMpeg4GifCommon?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultPhoto(): InlineQueryResultPhoto?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultPhotoCached(): InlineQueryResultPhotoCached?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultPhotoCommon(): InlineQueryResultPhotoCommon?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultStickerCached(): InlineQueryResultStickerCached?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVenue(): InlineQueryResultVenue?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVideo(): InlineQueryResultVideo?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVideoCached(): InlineQueryResultVideoCached?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVideoCommon(): InlineQueryResultVideoCommon?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVoice(): InlineQueryResultVoice?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVoiceCached(): InlineQueryResultVoiceCached?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVoiceCommon(): InlineQueryResultVoiceCommon?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InputMessageContent.asInputContactMessageContent(): InputContactMessageContent?
Content copied to clipboard
Link copied to clipboard
inline fun CommonSendInvoiceData.asInputInvoiceMessageContent(): InputInvoiceMessageContent?
Content copied to clipboard
inline fun InputMessageContent.asInputInvoiceMessageContent(): InputInvoiceMessageContent?
Content copied to clipboard
Link copied to clipboard
inline fun InputMessageContent.asInputLocationMessageContent(): InputLocationMessageContent?
Content copied to clipboard
Link copied to clipboard
inline fun InputMessageContent.asInputTextMessageContent(): InputTextMessageContent?
Content copied to clipboard
Link copied to clipboard
inline fun InputMessageContent.asInputVenueMessageContent(): InputVenueMessageContent?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asInternalPassport(): InternalPassport?
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.asInternalPassportSecureValue(): InternalPassportSecureValue?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asLiveLocationContent(): LiveLocationContent?
Content copied to clipboard
Link copied to clipboard
inline fun ChosenInlineResult.asLocationChosenInlineResult(): LocationChosenInlineResult?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.asLoginURLInlineKeyboardButton(): LoginURLInlineKeyboardButton?
Content copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asMediaCollectionContent(): MediaCollectionContent<TelegramMediaFile>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.asMediaGroupMemberTelegramMedia(): MediaGroupMemberTelegramMedia?
Content copied to clipboard
Link copied to clipboard
inline fun Message.asMediaGroupMessage(): MediaGroupMessage<MediaGroupContent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.asMessageAutoDeleteTimerChanged(): MessageAutoDeleteTimerChanged?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.asMessageDataCallbackQuery(): MessageDataCallbackQuery?
Content copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.asMessageGameShortNameCallbackQuery(): MessageGameShortNameCallbackQuery?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.asMyChatMemberUpdatedUpdate(): MyChatMemberUpdatedUpdate?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asOptionallyTitledInlineQueryResult(): OptionallyTitledInlineQueryResult?
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.asOtherDocumentsSecureValue(): OtherDocumentsSecureValue?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorDataField(): PassportElementErrorDataField?
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorFile(): PassportElementErrorFile?
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorFiles(): PassportElementErrorFiles?
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorFrontSide(): PassportElementErrorFrontSide?
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorReverseSide(): PassportElementErrorReverseSide?
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorSelfie(): PassportElementErrorSelfie?
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorTranslationFile(): PassportElementErrorTranslationFile?
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorTranslationFiles(): PassportElementErrorTranslationFiles?
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorUnspecified(): PassportElementErrorUnspecified?
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementFileError(): PassportElementFileError?
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportElementFilesError(): PassportElementFilesError?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportMultipleElementsError(): PassportMultipleElementsError?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asPassportRegistration(): PassportRegistration?
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.asPassportRegistrationSecureValue(): PassportRegistrationSecureValue?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asPassportSingleElementError(): PassportSingleElementError?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.asPayInlineKeyboardButton(): PayInlineKeyboardButton?
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.asPersonalDetailsSecureValue(): PersonalDetailsSecureValue?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asPossiblyForwardedMessage(): PossiblyForwardedMessage?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asPossiblySentViaBotCommonMessage(): PossiblySentViaBotCommonMessage<MessageContent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asPrivateContentMessage(): PrivateContentMessage<MessageContent>?
Content copied to clipboard
Link copied to clipboard
inline fun Message.asPrivateContentMessageImpl(): PrivateContentMessageImpl<MessageContent>?
Content copied to clipboard
Link copied to clipboard
inline fun Message.asPrivateEventMessage(): PrivateEventMessage<PrivateEvent>?
Content copied to clipboard
Link copied to clipboard
inline fun ChatEvent.asProximityAlertTriggered(): ProximityAlertTriggered?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asPublicContentMessage(): PublicContentMessage<MessageContent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asRentalAgreement(): RentalAgreement?
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.asRentalAgreementSecureValue(): RentalAgreementSecureValue?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatInviteLink.asSecondaryChatInviteLink(): SecondaryChatInviteLink?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.asSecureValueWithReverseSide(): SecureValueWithReverseSide?
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.asSecureValueWithTranslations(): SecureValueWithTranslations?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asSizedInlineQueryResult(): SizedInlineQueryResult?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.asSlotMachineDiceAnimationType(): SlotMachineDiceAnimationType?
Content copied to clipboard
Link copied to clipboard
inline fun ChatMember.asSpecialRightsChatMember(): SpecialRightsChatMember?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asStaticLocationContent(): StaticLocationContent?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TextSource.asStrikethroughTextSource(): StrikethroughTextSource?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asSupergroupEventMessage(): SupergroupEventMessage<SupergroupEvent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.asSwitchInlineQueryCurrentChatInlineKeyboardButton(): SwitchInlineQueryCurrentChatInlineKeyboardButton?
Content copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.asSwitchInlineQueryInlineKeyboardButton(): SwitchInlineQueryInlineKeyboardButton?
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.asTelegramMediaAnimation(): TelegramMediaAnimation?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.asTelegramMediaDocument(): TelegramMediaDocument?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.asTemporalRegistrationSecureValue(): TemporalRegistrationSecureValue?
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asTemporaryRegistration(): TemporaryRegistration?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asThumbedInlineQueryResult(): ThumbedInlineQueryResult?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asThumbedWithMimeTypeInlineQueryResult(): ThumbedWithMimeTypeInlineQueryResult?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asThumbSizedInlineQueryResult(): ThumbSizedInlineQueryResult?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asTitledInlineQueryResult(): TitledInlineQueryResult?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asUnconnectedFromChannelGroupContentMessage(): UnconnectedFromChannelGroupContentMessage<MessageContent>?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.asUnknownCallbackQueryType(): UnknownCallbackQueryType?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asUnknownEncryptedPassportElement(): UnknownEncryptedPassportElement?
Content copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.asUnknownInlineKeyboardButton(): UnknownInlineKeyboardButton?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun PassportElementError.asUnknownPassportElementError(): UnknownPassportElementError?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.asURLInlineKeyboardButton(): URLInlineKeyboardButton?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asUrlInlineQueryResult(): UrlInlineQueryResult?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.asUtilityBillSecureValue(): UtilityBillSecureValue?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.asVideoChatParticipantsInvited(): VideoChatParticipantsInvited?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asVisualMediaGroupContent(): VisualMediaGroupContent?
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.asVisualMediaGroupMemberTelegramMedia(): VisualMediaGroupMemberTelegramMedia?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.asWebAppKeyboardButton(): WebAppKeyboardButton?
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asWithInputMessageContentInlineQueryResult(): WithInputMessageContentInlineQueryResult?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <C : MessageContent, T : ContentMessage<C>> Flow<T>.commonMessages(): Flow<CommonMessage<C>>
Content copied to clipboard
Shortcut for onlyCommonMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyAnimationContentMessages(): Flow<ContentMessage<AnimationContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyAudioContentMessages(): Flow<ContentMessage<AudioContent>>
Content copied to clipboard
Link copied to clipboard
fun <C : MessageContent, T : ContentMessage<C>> Flow<T>.onlyCommonMessages(): Flow<CommonMessage<C>>
Content copied to clipboard
Simple factory to convert ContentMessage to a CommonMessage
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyContactContentMessages(): Flow<ContentMessage<ContactContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyDiceContentMessages(): Flow<ContentMessage<DiceContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyDocumentContentMessages(): Flow<ContentMessage<DocumentContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyGameContentMessages(): Flow<ContentMessage<GameContent>>
Content copied to clipboard
Link copied to clipboard
fun <T : CallbackQuery> Flow<T>.onlyInlineMessageIdDataCallbackQueries(): Flow<InlineMessageIdDataCallbackQuery>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyInvoiceContentMessages(): Flow<ContentMessage<InvoiceContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyLocationContentMessages(): Flow<ContentMessage<LocationContent>>
Content copied to clipboard
Link copied to clipboard
fun <T : CallbackQuery> Flow<T>.onlyMessageDataCallbackQueries(): Flow<MessageDataCallbackQuery>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyPhotoContentMessages(): Flow<ContentMessage<PhotoContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyPollContentMessages(): Flow<ContentMessage<PollContent>>
Content copied to clipboard
Link copied to clipboard
fun <MC : MessageContent, M : ContentMessage<MC>> Flow<M>.onlySentViaBot(): Flow<Any>
Content copied to clipboard
Filter the messages and checking that incoming CommonMessage is PossiblySentViaBotCommonMessage and its PossiblySentViaBotCommonMessage.senderBot is not null
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyStickerContentMessages(): Flow<ContentMessage<StickerContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyTextContentMessages(): Flow<ContentMessage<TextContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVenueContentMessages(): Flow<ContentMessage<VenueContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVideoContentMessages(): Flow<ContentMessage<VideoContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVideoNoteContentMessages(): Flow<ContentMessage<VideoNoteContent>>
Content copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVoiceContentMessages(): Flow<ContentMessage<VoiceContent>>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatMember.requireAdministratorChatMember(): AdministratorChatMember
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ForwardInfo.requireAnonymousForwardInfo(): AnonymousForwardInfo
Content copied to clipboard
Link copied to clipboard
inline fun Message.requireAnonymousGroupContentMessage(): AnonymousGroupContentMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
inline fun Message.requireAnonymousGroupContentMessageImpl(): AnonymousGroupContentMessageImpl<MessageContent>
Content copied to clipboard
Link copied to clipboard
inline fun ScheduledCloseInfo.requireApproximateScheduledCloseInfo(): ApproximateScheduledCloseInfo
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireAudioMediaGroupContent(): AudioMediaGroupContent
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireAudioMediaGroupMemberTelegramMedia(): AudioMediaGroupMemberTelegramMedia
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireBankStatement(): BankStatement
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireBankStatementSecureValue(): BankStatementSecureValue
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChosenInlineResult.requireBaseChosenInlineResult(): BaseChosenInlineResult
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.requireBasketballDiceAnimationType(): BasketballDiceAnimationType
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TextSource.requireBotCommandTextSource(): BotCommandTextSource
Content copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.requireBowlingDiceAnimationType(): BowlingDiceAnimationType
Content copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.requireCallbackDataInlineKeyboardButton(): CallbackDataInlineKeyboardButton
Content copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.requireCallbackGameInlineKeyboardButton(): CallbackGameInlineKeyboardButton
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireChannelContentMessage(): ChannelContentMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
inline fun Message.requireChannelContentMessageImpl(): UnconnectedFromChannelGroupContentMessageImpl<MessageContent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireChannelEventMessage(): ChannelEventMessage<ChannelEvent>
Content copied to clipboard
Link copied to clipboard
inline fun Message.requireChannelMediaGroupMessage(): ChannelMediaGroupMessage<MediaGroupContent>
Content copied to clipboard
Link copied to clipboard
inline fun Update.requireChannelPostMediaGroupUpdate(): ChannelPostMediaGroupUpdate
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireChatEventMessage(): ChatEventMessage<ChatEvent>
Content copied to clipboard
Link copied to clipboard
inline fun ChatInviteLink.requireChatInviteLinkUnlimited(): ChatInviteLinkUnlimited
Content copied to clipboard
Link copied to clipboard
inline fun ChatInviteLink.requireChatInviteLinkWithJoinRequest(): ChatInviteLinkWithJoinRequest
Content copied to clipboard
Link copied to clipboard
inline fun ChatInviteLink.requireChatInviteLinkWithLimitedMembers(): ChatInviteLinkWithLimitedMembers
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireChatMemberUpdatedUpdate(): ChatMemberUpdatedUpdate
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireChosenInlineResultUpdate(): ChosenInlineResultUpdate
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireCommonChatMemberUpdatedUpdate(): CommonChatMemberUpdatedUpdate
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireCommonGroupContentMessage(): CommonGroupContentMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
inline fun Message.requireCommonGroupEventMessage(): CommonGroupEventMessage<GroupEvent>
Content copied to clipboard
Link copied to clipboard
inline fun Message.requireCommonMediaGroupMessage(): CommonMediaGroupMessage<MediaGroupContent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireCommonPassport(): CommonPassport
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireCommonPassportSecureValue(): CommonPassportSecureValue
Content copied to clipboard
Link copied to clipboard
inline fun Message.requireCommonSupergroupEventMessage(): CommonSupergroupEventMessage<SupergroupEvent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireConnectedFromChannelGroupContentMessage(): ConnectedFromChannelGroupContentMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireContentMessage(): ContentMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.requireCubeDiceAnimationType(): CubeDiceAnimationType
Content copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.requireCustomDiceAnimationType(): CustomDiceAnimationType
Content copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.requireDartsDiceAnimationType(): DartsDiceAnimationType
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireDescribedInlineQueryResult(): DescribedInlineQueryResult
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireDocumentMediaGroupContent(): DocumentMediaGroupContent
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireDocumentMediaGroupMemberTelegramMedia(): DocumentMediaGroupMemberTelegramMedia
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireDriverLicense(): DriverLicense
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireDriverLicenseSecureValue(): DriverLicenseSecureValue
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireDuratedTelegramMedia(): DuratedTelegramMedia
Content copied to clipboard
Link copied to clipboard
inline fun Update.requireEditChannelPostMediaGroupUpdate(): EditChannelPostMediaGroupUpdate
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireEditMessageMediaGroupUpdate(): EditMessageMediaGroupUpdate
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedAddress(): EncryptedAddress
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementTranslatable(): EncryptedPassportElementTranslatable
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithData(): EncryptedPassportElementWithData
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithEmail(): EncryptedPassportElementWithEmail
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithFilesCollection(): EncryptedPassportElementWithFilesCollection
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithFrontSide(): EncryptedPassportElementWithFrontSide
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithPhoneNumber(): EncryptedPassportElementWithPhoneNumber
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithReverseSide(): EncryptedPassportElementWithReverseSide
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithSelfie(): EncryptedPassportElementWithSelfie
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithTranslatableFilesCollection(): EncryptedPassportElementWithTranslatableFilesCollection
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithTranslatableIDDocument(): EncryptedPassportElementWithTranslatableIDDocument
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPersonalDetails(): EncryptedPersonalDetails
Content copied to clipboard
Link copied to clipboard
inline fun ScheduledCloseInfo.requireExactScheduledCloseInfo(): ExactScheduledCloseInfo
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireFileInlineQueryResult(): FileInlineQueryResult
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.requireFootballDiceAnimationType(): FootballDiceAnimationType
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ForwardInfo.requireForwardFromChannelInfo(): ForwardFromChannelInfo
Content copied to clipboard
Link copied to clipboard
inline fun ForwardInfo.requireForwardFromPublicChatInfo(): ForwardFromPublicChatInfo
Content copied to clipboard
Link copied to clipboard
inline fun ForwardInfo.requireForwardFromSupergroupInfo(): ForwardFromSupergroupInfo
Content copied to clipboard
Link copied to clipboard
inline fun Message.requireFromChannelGroupContentMessage(): FromChannelGroupContentMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.requireGameShortNameCallbackQuery(): GameShortNameCallbackQuery
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireGroupContentMessage(): GroupContentMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireGroupEventMessage(): GroupEventMessage<GroupEvent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireIdentityCardSecureValue(): IdentityCardSecureValue
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireIdentityWithReverseSideSecureValue(): IdentityWithReverseSideSecureValue
Content copied to clipboard
Link copied to clipboard
inline fun KeyboardMarkup.requireInlineKeyboardMarkup(): InlineKeyboardMarkup
Content copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.requireInlineMessageIdCallbackQuery(): InlineMessageIdCallbackQuery
Content copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.requireInlineMessageIdDataCallbackQuery(): InlineMessageIdDataCallbackQuery
Content copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.requireInlineMessageIdGameShortNameCallbackQuery(): InlineMessageIdGameShortNameCallbackQuery
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultArticle(): InlineQueryResultArticle
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultAudio(): InlineQueryResultAudio
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultAudioCached(): InlineQueryResultAudioCached
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultAudioCommon(): InlineQueryResultAudioCommon
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultContact(): InlineQueryResultContact
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultDocument(): InlineQueryResultDocument
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultDocumentCached(): InlineQueryResultDocumentCached
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultDocumentCommon(): InlineQueryResultDocumentCommon
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGame(): InlineQueryResultGame
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGif(): InlineQueryResultGif
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGifCached(): InlineQueryResultGifCached
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGifCommon(): InlineQueryResultGifCommon
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultLocation(): InlineQueryResultLocation
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultMpeg4Gif(): InlineQueryResultMpeg4Gif
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultMpeg4GifCached(): InlineQueryResultMpeg4GifCached
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultMpeg4GifCommon(): InlineQueryResultMpeg4GifCommon
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultPhoto(): InlineQueryResultPhoto
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultPhotoCached(): InlineQueryResultPhotoCached
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultPhotoCommon(): InlineQueryResultPhotoCommon
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultStickerCached(): InlineQueryResultStickerCached
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVenue(): InlineQueryResultVenue
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVideo(): InlineQueryResultVideo
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVideoCached(): InlineQueryResultVideoCached
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVideoCommon(): InlineQueryResultVideoCommon
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVoice(): InlineQueryResultVoice
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVoiceCached(): InlineQueryResultVoiceCached
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVoiceCommon(): InlineQueryResultVoiceCommon
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InputMessageContent.requireInputContactMessageContent(): InputContactMessageContent
Content copied to clipboard
Link copied to clipboard
inline fun CommonSendInvoiceData.requireInputInvoiceMessageContent(): InputInvoiceMessageContent
Content copied to clipboard
inline fun InputMessageContent.requireInputInvoiceMessageContent(): InputInvoiceMessageContent
Content copied to clipboard
Link copied to clipboard
inline fun InputMessageContent.requireInputLocationMessageContent(): InputLocationMessageContent
Content copied to clipboard
Link copied to clipboard
inline fun InputMessageContent.requireInputTextMessageContent(): InputTextMessageContent
Content copied to clipboard
Link copied to clipboard
inline fun InputMessageContent.requireInputVenueMessageContent(): InputVenueMessageContent
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireInternalPassport(): InternalPassport
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireInternalPassportSecureValue(): InternalPassportSecureValue
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireLiveLocationContent(): LiveLocationContent
Content copied to clipboard
Link copied to clipboard
inline fun ChosenInlineResult.requireLocationChosenInlineResult(): LocationChosenInlineResult
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.requireLoginURLInlineKeyboardButton(): LoginURLInlineKeyboardButton
Content copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireMediaCollectionContent(): MediaCollectionContent<TelegramMediaFile>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireMediaGroupContent(): MediaGroupContent
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireMediaGroupMemberTelegramMedia(): MediaGroupMemberTelegramMedia
Content copied to clipboard
Link copied to clipboard
inline fun Message.requireMediaGroupMessage(): MediaGroupMessage<MediaGroupContent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.requireMessageAutoDeleteTimerChanged(): MessageAutoDeleteTimerChanged
Content copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.requireMessageCallbackQuery(): MessageCallbackQuery
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.requireMessageDataCallbackQuery(): MessageDataCallbackQuery
Content copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.requireMessageGameShortNameCallbackQuery(): MessageGameShortNameCallbackQuery
Content copied to clipboard
Link copied to clipboard
inline fun Update.requireMessageMediaGroupUpdate(): MessageMediaGroupUpdate
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TextSource.requireMultilevelTextSource(): MultilevelTextSource
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireMyChatMemberUpdatedUpdate(): MyChatMemberUpdatedUpdate
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireOptionallyTitledInlineQueryResult(): OptionallyTitledInlineQueryResult
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireOtherDocumentsSecureValue(): OtherDocumentsSecureValue
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorDataField(): PassportElementErrorDataField
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorFile(): PassportElementErrorFile
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorFiles(): PassportElementErrorFiles
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorFrontSide(): PassportElementErrorFrontSide
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorReverseSide(): PassportElementErrorReverseSide
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorSelfie(): PassportElementErrorSelfie
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorTranslationFile(): PassportElementErrorTranslationFile
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorTranslationFiles(): PassportElementErrorTranslationFiles
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorUnspecified(): PassportElementErrorUnspecified
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementFileError(): PassportElementFileError
Content copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportElementFilesError(): PassportElementFilesError
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportMultipleElementsError(): PassportMultipleElementsError
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requirePassportRegistration(): PassportRegistration
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requirePassportRegistrationSecureValue(): PassportRegistrationSecureValue
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requirePassportSingleElementError(): PassportSingleElementError
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.requirePayInlineKeyboardButton(): PayInlineKeyboardButton
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requirePersonalDetailsSecureValue(): PersonalDetailsSecureValue
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TextSource.requirePhoneNumberTextSource(): PhoneNumberTextSource
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.requirePlayableMediaFile(): PlayableMediaFile
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requirePossiblyForwardedMessage(): PossiblyForwardedMessage
Content copied to clipboard
Link copied to clipboard
inline fun Message.requirePossiblyPaymentMessage(): PossiblyPaymentMessage
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requirePossiblySentViaBotCommonMessage(): PossiblySentViaBotCommonMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
inline fun Update.requirePreCheckoutQueryUpdate(): PreCheckoutQueryUpdate
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requirePrivateContentMessage(): PrivateContentMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
inline fun Message.requirePrivateContentMessageImpl(): PrivateContentMessageImpl<MessageContent>
Content copied to clipboard
Link copied to clipboard
inline fun Message.requirePrivateEventMessage(): PrivateEventMessage<PrivateEvent>
Content copied to clipboard
Link copied to clipboard
inline fun ChatEvent.requireProximityAlertTriggered(): ProximityAlertTriggered
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requirePublicContentMessage(): PublicContentMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun BotAction.requireRecordVideoNoteAction(): RecordVideoNoteAction
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireRentalAgreement(): RentalAgreement
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireRentalAgreementSecureValue(): RentalAgreementSecureValue
Content copied to clipboard
Link copied to clipboard
inline fun KeyboardMarkup.requireReplyKeyboardMarkup(): ReplyKeyboardMarkup
Content copied to clipboard
Link copied to clipboard
inline fun KeyboardMarkup.requireReplyKeyboardRemove(): ReplyKeyboardRemove
Content copied to clipboard
Link copied to clipboard
inline fun ChatMember.requireRestrictedChatMember(): RestrictedChatMember
Content copied to clipboard
Link copied to clipboard
inline fun ChatInviteLink.requireSecondaryChatInviteLink(): SecondaryChatInviteLink
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithFiles(): SecureValueWithFiles
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithReverseSide(): SecureValueWithReverseSide
Content copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithTranslations(): SecureValueWithTranslations
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireSizedInlineQueryResult(): SizedInlineQueryResult
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun DiceAnimationType.requireSlotMachineDiceAnimationType(): SlotMachineDiceAnimationType
Content copied to clipboard
Link copied to clipboard
inline fun ChatMember.requireSpecialRightsChatMember(): SpecialRightsChatMember
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireStaticLocationContent(): StaticLocationContent
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TextSource.requireStrikethroughTextSource(): StrikethroughTextSource
Content copied to clipboard
Link copied to clipboard
inline fun ChatEvent.requireSuccessfulPaymentEvent(): SuccessfulPaymentEvent
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.requireSupergroupChatCreated(): SupergroupChatCreated
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireSupergroupEventMessage(): SupergroupEventMessage<SupergroupEvent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.requireSwitchInlineQueryCurrentChatInlineKeyboardButton(): SwitchInlineQueryCurrentChatInlineKeyboardButton
Content copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.requireSwitchInlineQueryInlineKeyboardButton(): SwitchInlineQueryInlineKeyboardButton
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireTelegramMediaAnimation(): TelegramMediaAnimation
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireTelegramMediaDocument(): TelegramMediaDocument
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireTemporalRegistrationSecureValue(): TemporalRegistrationSecureValue
Content copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireTemporaryRegistration(): TemporaryRegistration
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireTextedMediaContent(): TextedMediaContent
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TextSource.requireTextMentionTextSource(): TextMentionTextSource
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireThumbedInlineQueryResult(): ThumbedInlineQueryResult
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireThumbedTelegramMedia(): ThumbedTelegramMedia
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireThumbedWithMimeTypeInlineQueryResult(): ThumbedWithMimeTypeInlineQueryResult
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireThumbSizedInlineQueryResult(): ThumbSizedInlineQueryResult
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireTitledInlineQueryResult(): TitledInlineQueryResult
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireTitledTelegramMedia(): TitledTelegramMedia
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireUnconnectedFromChannelGroupContentMessage(): UnconnectedFromChannelGroupContentMessage<MessageContent>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.requireUnknownCallbackQueryType(): UnknownCallbackQueryType
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireUnknownEncryptedPassportElement(): UnknownEncryptedPassportElement
Content copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.requireUnknownInlineKeyboardButton(): UnknownInlineKeyboardButton
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun PassportElementError.requireUnknownPassportElementError(): UnknownPassportElementError
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun BotAction.requireUploadVideoNoteAction(): UploadVideoNoteAction
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.requireURLInlineKeyboardButton(): URLInlineKeyboardButton
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireUrlInlineQueryResult(): UrlInlineQueryResult
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireUtilityBillSecureValue(): UtilityBillSecureValue
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.requireVideoChatParticipantsInvited(): VideoChatParticipantsInvited
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireVisualMediaGroupContent(): VisualMediaGroupContent
Content copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireVisualMediaGroupMemberTelegramMedia(): VisualMediaGroupMemberTelegramMedia
Content copied to clipboard
Link copied to clipboard
inline fun CommonSendInvoiceData.requireVoiceChatParticipantsInvited(): SendInvoice
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineKeyboardButton.requireWebAppKeyboardButton(): WebAppKeyboardButton
Content copied to clipboard
Link copied to clipboard
inline fun <T : MessageContent> AnonymousGroupContentMessage<*>.requireWithContent(): AnonymousGroupContentMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> ChannelContentMessage<*>.requireWithContent(): ChannelContentMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> CommonGroupContentMessage<*>.requireWithContent(): CommonGroupContentMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> CommonMessage<*>.requireWithContent(): CommonMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> ContentMessage<*>.requireWithContent(): ContentMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> FromChannelGroupContentMessage<*>.requireWithContent(): FromChannelGroupContentMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> GroupContentMessage<*>.requireWithContent(): GroupContentMessage<T>
Content copied to clipboard
inline fun <T : MediaGroupContent> MediaGroupMessage<*>.requireWithContent(): MediaGroupMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> PossiblySentViaBotCommonMessage<*>.requireWithContent(): PossiblySentViaBotCommonMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> PrivateContentMessage<*>.requireWithContent(): PrivateContentMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> PublicContentMessage<*>.requireWithContent(): PublicContentMessage<T>
Content copied to clipboard
Link copied to clipboard
inline fun <T : ChannelEvent> ChannelEventMessage<*>.requireWithEvent(): ChannelEventMessage<T>
Content copied to clipboard
inline fun <T : GroupEvent> CommonGroupEventMessage<*>.requireWithEvent(): CommonGroupEventMessage<T>
Content copied to clipboard
inline fun <T : SupergroupEvent> CommonSupergroupEventMessage<*>.requireWithEvent(): CommonSupergroupEventMessage<T>
Content copied to clipboard
inline fun <T : PrivateEvent> PrivateEventMessage<*>.requireWithEvent(): PrivateEventMessage<T>
Content copied to clipboard
inline fun <T : ChatEvent> ChatEventMessage<*>.requireWithEvent(): ChatEventMessage<T>
Content copied to clipboard
inline fun <T : GroupEvent> GroupEventMessage<*>.requireWithEvent(): GroupEventMessage<T>
Content copied to clipboard
inline fun <T : SupergroupEvent> SupergroupEventMessage<*>.requireWithEvent(): SupergroupEventMessage<T>
Content copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireWithInputMessageContentInlineQueryResult(): WithInputMessageContentInlineQueryResult
Content copied to clipboard
Link copied to clipboard
inline fun Any.requireWithOptionalLanguageCode(): WithOptionalLanguageCode
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenAddressSecureValue(block: (AddressSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatMember.whenAdministratorChatMember(block: (AdministratorChatMember) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenAnimatedSticker(block: (AnimatedSticker) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenAnimationContent(block: (AnimationContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenAnimationFile(block: (AnimationFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ForwardInfo.whenAnonymousForwardInfo(block: (AnonymousForwardInfo) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenAnonymousGroupContentMessage(block: (AnonymousGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenAnonymousGroupContentMessageImpl(block: (AnonymousGroupContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ScheduledCloseInfo.whenApproximateScheduledCloseInfo(block: (ApproximateScheduledCloseInfo) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenAudioContent(block: (AudioContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenAudioFile(block: (AudioFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenAudioMediaGroupContent(block: (AudioMediaGroupContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenAudioMediaGroupMemberTelegramMedia(block: (AudioMediaGroupMemberTelegramMedia) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenBankStatement(block: (BankStatement) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenBankStatementSecureValue(block: (BankStatementSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatMember.whenBannedChatMember(block: (BannedChatMember) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChosenInlineResult.whenBaseChosenInlineResult(block: (BaseChosenInlineResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenBaseEditMessageUpdate(block: (BaseEditMessageUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQuery.whenBaseInlineQuery(block: (BaseInlineQuery) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenBaseMessageUpdate(block: (BaseMessageUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenBaseSentMessageUpdate(block: (BaseSentMessageUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> DiceAnimationType.whenBasketballDiceAnimationType(block: (BasketballDiceAnimationType) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenBoldTextSource(block: (BoldTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenBotCommandTextSource(block: (BotCommandTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> DiceAnimationType.whenBowlingDiceAnimationType(block: (BowlingDiceAnimationType) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenCallbackDataInlineKeyboardButton(block: (CallbackDataInlineKeyboardButton) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenCallbackGameInlineKeyboardButton(block: (CallbackGameInlineKeyboardButton) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenCallbackQueryUpdate(block: (CallbackQueryUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenCashTagTextSource(block: (CashTagTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenChannelChatCreated(block: (ChannelChatCreated) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenChannelContentMessageImpl(block: (UnconnectedFromChannelGroupContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenChannelEvent(block: (ChannelEvent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenChannelEventMessage(block: (ChannelEventMessage<ChannelEvent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenChannelMediaGroupMessage(block: (ChannelMediaGroupMessage<MediaGroupContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenChannelPostMediaGroupUpdate(block: (ChannelPostMediaGroupUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenChannelPostUpdate(block: (ChannelPostUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenChatEventMessage(block: (ChatEventMessage<ChatEvent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatInviteLink.whenChatInviteLinkUnlimited(block: (ChatInviteLinkUnlimited) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatInviteLink.whenChatInviteLinkWithJoinRequest(block: (ChatInviteLinkWithJoinRequest) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatInviteLink.whenChatInviteLinkWithLimitedMembers(block: (ChatInviteLinkWithLimitedMembers) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenChatJoinRequestUpdate(block: (ChatJoinRequestUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenChatMemberUpdatedUpdate(block: (ChatMemberUpdatedUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenChooseStickerAction(block: (ChooseStickerAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenChosenInlineResultUpdate(block: (ChosenInlineResultUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenCodeTextSource(block: (CodeTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenCommonChatMemberUpdatedUpdate(block: (CommonChatMemberUpdatedUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenCommonGroupContentMessage(block: (CommonGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenCommonGroupEventMessage(block: (CommonGroupEventMessage<GroupEvent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenCommonMediaGroupMessage(block: (CommonMediaGroupMessage<MediaGroupContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenCommonMessage(block: (CommonMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenCommonPassport(block: (CommonPassport) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenCommonPassportSecureValue(block: (CommonPassportSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenCommonSupergroupEventMessage(block: (CommonSupergroupEventMessage<SupergroupEvent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenConnectedFromChannelGroupContentMessage(block: (ConnectedFromChannelGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenContactContent(block: (ContactContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenContentMessage(block: (ContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatMember.whenCreatorChatMember(block: (CreatorChatMember) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> DiceAnimationType.whenCubeDiceAnimationType(block: (CubeDiceAnimationType) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> DiceAnimationType.whenCustomDiceAnimationType(block: (CustomDiceAnimationType) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> DiceAnimationType.whenDartsDiceAnimationType(block: (DartsDiceAnimationType) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CallbackQuery.whenDataCallbackQuery(block: (DataCallbackQuery) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenDeleteChatPhoto(block: (DeleteChatPhoto) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenDescribedInlineQueryResult(block: (DescribedInlineQueryResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenDiceContent(block: (DiceContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenDocumentContent(block: (DocumentContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenDocumentFile(block: (DocumentFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenDocumentMediaGroupContent(block: (DocumentMediaGroupContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenDocumentMediaGroupMemberTelegramMedia(block: (DocumentMediaGroupMemberTelegramMedia) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenDriverLicense(block: (DriverLicense) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenDriverLicenseSecureValue(block: (DriverLicenseSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenDuratedTelegramMedia(block: (DuratedTelegramMedia) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenEditChannelPostMediaGroupUpdate(block: (EditChannelPostMediaGroupUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenEditChannelPostUpdate(block: (EditChannelPostUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenEditMediaGroupUpdate(block: (EditMediaGroupUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenEditMessageMediaGroupUpdate(block: (EditMessageMediaGroupUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenEditMessageUpdate(block: (EditMessageUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenEMailTextSource(block: (EMailTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedAddress(block: (EncryptedAddress) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementTranslatable(block: (EncryptedPassportElementTranslatable) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithData(block: (EncryptedPassportElementWithData) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithEmail(block: (EncryptedPassportElementWithEmail) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithFilesCollection(block: (EncryptedPassportElementWithFilesCollection) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithFrontSide(block: (EncryptedPassportElementWithFrontSide) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithPhoneNumber(block: (EncryptedPassportElementWithPhoneNumber) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithReverseSide(block: (EncryptedPassportElementWithReverseSide) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithSelfie(block: (EncryptedPassportElementWithSelfie) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithTranslatableFilesCollection(block: (EncryptedPassportElementWithTranslatableFilesCollection) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithTranslatableIDDocument(block: (EncryptedPassportElementWithTranslatableIDDocument) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPersonalDetails(block: (EncryptedPersonalDetails) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ScheduledCloseInfo.whenExactScheduledCloseInfo(block: (ExactScheduledCloseInfo) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Chat.whenExtendedChannelChat(block: (ExtendedChannelChat) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Chat.whenExtendedGroupChat(block: (ExtendedGroupChat) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Chat.whenExtendedPrivateChat(block: (ExtendedPrivateChat) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Chat.whenExtendedPublicChat(block: (ExtendedPublicChat) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Chat.whenExtendedSupergroupChat(block: (ExtendedSupergroupChat) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenFileInlineQueryResult(block: (FileInlineQueryResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenFindLocationAction(block: (FindLocationAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> DiceAnimationType.whenFootballDiceAnimationType(block: (FootballDiceAnimationType) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenForceReply(block: (ReplyForce) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ForwardInfo.whenForwardFromChannelInfo(block: (ForwardFromChannelInfo) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ForwardInfo.whenForwardFromPublicChatInfo(block: (ForwardFromPublicChatInfo) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ForwardInfo.whenForwardFromSupergroupInfo(block: (ForwardFromSupergroupInfo) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenFromChannelGroupContentMessage(block: (FromChannelGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenFromUserMessage(block: (FromUserMessage) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenGameContent(block: (GameContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CallbackQuery.whenGameShortNameCallbackQuery(block: (GameShortNameCallbackQuery) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenGroupChatCreated(block: (GroupChatCreated) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenGroupContentMessage(block: (GroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenGroupEventMessage(block: (GroupEventMessage<GroupEvent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenHashTagTextSource(block: (HashTagTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenIdentityCard(block: (IdentityCard) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenIdentityCardSecureValue(block: (IdentityCardSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenIdentityWithReverseSideSecureValue(block: (IdentityWithReverseSideSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenInlineKeyboardMarkup(block: (InlineKeyboardMarkup) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdCallbackQuery(block: (InlineMessageIdCallbackQuery) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdDataCallbackQuery(block: (InlineMessageIdDataCallbackQuery) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdGameShortNameCallbackQuery(block: (InlineMessageIdGameShortNameCallbackQuery) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultArticle(block: (InlineQueryResultArticle) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudio(block: (InlineQueryResultAudio) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudioCached(block: (InlineQueryResultAudioCached) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudioCommon(block: (InlineQueryResultAudioCommon) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultContact(block: (InlineQueryResultContact) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocument(block: (InlineQueryResultDocument) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocumentCached(block: (InlineQueryResultDocumentCached) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocumentCommon(block: (InlineQueryResultDocumentCommon) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGame(block: (InlineQueryResultGame) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGif(block: (InlineQueryResultGif) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGifCached(block: (InlineQueryResultGifCached) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGifCommon(block: (InlineQueryResultGifCommon) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultLocation(block: (InlineQueryResultLocation) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4Gif(block: (InlineQueryResultMpeg4Gif) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4GifCached(block: (InlineQueryResultMpeg4GifCached) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4GifCommon(block: (InlineQueryResultMpeg4GifCommon) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhoto(block: (InlineQueryResultPhoto) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhotoCached(block: (InlineQueryResultPhotoCached) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhotoCommon(block: (InlineQueryResultPhotoCommon) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultStickerCached(block: (InlineQueryResultStickerCached) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVenue(block: (InlineQueryResultVenue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideo(block: (InlineQueryResultVideo) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideoCached(block: (InlineQueryResultVideoCached) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideoCommon(block: (InlineQueryResultVideoCommon) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoice(block: (InlineQueryResultVoice) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoiceCached(block: (InlineQueryResultVoiceCached) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoiceCommon(block: (InlineQueryResultVoiceCommon) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenInlineQueryUpdate(block: (InlineQueryUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputContactMessageContent(block: (InputContactMessageContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
Content copied to clipboard
inline fun <T> InputMessageContent.whenInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputLocationMessageContent(block: (InputLocationMessageContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputTextMessageContent(block: (InputTextMessageContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputVenueMessageContent(block: (InputVenueMessageContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenInternalPassport(block: (InternalPassport) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenInternalPassportSecureValue(block: (InternalPassportSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenInvoiceContent(block: (InvoiceContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenItalicTextSource(block: (ItalicTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatMember.whenKickedChatMember(block: (KickedChatMember) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatMember.whenLeftChatMember(block: (LeftChatMember) -> T): T?
Content copied to clipboard
inline fun <T> ChatEvent.whenLeftChatMember(block: (LeftChatMember) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenLiveLocationContent(block: (LiveLocationContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChosenInlineResult.whenLocationChosenInlineResult(block: (LocationChosenInlineResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenLocationContent(block: (LocationContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQuery.whenLocationInlineQuery(block: (LocationInlineQuery) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenLoginURLInlineKeyboardButton(block: (LoginURLInlineKeyboardButton) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaCollectionContent(block: (MediaCollectionContent<TelegramMediaFile>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaContent(block: (MediaContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaGroupContent(block: (MediaGroupContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenMediaGroupMemberTelegramMedia(block: (MediaGroupMemberTelegramMedia) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenMediaGroupMessage(block: (MediaGroupMessage<MediaGroupContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenMediaGroupUpdate(block: (MediaGroupUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatMember.whenMemberChatMember(block: (MemberChatMember) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenMentionTextSource(block: (MentionTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenMessageAutoDeleteTimerChanged(block: (MessageAutoDeleteTimerChanged) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageCallbackQuery(block: (MessageCallbackQuery) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenMessageContent(block: (MessageContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageDataCallbackQuery(block: (MessageDataCallbackQuery) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageGameShortNameCallbackQuery(block: (MessageGameShortNameCallbackQuery) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenMessageMediaGroupUpdate(block: (MessageMediaGroupUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenMigratedToSupergroup(block: (MigratedToSupergroup) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenMimedMediaFile(block: (MimedMediaFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenMultilevelTextSource(block: (MultilevelTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Poll.whenMultipleAnswersPoll(block: (MultipleAnswersPoll) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenMyChatMemberUpdatedUpdate(block: (MyChatMemberUpdatedUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatMembers(block: (NewChatMembers) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatPhoto(block: (NewChatPhoto) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatTitle(block: (NewChatTitle) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenOptionallyTitledInlineQueryResult(block: (OptionallyTitledInlineQueryResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenOtherDocumentsSecureValue(block: (OtherDocumentsSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPassport(block: (Passport) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorDataField(block: (PassportElementErrorDataField) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFile(block: (PassportElementErrorFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFiles(block: (PassportElementErrorFiles) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFrontSide(block: (PassportElementErrorFrontSide) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorReverseSide(block: (PassportElementErrorReverseSide) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorSelfie(block: (PassportElementErrorSelfie) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorTranslationFile(block: (PassportElementErrorTranslationFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorTranslationFiles(block: (PassportElementErrorTranslationFiles) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorUnspecified(block: (PassportElementErrorUnspecified) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementFileError(block: (PassportElementFileError) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementFilesError(block: (PassportElementFilesError) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenPassportMessage(block: (PassportMessage) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportMultipleElementsError(block: (PassportMultipleElementsError) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPassportRegistration(block: (PassportRegistration) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenPassportRegistrationSecureValue(block: (PassportRegistrationSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenPassportSecureValue(block: (PassportSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportSingleElementError(block: (PassportSingleElementError) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPathedFile(block: (PathedFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenPayInlineKeyboardButton(block: (PayInlineKeyboardButton) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenPersonalDetailsSecureValue(block: (PersonalDetailsSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPhoneNumber(block: (PhoneNumber) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenPhoneNumberTextSource(block: (PhoneNumberTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenPhotoContent(block: (PhotoContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPhotoSize(block: (PhotoSize) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenPinnedMessage(block: (PinnedMessage) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPlayableMediaFile(block: (PlayableMediaFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenPollAnswerUpdate(block: (PollAnswerUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenPollContent(block: (PollContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenPossiblyEditedMessage(block: (PossiblyEditedMessage) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenPossiblyForwardedMessage(block: (PossiblyForwardedMessage) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenPossiblyPaymentMessage(block: (PossiblyPaymentMessage) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenPossiblyReplyMessage(block: (PossiblyReplyMessage) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenPossiblySentViaBotCommonMessage(block: (PossiblySentViaBotCommonMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenPreCheckoutQueryUpdate(block: (PreCheckoutQueryUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenPreTextSource(block: (PreTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatInviteLink.whenPrimaryInviteLink(block: (PrimaryInviteLink) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenPrivateContentMessage(block: (PrivateContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenPrivateContentMessageImpl(block: (PrivateContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenPrivateEventMessage(block: (PrivateEventMessage<PrivateEvent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenProximityAlertTriggered(block: (ProximityAlertTriggered) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenPublicChatEvent(block: (PublicChatEvent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenPublicContentMessage(block: (PublicContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenRecordVideoAction(block: (RecordVideoAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenRecordVideoNoteAction(block: (RecordVideoNoteAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenRecordVoiceAction(block: (RecordVoiceAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenRegularTextSource(block: (RegularTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenRentalAgreement(block: (RentalAgreement) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenRentalAgreementSecureValue(block: (RentalAgreementSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenReplyKeyboardMarkup(block: (ReplyKeyboardMarkup) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenReplyKeyboardRemove(block: (ReplyKeyboardRemove) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatMember.whenRestrictedChatMember(block: (RestrictedChatMember) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatInviteLink.whenSecondaryChatInviteLink(block: (SecondaryChatInviteLink) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueIdentity(block: (SecureValueIdentity) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithData(block: (SecureValueWithData) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithFiles(block: (SecureValueWithFiles) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithReverseSide(block: (SecureValueWithReverseSide) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithTranslations(block: (SecureValueWithTranslations) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenSendInvoice(block: (SendInvoice) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenSentMediaGroupUpdate(block: (SentMediaGroupUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenShippingQueryUpdate(block: (ShippingQueryUpdate) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenSignedMessage(block: (SignedMessage) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenSimpleSticker(block: (SimpleSticker) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenSizedInlineQueryResult(block: (SizedInlineQueryResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenSizedMediaFile(block: (SizedMediaFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenSizedTelegramMedia(block: (SizedTelegramMedia) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> DiceAnimationType.whenSlotMachineDiceAnimationType(block: (SlotMachineDiceAnimationType) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatMember.whenSpecialRightsChatMember(block: (SpecialRightsChatMember) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Location.whenStaticLocation(block: (StaticLocation) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenStaticLocationContent(block: (StaticLocationContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenStickerContent(block: (StickerContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenStrikethroughTextSource(block: (StrikethroughTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenSuccessfulPaymentEvent(block: (SuccessfulPaymentEvent) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenSupergroupChatCreated(block: (SupergroupChatCreated) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenSupergroupEvent(block: (SupergroupEvent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenSupergroupEventMessage(block: (SupergroupEventMessage<SupergroupEvent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Chat.whenSuperPublicChat(block: (SuperPublicChat) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenSwitchInlineQueryCurrentChatInlineKeyboardButton(block: (SwitchInlineQueryCurrentChatInlineKeyboardButton) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenSwitchInlineQueryInlineKeyboardButton(block: (SwitchInlineQueryInlineKeyboardButton) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenTelegramMediaAnimation(block: (TelegramMediaAnimation) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenTelegramMediaAudio(block: (TelegramMediaAudio) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenTelegramMediaDocument(block: (TelegramMediaDocument) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenTelegramMediaPhoto(block: (TelegramMediaPhoto) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenTelegramMediaVideo(block: (TelegramMediaVideo) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenTemporalRegistrationSecureValue(block: (TemporalRegistrationSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenTemporaryRegistration(block: (TemporaryRegistration) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenTextContent(block: (TextContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> MessageContent.whenTextedInput(block: (TextedInput) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenTextedMediaContent(block: (TextedMediaContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenTextLinkTextSource(block: (TextLinkTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenTextMentionTextSource(block: (TextMentionTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbedInlineQueryResult(block: (ThumbedInlineQueryResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenThumbedMediaFile(block: (ThumbedMediaFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenThumbedTelegramMedia(block: (ThumbedTelegramMedia) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbedWithMimeTypeInlineQueryResult(block: (ThumbedWithMimeTypeInlineQueryResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbSizedInlineQueryResult(block: (ThumbSizedInlineQueryResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenTitledInlineQueryResult(block: (TitledInlineQueryResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenTitledTelegramMedia(block: (TitledTelegramMedia) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenTypingAction(block: (TypingAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenUnconnectedFromChannelGroupContentMessage(block: (UnconnectedFromChannelGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenUnderlineTextSource(block: (UnderlineTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> CallbackQuery.whenUnknownCallbackQueryType(block: (UnknownCallbackQueryType) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Chat.whenUnknownChatType(block: (UnknownChatType) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenUnknownEncryptedPassportElement(block: (UnknownEncryptedPassportElement) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenUnknownInlineKeyboardButton(block: (UnknownInlineKeyboardButton) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Message.whenUnknownMessageType(block: (UnknownMessageType) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenUnknownPassportElementError(block: (UnknownPassportElementError) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Poll.whenUnknownPollType(block: (UnknownPollType) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenUploadDocumentAction(block: (UploadDocumentAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenUploadPhotoAction(block: (UploadPhotoAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenUploadVideoAction(block: (UploadVideoAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenUploadVideoNoteAction(block: (UploadVideoNoteAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> BotAction.whenUploadVoiceAction(block: (UploadVoiceAction) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenURLInlineKeyboardButton(block: (URLInlineKeyboardButton) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenUrlInlineQueryResult(block: (UrlInlineQueryResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TextSource.whenURLTextSource(block: (URLTextSource) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ForwardInfo.whenUserForwardInfo(block: (UserForwardInfo) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenUserLoggedIn(block: (UserLoggedIn) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenUtilityBill(block: (UtilityBill) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> SecureValue.whenUtilityBillSecureValue(block: (UtilityBillSecureValue) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenVenueContent(block: (VenueContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenVideoChatEnded(block: (VideoChatEnded) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenVideoChatEvent(block: (VideoChatEvent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenVideoChatParticipantsInvited(block: (VideoChatParticipantsInvited) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenVideoChatScheduled(block: (VideoChatScheduled) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenVideoChatStarted(block: (VideoChatStarted) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenVideoContent(block: (VideoContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVideoFile(block: (VideoFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenVideoNoteContent(block: (VideoNoteContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVideoNoteFile(block: (VideoNoteFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVideoSticker(block: (VideoSticker) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenVisualMediaGroupContent(block: (VisualMediaGroupContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.whenVisualMediaGroupMemberTelegramMedia(block: (VisualMediaGroupMemberTelegramMedia) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> ResendableContent.whenVoiceContent(block: (VoiceContent) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVoiceFile(block: (VoiceFile) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenWebAppKeyboardButton(block: (WebAppKeyboardButton) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenWithInputMessageContentInlineQueryResult(block: (WithInputMessageContentInlineQueryResult) -> T): T?
Content copied to clipboard
Link copied to clipboard
inline fun <T> Any.whenWithOptionalLanguageCode(block: (WithOptionalLanguageCode) -> T): T?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T : MessageContent> AnonymousGroupContentMessage<*>.withContent(): AnonymousGroupContentMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> ChannelContentMessage<*>.withContent(): ChannelContentMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> CommonGroupContentMessage<*>.withContent(): CommonGroupContentMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> CommonMessage<*>.withContent(): CommonMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> ContentMessage<*>.withContent(): ContentMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> FromChannelGroupContentMessage<*>.withContent(): FromChannelGroupContentMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> GroupContentMessage<*>.withContent(): GroupContentMessage<T>?
Content copied to clipboard
inline fun <T : MediaGroupContent> MediaGroupMessage<*>.withContent(): MediaGroupMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> PossiblySentViaBotCommonMessage<*>.withContent(): PossiblySentViaBotCommonMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> PrivateContentMessage<*>.withContent(): PrivateContentMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> PublicContentMessage<*>.withContent(): PublicContentMessage<T>?
Content copied to clipboard
Link copied to clipboard
inline fun <T : ChannelEvent> ChannelEventMessage<*>.withEvent(): ChannelEventMessage<T>?
Content copied to clipboard
inline fun <T : GroupEvent> CommonGroupEventMessage<*>.withEvent(): CommonGroupEventMessage<T>?
Content copied to clipboard
inline fun <T : SupergroupEvent> CommonSupergroupEventMessage<*>.withEvent(): CommonSupergroupEventMessage<T>?
Content copied to clipboard
inline fun <T : PrivateEvent> PrivateEventMessage<*>.withEvent(): PrivateEventMessage<T>?
Content copied to clipboard
inline fun <T : ChatEvent> ChatEventMessage<*>.withEvent(): ChatEventMessage<T>?
Content copied to clipboard
inline fun <T : GroupEvent> GroupEventMessage<*>.withEvent(): GroupEventMessage<T>?
Content copied to clipboard
inline fun <T : SupergroupEvent> SupergroupEventMessage<*>.withEvent(): SupergroupEventMessage<T>?
Content copied to clipboard
Link copied to clipboard
fun <MC : MessageContent, M : ContentMessage<MC>> Flow<M>.withoutSentViaBot(): Flow<M>
Content copied to clipboard
Filter the messages and checking that incoming CommonMessage not is PossiblySentViaBotCommonMessage or its PossiblySentViaBotCommonMessage.senderBot is null