Package dev. inmo. tgbotapi. extensions. utils
Types
Functions
aggregateFlows
Link copied to clipboard
fun <T> aggregateFlows(withScope: CoroutineScope, vararg flows: Flow<T>, internalBufferSize: Int = 64): Flow<T>
Content copied to clipboard
asAddressSecureValue
Link copied to clipboard
asAdministratorChatMember
Link copied to clipboard
inline fun ChatMember.asAdministratorChatMember(): AdministratorChatMember?
Content copied to clipboard
asAnimationContent
Link copied to clipboard
asAnimationFile
Link copied to clipboard
asAnonymousGroupContentMessage
Link copied to clipboard
inline fun Message.asAnonymousGroupContentMessage(): AnonymousGroupContentMessage<MessageContent>?
Content copied to clipboard
asAnonymousGroupContentMessageImpl
Link copied to clipboard
inline fun Message.asAnonymousGroupContentMessageImpl(): AnonymousGroupContentMessageImpl<MessageContent>?
Content copied to clipboard
asAudioContent
Link copied to clipboard
asAudioFile
Link copied to clipboard
asAudioMediaGroupContent
Link copied to clipboard
inline fun ResendableContent.asAudioMediaGroupContent(): AudioMediaGroupContent?
Content copied to clipboard
asAudioMediaGroupMemberInputMedia
Link copied to clipboard
inline fun InputMedia.asAudioMediaGroupMemberInputMedia(): AudioMediaGroupMemberInputMedia?
Content copied to clipboard
asBankStatement
Link copied to clipboard
asBankStatementSecureValue
Link copied to clipboard
inline fun SecureValue.asBankStatementSecureValue(): BankStatementSecureValue?
Content copied to clipboard
asBannedChatMember
Link copied to clipboard
asBaseEditMessageUpdate
Link copied to clipboard
asBaseInlineQuery
Link copied to clipboard
asBaseMessageUpdate
Link copied to clipboard
asBaseSentMessageUpdate
Link copied to clipboard
asBasketballDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.asBasketballDiceAnimationType(): BasketballDiceAnimationType?
Content copied to clipboard
asBoldTextSource
Link copied to clipboard
asBotCommandTextSource
Link copied to clipboard
asBowlingDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.asBowlingDiceAnimationType(): BowlingDiceAnimationType?
Content copied to clipboard
asCallbackDataInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.asCallbackDataInlineKeyboardButton(): CallbackDataInlineKeyboardButton?
Content copied to clipboard
asCallbackGameInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.asCallbackGameInlineKeyboardButton(): CallbackGameInlineKeyboardButton?
Content copied to clipboard
asCallbackQueryUpdate
Link copied to clipboard
asCashTagTextSource
Link copied to clipboard
asChannelChat
Link copied to clipboard
asChannelChatCreated
Link copied to clipboard
asChannelContentMessage
Link copied to clipboard
inline fun Message.asChannelContentMessage(): ChannelContentMessage<MessageContent>?
Content copied to clipboard
asChannelContentMessageImpl
Link copied to clipboard
inline fun Message.asChannelContentMessageImpl(): ChannelContentMessageImpl<MessageContent>?
Content copied to clipboard
asChannelEvent
Link copied to clipboard
asChannelEventMessage
Link copied to clipboard
inline fun Message.asChannelEventMessage(): ChannelEventMessage<ChannelEvent>?
Content copied to clipboard
asChannelMediaGroupMessage
Link copied to clipboard
inline fun Message.asChannelMediaGroupMessage(): ChannelMediaGroupMessage<MediaGroupContent>?
Content copied to clipboard
asChannelPostMediaGroupUpdate
Link copied to clipboard
inline fun Update.asChannelPostMediaGroupUpdate(): ChannelPostMediaGroupUpdate?
Content copied to clipboard
asChannelPostUpdate
Link copied to clipboard
asChatEventMessage
Link copied to clipboard
asChatMemberUpdatedUpdate
Link copied to clipboard
asChosenInlineResultUpdate
Link copied to clipboard
inline fun Update.asChosenInlineResultUpdate(): ChosenInlineResultUpdate?
Content copied to clipboard
asCodeTextSource
Link copied to clipboard
asCommonBot
Link copied to clipboard
asCommonChatMemberUpdatedUpdate
Link copied to clipboard
inline fun Update.asCommonChatMemberUpdatedUpdate(): CommonChatMemberUpdatedUpdate?
Content copied to clipboard
asCommonEvent
Link copied to clipboard
asCommonGroupContentMessage
Link copied to clipboard
inline fun Message.asCommonGroupContentMessage(): CommonGroupContentMessage<MessageContent>?
Content copied to clipboard
asCommonGroupEventMessage
Link copied to clipboard
inline fun Message.asCommonGroupEventMessage(): CommonGroupEventMessage<GroupEvent>?
Content copied to clipboard
asCommonMediaGroupMessage
Link copied to clipboard
inline fun Message.asCommonMediaGroupMessage(): CommonMediaGroupMessage<MediaGroupContent>?
Content copied to clipboard
asCommonMessage
Link copied to clipboard
asCommonPassport
Link copied to clipboard
asCommonPassportSecureValue
Link copied to clipboard
inline fun SecureValue.asCommonPassportSecureValue(): CommonPassportSecureValue?
Content copied to clipboard
asCommonSupergroupEventMessage
Link copied to clipboard
inline fun Message.asCommonSupergroupEventMessage(): CommonSupergroupEventMessage<SupergroupEvent>?
Content copied to clipboard
asCommonUser
Link copied to clipboard
asContactContent
Link copied to clipboard
asContentMessage
Link copied to clipboard
asCreatorChatMember
Link copied to clipboard
asCubeDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.asCubeDiceAnimationType(): CubeDiceAnimationType?
Content copied to clipboard
asCustomDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.asCustomDiceAnimationType(): CustomDiceAnimationType?
Content copied to clipboard
asDartsDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.asDartsDiceAnimationType(): DartsDiceAnimationType?
Content copied to clipboard
asDataCallbackQuery
Link copied to clipboard
asDeleteChatPhoto
Link copied to clipboard
asDescribedInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.asDescribedInlineQueryResult(): DescribedInlineQueryResult?
Content copied to clipboard
asDiceContent
Link copied to clipboard
asDocumentContent
Link copied to clipboard
asDocumentFile
Link copied to clipboard
asDocumentMediaGroupContent
Link copied to clipboard
inline fun ResendableContent.asDocumentMediaGroupContent(): DocumentMediaGroupContent?
Content copied to clipboard
asDocumentMediaGroupMemberInputMedia
Link copied to clipboard
inline fun InputMedia.asDocumentMediaGroupMemberInputMedia(): DocumentMediaGroupMemberInputMedia?
Content copied to clipboard
asDriverLicense
Link copied to clipboard
asDriverLicenseSecureValue
Link copied to clipboard
inline fun SecureValue.asDriverLicenseSecureValue(): DriverLicenseSecureValue?
Content copied to clipboard
asDuratedInputMedia
Link copied to clipboard
asEditChannelPostMediaGroupUpdate
Link copied to clipboard
inline fun Update.asEditChannelPostMediaGroupUpdate(): EditChannelPostMediaGroupUpdate?
Content copied to clipboard
asEditChannelPostUpdate
Link copied to clipboard
asEditMediaGroupUpdate
Link copied to clipboard
asEditMessageMediaGroupUpdate
Link copied to clipboard
inline fun Update.asEditMessageMediaGroupUpdate(): EditMessageMediaGroupUpdate?
Content copied to clipboard
asEditMessageUpdate
Link copied to clipboard
asEmail
Link copied to clipboard
asEMailTextSource
Link copied to clipboard
asEncryptedAddress
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedAddress(): EncryptedAddress?
Content copied to clipboard
asEncryptedPassportElementTranslatable
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementTranslatable(): EncryptedPassportElementTranslatable?
Content copied to clipboard
asEncryptedPassportElementWithData
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithData(): EncryptedPassportElementWithData?
Content copied to clipboard
asEncryptedPassportElementWithEmail
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithEmail(): EncryptedPassportElementWithEmail?
Content copied to clipboard
asEncryptedPassportElementWithFilesCollection
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithFilesCollection(): EncryptedPassportElementWithFilesCollection?
Content copied to clipboard
asEncryptedPassportElementWithFrontSide
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithFrontSide(): EncryptedPassportElementWithFrontSide?
Content copied to clipboard
asEncryptedPassportElementWithPhoneNumber
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithPhoneNumber(): EncryptedPassportElementWithPhoneNumber?
Content copied to clipboard
asEncryptedPassportElementWithReverseSide
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithReverseSide(): EncryptedPassportElementWithReverseSide?
Content copied to clipboard
asEncryptedPassportElementWithSelfie
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithSelfie(): EncryptedPassportElementWithSelfie?
Content copied to clipboard
asEncryptedPassportElementWithTranslatableFilesCollection
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithTranslatableFilesCollection(): EncryptedPassportElementWithTranslatableFilesCollection?
Content copied to clipboard
asEncryptedPassportElementWithTranslatableIDDocument
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithTranslatableIDDocument(): EncryptedPassportElementWithTranslatableIDDocument?
Content copied to clipboard
asEncryptedPersonalDetails
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPersonalDetails(): EncryptedPersonalDetails?
Content copied to clipboard
asExtendedBot
Link copied to clipboard
asExtendedChannelChat
Link copied to clipboard
asExtendedChat
Link copied to clipboard
asExtendedGroupChat
Link copied to clipboard
asExtendedPrivateChat
Link copied to clipboard
asExtendedPublicChat
Link copied to clipboard
asExtendedSupergroupChat
Link copied to clipboard
asFile
Link copied to clipboard
asFileInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.asFileInlineQueryResult(): FileInlineQueryResult?
Content copied to clipboard
asFindLocationAction
Link copied to clipboard
asFootballDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.asFootballDiceAnimationType(): FootballDiceAnimationType?
Content copied to clipboard
asForceReply
Link copied to clipboard
asFromChannelGroupContentMessage
Link copied to clipboard
inline fun Message.asFromChannelGroupContentMessage(): FromChannelGroupContentMessage<MessageContent>?
Content copied to clipboard
asFromChannelGroupContentMessageImpl
Link copied to clipboard
inline fun Message.asFromChannelGroupContentMessageImpl(): FromChannelGroupContentMessageImpl<MessageContent>?
Content copied to clipboard
asFromUser
Link copied to clipboard
asFromUserMessage
Link copied to clipboard
asGameContent
Link copied to clipboard
asGameShortNameCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.asGameShortNameCallbackQuery(): GameShortNameCallbackQuery?
Content copied to clipboard
asGroupChat
Link copied to clipboard
asGroupChatCreated
Link copied to clipboard
asGroupContentMessage
Link copied to clipboard
inline fun Message.asGroupContentMessage(): GroupContentMessage<MessageContent>?
Content copied to clipboard
asGroupEvent
Link copied to clipboard
asGroupEventMessage
Link copied to clipboard
asHashTagTextSource
Link copied to clipboard
asIdentityCard
Link copied to clipboard
asIdentityCardSecureValue
Link copied to clipboard
inline fun SecureValue.asIdentityCardSecureValue(): IdentityCardSecureValue?
Content copied to clipboard
asIdentityWithReverseSideSecureValue
Link copied to clipboard
inline fun SecureValue.asIdentityWithReverseSideSecureValue(): IdentityWithReverseSideSecureValue?
Content copied to clipboard
asInlineKeyboardMarkup
Link copied to clipboard
inline fun KeyboardMarkup.asInlineKeyboardMarkup(): InlineKeyboardMarkup?
Content copied to clipboard
asInlineMessageIdCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.asInlineMessageIdCallbackQuery(): InlineMessageIdCallbackQuery?
Content copied to clipboard
asInlineMessageIdDataCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.asInlineMessageIdDataCallbackQuery(): InlineMessageIdDataCallbackQuery?
Content copied to clipboard
asInlineMessageIdGameShortNameCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.asInlineMessageIdGameShortNameCallbackQuery(): InlineMessageIdGameShortNameCallbackQuery?
Content copied to clipboard
asInlineQueryResultArticle
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultArticle(): InlineQueryResultArticle?
Content copied to clipboard
asInlineQueryResultAudio
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultAudio(): InlineQueryResultAudio?
Content copied to clipboard
asInlineQueryResultAudioCached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultAudioCached(): InlineQueryResultAudioCached?
Content copied to clipboard
asInlineQueryResultAudioCommon
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultAudioCommon(): InlineQueryResultAudioCommon?
Content copied to clipboard
asInlineQueryResultContact
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultContact(): InlineQueryResultContact?
Content copied to clipboard
asInlineQueryResultDocument
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultDocument(): InlineQueryResultDocument?
Content copied to clipboard
asInlineQueryResultDocumentCached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultDocumentCached(): InlineQueryResultDocumentCached?
Content copied to clipboard
asInlineQueryResultDocumentCommon
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultDocumentCommon(): InlineQueryResultDocumentCommon?
Content copied to clipboard
asInlineQueryResultGame
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGame(): InlineQueryResultGame?
Content copied to clipboard
asInlineQueryResultGif
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGif(): InlineQueryResultGif?
Content copied to clipboard
asInlineQueryResultGifCached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGifCached(): InlineQueryResultGifCached?
Content copied to clipboard
asInlineQueryResultGifCommon
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGifCommon(): InlineQueryResultGifCommon?
Content copied to clipboard
asInlineQueryResultLocation
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultLocation(): InlineQueryResultLocation?
Content copied to clipboard
asInlineQueryResultMpeg4Gif
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultMpeg4Gif(): InlineQueryResultMpeg4Gif?
Content copied to clipboard
asInlineQueryResultMpeg4GifCached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultMpeg4GifCached(): InlineQueryResultMpeg4GifCached?
Content copied to clipboard
asInlineQueryResultMpeg4GifCommon
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultMpeg4GifCommon(): InlineQueryResultMpeg4GifCommon?
Content copied to clipboard
asInlineQueryResultPhoto
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultPhoto(): InlineQueryResultPhoto?
Content copied to clipboard
asInlineQueryResultPhotoCached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultPhotoCached(): InlineQueryResultPhotoCached?
Content copied to clipboard
asInlineQueryResultPhotoCommon
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultPhotoCommon(): InlineQueryResultPhotoCommon?
Content copied to clipboard
asInlineQueryResultStickerCached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultStickerCached(): InlineQueryResultStickerCached?
Content copied to clipboard
asInlineQueryResultVenue
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVenue(): InlineQueryResultVenue?
Content copied to clipboard
asInlineQueryResultVideo
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVideo(): InlineQueryResultVideo?
Content copied to clipboard
asInlineQueryResultVideoCached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVideoCached(): InlineQueryResultVideoCached?
Content copied to clipboard
asInlineQueryResultVideoCommon
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVideoCommon(): InlineQueryResultVideoCommon?
Content copied to clipboard
asInlineQueryResultVoice
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVoice(): InlineQueryResultVoice?
Content copied to clipboard
asInlineQueryResultVoiceCached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVoiceCached(): InlineQueryResultVoiceCached?
Content copied to clipboard
asInlineQueryResultVoiceCommon
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVoiceCommon(): InlineQueryResultVoiceCommon?
Content copied to clipboard
asInlineQueryUpdate
Link copied to clipboard
asInputContactMessageContent
Link copied to clipboard
inline fun InputMessageContent.asInputContactMessageContent(): InputContactMessageContent?
Content copied to clipboard
asInputInvoiceMessageContent
Link copied to clipboard
inline fun CommonSendInvoiceData.asInputInvoiceMessageContent(): InputInvoiceMessageContent?
Content copied to clipboard
inline fun InputMessageContent.asInputInvoiceMessageContent(): InputInvoiceMessageContent?
Content copied to clipboard
asInputLocationMessageContent
Link copied to clipboard
inline fun InputMessageContent.asInputLocationMessageContent(): InputLocationMessageContent?
Content copied to clipboard
asInputMediaAnimation
Link copied to clipboard
asInputMediaAudio
Link copied to clipboard
asInputMediaDocument
Link copied to clipboard
asInputMediaPhoto
Link copied to clipboard
asInputMediaVideo
Link copied to clipboard
asInputTextMessageContent
Link copied to clipboard
inline fun InputMessageContent.asInputTextMessageContent(): InputTextMessageContent?
Content copied to clipboard
asInputVenueMessageContent
Link copied to clipboard
inline fun InputMessageContent.asInputVenueMessageContent(): InputVenueMessageContent?
Content copied to clipboard
asInternalPassport
Link copied to clipboard
inline fun EncryptedPassportElement.asInternalPassport(): InternalPassport?
Content copied to clipboard
asInternalPassportSecureValue
Link copied to clipboard
inline fun SecureValue.asInternalPassportSecureValue(): InternalPassportSecureValue?
Content copied to clipboard
asInvoiceContent
Link copied to clipboard
asItalicTextSource
Link copied to clipboard
asKickedChatMember
Link copied to clipboard
asLeftChatMember
Link copied to clipboard
asLocationContent
Link copied to clipboard
asLocationInlineQuery
Link copied to clipboard
asLoginURLInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.asLoginURLInlineKeyboardButton(): LoginURLInlineKeyboardButton?
Content copied to clipboard
asMediaCollectionContent
Link copied to clipboard
inline fun ResendableContent.asMediaCollectionContent(): MediaCollectionContent<TelegramMediaFile>?
Content copied to clipboard
asMediaContent
Link copied to clipboard
asMediaGroupContent
Link copied to clipboard
asMediaGroupMemberInputMedia
Link copied to clipboard
inline fun InputMedia.asMediaGroupMemberInputMedia(): MediaGroupMemberInputMedia?
Content copied to clipboard
asMediaGroupMessage
Link copied to clipboard
inline fun Message.asMediaGroupMessage(): MediaGroupMessage<MediaGroupContent>?
Content copied to clipboard
asMediaGroupUpdate
Link copied to clipboard
asMemberChatMember
Link copied to clipboard
asMentionTextSource
Link copied to clipboard
asMessageAutoDeleteTimerChanged
Link copied to clipboard
inline fun ChatEvent.asMessageAutoDeleteTimerChanged(): MessageAutoDeleteTimerChanged?
Content copied to clipboard
asMessageCallbackQuery
Link copied to clipboard
asMessageContent
Link copied to clipboard
asMessageDataCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.asMessageDataCallbackQuery(): MessageDataCallbackQuery?
Content copied to clipboard
asMessageGameShortNameCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.asMessageGameShortNameCallbackQuery(): MessageGameShortNameCallbackQuery?
Content copied to clipboard
asMessageMediaGroupUpdate
Link copied to clipboard
asMessageUpdate
Link copied to clipboard
asMimedMediaFile
Link copied to clipboard
asMultilevelTextSource
Link copied to clipboard
asMultipleAnswersPoll
Link copied to clipboard
asMyChatMemberUpdatedUpdate
Link copied to clipboard
inline fun Update.asMyChatMemberUpdatedUpdate(): MyChatMemberUpdatedUpdate?
Content copied to clipboard
asNewChatMembers
Link copied to clipboard
asNewChatPhoto
Link copied to clipboard
asNewChatTitle
Link copied to clipboard
asOptionallyTitledInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.asOptionallyTitledInlineQueryResult(): OptionallyTitledInlineQueryResult?
Content copied to clipboard
asOtherDocumentsSecureValue
Link copied to clipboard
inline fun SecureValue.asOtherDocumentsSecureValue(): OtherDocumentsSecureValue?
Content copied to clipboard
asPassport
Link copied to clipboard
asPassportElementErrorDataField
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorDataField(): PassportElementErrorDataField?
Content copied to clipboard
asPassportElementErrorFile
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorFile(): PassportElementErrorFile?
Content copied to clipboard
asPassportElementErrorFiles
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorFiles(): PassportElementErrorFiles?
Content copied to clipboard
asPassportElementErrorFrontSide
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorFrontSide(): PassportElementErrorFrontSide?
Content copied to clipboard
asPassportElementErrorReverseSide
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorReverseSide(): PassportElementErrorReverseSide?
Content copied to clipboard
asPassportElementErrorSelfie
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorSelfie(): PassportElementErrorSelfie?
Content copied to clipboard
asPassportElementErrorTranslationFile
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorTranslationFile(): PassportElementErrorTranslationFile?
Content copied to clipboard
asPassportElementErrorTranslationFiles
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorTranslationFiles(): PassportElementErrorTranslationFiles?
Content copied to clipboard
asPassportElementErrorUnspecified
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorUnspecified(): PassportElementErrorUnspecified?
Content copied to clipboard
asPassportElementFileError
Link copied to clipboard
inline fun PassportElementError.asPassportElementFileError(): PassportElementFileError?
Content copied to clipboard
asPassportElementFilesError
Link copied to clipboard
inline fun PassportElementError.asPassportElementFilesError(): PassportElementFilesError?
Content copied to clipboard
asPassportMessage
Link copied to clipboard
asPassportMultipleElementsError
Link copied to clipboard
inline fun PassportElementError.asPassportMultipleElementsError(): PassportMultipleElementsError?
Content copied to clipboard
asPassportRegistration
Link copied to clipboard
inline fun EncryptedPassportElement.asPassportRegistration(): PassportRegistration?
Content copied to clipboard
asPassportRegistrationSecureValue
Link copied to clipboard
inline fun SecureValue.asPassportRegistrationSecureValue(): PassportRegistrationSecureValue?
Content copied to clipboard
asPassportSecureValue
Link copied to clipboard
asPassportSingleElementError
Link copied to clipboard
inline fun PassportElementError.asPassportSingleElementError(): PassportSingleElementError?
Content copied to clipboard
asPathedFile
Link copied to clipboard
asPayInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.asPayInlineKeyboardButton(): PayInlineKeyboardButton?
Content copied to clipboard
asPersonalDetailsSecureValue
Link copied to clipboard
inline fun SecureValue.asPersonalDetailsSecureValue(): PersonalDetailsSecureValue?
Content copied to clipboard
asPhoneNumber
Link copied to clipboard
asPhoneNumberTextSource
Link copied to clipboard
asPhotoContent
Link copied to clipboard
asPhotoSize
Link copied to clipboard
asPinnedMessage
Link copied to clipboard
asPlayableMediaFile
Link copied to clipboard
asPollAnswerUpdate
Link copied to clipboard
asPollContent
Link copied to clipboard
asPollUpdate
Link copied to clipboard
asPossiblyEditedMessage
Link copied to clipboard
asPossiblyForwardedMessage
Link copied to clipboard
inline fun Message.asPossiblyForwardedMessage(): PossiblyForwardedMessage?
Content copied to clipboard
asPossiblyPaymentMessage
Link copied to clipboard
asPossiblySentViaBotCommonMessage
Link copied to clipboard
inline fun Message.asPossiblySentViaBotCommonMessage(): PossiblySentViaBotCommonMessage<MessageContent>?
Content copied to clipboard
asPreCheckoutQueryUpdate
Link copied to clipboard
asPreTextSource
Link copied to clipboard
asPrivateChat
Link copied to clipboard
asPrivateContentMessage
Link copied to clipboard
inline fun Message.asPrivateContentMessage(): PrivateContentMessage<MessageContent>?
Content copied to clipboard
asPrivateContentMessageImpl
Link copied to clipboard
inline fun Message.asPrivateContentMessageImpl(): PrivateContentMessageImpl<MessageContent>?
Content copied to clipboard
asProximityAlertTriggered
Link copied to clipboard
inline fun ChatEvent.asProximityAlertTriggered(): ProximityAlertTriggered?
Content copied to clipboard
asPublicChat
Link copied to clipboard
asPublicContentMessage
Link copied to clipboard
inline fun Message.asPublicContentMessage(): PublicContentMessage<MessageContent>?
Content copied to clipboard
asQuizPoll
Link copied to clipboard
asRecordVideoAction
Link copied to clipboard
asRecordVideoNoteAction
Link copied to clipboard
asRecordVoiceAction
Link copied to clipboard
asRegularPoll
Link copied to clipboard
asRegularTextSource
Link copied to clipboard
asRentalAgreement
Link copied to clipboard
inline fun EncryptedPassportElement.asRentalAgreement(): RentalAgreement?
Content copied to clipboard
asRentalAgreementSecureValue
Link copied to clipboard
inline fun SecureValue.asRentalAgreementSecureValue(): RentalAgreementSecureValue?
Content copied to clipboard
asReplyKeyboardMarkup
Link copied to clipboard
asReplyKeyboardRemove
Link copied to clipboard
asRestrictedChatMember
Link copied to clipboard
asSecureValueIdentity
Link copied to clipboard
asSecureValueWithData
Link copied to clipboard
asSecureValueWithFiles
Link copied to clipboard
asSecureValueWithReverseSide
Link copied to clipboard
inline fun SecureValue.asSecureValueWithReverseSide(): SecureValueWithReverseSide?
Content copied to clipboard
asSecureValueWithTranslations
Link copied to clipboard
inline fun SecureValue.asSecureValueWithTranslations(): SecureValueWithTranslations?
Content copied to clipboard
asSendInvoice
Link copied to clipboard
asSentMediaGroupUpdate
Link copied to clipboard
asShippingQueryUpdate
Link copied to clipboard
asSignedMessage
Link copied to clipboard
asSizedInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.asSizedInlineQueryResult(): SizedInlineQueryResult?
Content copied to clipboard
asSizedInputMedia
Link copied to clipboard
asSizedMediaFile
Link copied to clipboard
asSlotMachineDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.asSlotMachineDiceAnimationType(): SlotMachineDiceAnimationType?
Content copied to clipboard
asSpecialRightsChatMember
Link copied to clipboard
inline fun ChatMember.asSpecialRightsChatMember(): SpecialRightsChatMember?
Content copied to clipboard
asSticker
Link copied to clipboard
asStickerContent
Link copied to clipboard
asStrikethroughTextSource
Link copied to clipboard
inline fun TextSource.asStrikethroughTextSource(): StrikethroughTextSource?
Content copied to clipboard
asSupergroupChat
Link copied to clipboard
asSupergroupChatCreated
Link copied to clipboard
asSupergroupEvent
Link copied to clipboard
asSupergroupEventMessage
Link copied to clipboard
inline fun Message.asSupergroupEventMessage(): SupergroupEventMessage<SupergroupEvent>?
Content copied to clipboard
asSuperPublicChat
Link copied to clipboard
asSwitchInlineQueryCurrentChatInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.asSwitchInlineQueryCurrentChatInlineKeyboardButton(): SwitchInlineQueryCurrentChatInlineKeyboardButton?
Content copied to clipboard
asSwitchInlineQueryInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.asSwitchInlineQueryInlineKeyboardButton(): SwitchInlineQueryInlineKeyboardButton?
Content copied to clipboard
asTemporalRegistrationSecureValue
Link copied to clipboard
inline fun SecureValue.asTemporalRegistrationSecureValue(): TemporalRegistrationSecureValue?
Content copied to clipboard
asTemporaryRegistration
Link copied to clipboard
inline fun EncryptedPassportElement.asTemporaryRegistration(): TemporaryRegistration?
Content copied to clipboard
asTextContent
Link copied to clipboard
asTextLinkTextSource
Link copied to clipboard
asTextMentionTextSource
Link copied to clipboard
asThumbedInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.asThumbedInlineQueryResult(): ThumbedInlineQueryResult?
Content copied to clipboard
asThumbedInputMedia
Link copied to clipboard
asThumbedMediaFile
Link copied to clipboard
asThumbedWithMimeTypeInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.asThumbedWithMimeTypeInlineQueryResult(): ThumbedWithMimeTypeInlineQueryResult?
Content copied to clipboard
asThumbSizedInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.asThumbSizedInlineQueryResult(): ThumbSizedInlineQueryResult?
Content copied to clipboard
asTitledInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.asTitledInlineQueryResult(): TitledInlineQueryResult?
Content copied to clipboard
asTitledInputMedia
Link copied to clipboard
asTypingAction
Link copied to clipboard
asUnderlineTextSource
Link copied to clipboard
asUnknownCallbackQueryType
Link copied to clipboard
inline fun CallbackQuery.asUnknownCallbackQueryType(): UnknownCallbackQueryType?
Content copied to clipboard
asUnknownChatType
Link copied to clipboard
asUnknownEncryptedPassportElement
Link copied to clipboard
inline fun EncryptedPassportElement.asUnknownEncryptedPassportElement(): UnknownEncryptedPassportElement?
Content copied to clipboard
asUnknownInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.asUnknownInlineKeyboardButton(): UnknownInlineKeyboardButton?
Content copied to clipboard
asUnknownMessageType
Link copied to clipboard
asUnknownPassportElementError
Link copied to clipboard
inline fun PassportElementError.asUnknownPassportElementError(): UnknownPassportElementError?
Content copied to clipboard
asUnknownPollType
Link copied to clipboard
asUnknownUpdate
Link copied to clipboard
asUploadDocumentAction
Link copied to clipboard
asUploadPhotoAction
Link copied to clipboard
asUploadVideoAction
Link copied to clipboard
asUploadVideoNoteAction
Link copied to clipboard
asUploadVoiceAction
Link copied to clipboard
asURLInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.asURLInlineKeyboardButton(): URLInlineKeyboardButton?
Content copied to clipboard
asUrlInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.asUrlInlineQueryResult(): UrlInlineQueryResult?
Content copied to clipboard
asURLTextSource
Link copied to clipboard
asUsernameChat
Link copied to clipboard
asUtilityBill
Link copied to clipboard
asUtilityBillSecureValue
Link copied to clipboard
inline fun SecureValue.asUtilityBillSecureValue(): UtilityBillSecureValue?
Content copied to clipboard
asVenueContent
Link copied to clipboard
asVideoContent
Link copied to clipboard
asVideoFile
Link copied to clipboard
asVideoNoteContent
Link copied to clipboard
asVideoNoteFile
Link copied to clipboard
asVisualMediaGroupContent
Link copied to clipboard
inline fun ResendableContent.asVisualMediaGroupContent(): VisualMediaGroupContent?
Content copied to clipboard
asVisualMediaGroupMemberInputMedia
Link copied to clipboard
inline fun InputMedia.asVisualMediaGroupMemberInputMedia(): VisualMediaGroupMemberInputMedia?
Content copied to clipboard
asVoiceChatEnded
Link copied to clipboard
asVoiceChatEvent
Link copied to clipboard
asVoiceChatParticipantsInvited
Link copied to clipboard
inline fun ChatEvent.asVoiceChatParticipantsInvited(): VoiceChatParticipantsInvited?
Content copied to clipboard
asVoiceChatStarted
Link copied to clipboard
asVoiceContent
Link copied to clipboard
asVoiceFile
Link copied to clipboard
asWithInputMessageContentInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.asWithInputMessageContentInlineQueryResult(): WithInputMessageContentInlineQueryResult?
Content copied to clipboard
asWithOptionalLanguageCode
Link copied to clipboard
calculateSlotMachineResult
Link copied to clipboard
commonMessages
Link copied to clipboard
inline fun <C : MessageContent, T : ContentMessage<C>> Flow<T>.commonMessages(): Flow<CommonMessage<C>>
Content copied to clipboard
Shortcut for onlyCommonMessages
onlyAnimationContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyAnimationContentMessages(): Flow<ContentMessage<AnimationContent>>
Content copied to clipboard
onlyAudioContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyAudioContentMessages(): Flow<ContentMessage<AudioContent>>
Content copied to clipboard
onlyCommonMessages
Link copied to clipboard
fun <C : MessageContent, T : ContentMessage<C>> Flow<T>.onlyCommonMessages(): Flow<CommonMessage<C>>
Content copied to clipboard
onlyContactContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyContactContentMessages(): Flow<ContentMessage<ContactContent>>
Content copied to clipboard
onlyDiceContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyDiceContentMessages(): Flow<ContentMessage<DiceContent>>
Content copied to clipboard
onlyDocumentContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyDocumentContentMessages(): Flow<ContentMessage<DocumentContent>>
Content copied to clipboard
onlyGameContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyGameContentMessages(): Flow<ContentMessage<GameContent>>
Content copied to clipboard
onlyInlineMessageIdDataCallbackQueries
Link copied to clipboard
fun <T : CallbackQuery> Flow<T>.onlyInlineMessageIdDataCallbackQueries(): Flow<InlineMessageIdDataCallbackQuery>
Content copied to clipboard
onlyInvoiceContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyInvoiceContentMessages(): Flow<ContentMessage<InvoiceContent>>
Content copied to clipboard
onlyLocationContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyLocationContentMessages(): Flow<ContentMessage<LocationContent>>
Content copied to clipboard
onlyMessageDataCallbackQueries
Link copied to clipboard
fun <T : CallbackQuery> Flow<T>.onlyMessageDataCallbackQueries(): Flow<MessageDataCallbackQuery>
Content copied to clipboard
onlyPhotoContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyPhotoContentMessages(): Flow<ContentMessage<PhotoContent>>
Content copied to clipboard
onlyPollContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyPollContentMessages(): Flow<ContentMessage<PollContent>>
Content copied to clipboard
onlySentViaBot
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
onlyStickerContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyStickerContentMessages(): Flow<ContentMessage<StickerContent>>
Content copied to clipboard
onlyTextContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyTextContentMessages(): Flow<ContentMessage<TextContent>>
Content copied to clipboard
onlyVenueContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVenueContentMessages(): Flow<ContentMessage<VenueContent>>
Content copied to clipboard
onlyVideoContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVideoContentMessages(): Flow<ContentMessage<VideoContent>>
Content copied to clipboard
onlyVideoNoteContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVideoNoteContentMessages(): Flow<ContentMessage<VideoNoteContent>>
Content copied to clipboard
onlyVoiceContentMessages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVoiceContentMessages(): Flow<ContentMessage<VoiceContent>>
Content copied to clipboard
requireAddressSecureValue
Link copied to clipboard
requireAdministratorChatMember
Link copied to clipboard
inline fun ChatMember.requireAdministratorChatMember(): AdministratorChatMember
Content copied to clipboard
requireAnimationContent
Link copied to clipboard
requireAnimationFile
Link copied to clipboard
requireAnonymousGroupContentMessage
Link copied to clipboard
inline fun Message.requireAnonymousGroupContentMessage(): AnonymousGroupContentMessage<MessageContent>
Content copied to clipboard
requireAnonymousGroupContentMessageImpl
Link copied to clipboard
inline fun Message.requireAnonymousGroupContentMessageImpl(): AnonymousGroupContentMessageImpl<MessageContent>
Content copied to clipboard
requireAudioContent
Link copied to clipboard
requireAudioFile
Link copied to clipboard
requireAudioMediaGroupContent
Link copied to clipboard
inline fun ResendableContent.requireAudioMediaGroupContent(): AudioMediaGroupContent
Content copied to clipboard
requireAudioMediaGroupMemberInputMedia
Link copied to clipboard
inline fun InputMedia.requireAudioMediaGroupMemberInputMedia(): AudioMediaGroupMemberInputMedia
Content copied to clipboard
requireBankStatement
Link copied to clipboard
inline fun EncryptedPassportElement.requireBankStatement(): BankStatement
Content copied to clipboard
requireBankStatementSecureValue
Link copied to clipboard
inline fun SecureValue.requireBankStatementSecureValue(): BankStatementSecureValue
Content copied to clipboard
requireBannedChatMember
Link copied to clipboard
requireBaseEditMessageUpdate
Link copied to clipboard
requireBaseInlineQuery
Link copied to clipboard
requireBaseMessageUpdate
Link copied to clipboard
requireBaseSentMessageUpdate
Link copied to clipboard
requireBasketballDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.requireBasketballDiceAnimationType(): BasketballDiceAnimationType
Content copied to clipboard
requireBoldTextSource
Link copied to clipboard
requireBot
Link copied to clipboard
requireBotCommandTextSource
Link copied to clipboard
inline fun TextSource.requireBotCommandTextSource(): BotCommandTextSource
Content copied to clipboard
requireBowlingDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.requireBowlingDiceAnimationType(): BowlingDiceAnimationType
Content copied to clipboard
requireCallbackDataInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.requireCallbackDataInlineKeyboardButton(): CallbackDataInlineKeyboardButton
Content copied to clipboard
requireCallbackGameInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.requireCallbackGameInlineKeyboardButton(): CallbackGameInlineKeyboardButton
Content copied to clipboard
requireCallbackQueryUpdate
Link copied to clipboard
requireCashTagTextSource
Link copied to clipboard
requireChannelChat
Link copied to clipboard
requireChannelChatCreated
Link copied to clipboard
requireChannelContentMessage
Link copied to clipboard
inline fun Message.requireChannelContentMessage(): ChannelContentMessageImpl<MessageContent>
Content copied to clipboard
requireChannelContentMessageImpl
Link copied to clipboard
inline fun Message.requireChannelContentMessageImpl(): ChannelContentMessageImpl<MessageContent>
Content copied to clipboard
requireChannelEvent
Link copied to clipboard
requireChannelEventMessage
Link copied to clipboard
inline fun Message.requireChannelEventMessage(): ChannelEventMessage<ChannelEvent>
Content copied to clipboard
requireChannelMediaGroupMessage
Link copied to clipboard
inline fun Message.requireChannelMediaGroupMessage(): ChannelMediaGroupMessage<MediaGroupContent>
Content copied to clipboard
requireChannelPostMediaGroupUpdate
Link copied to clipboard
inline fun Update.requireChannelPostMediaGroupUpdate(): ChannelPostMediaGroupUpdate
Content copied to clipboard
requireChannelPostUpdate
Link copied to clipboard
requireChatEventMessage
Link copied to clipboard
inline fun Message.requireChatEventMessage(): ChatEventMessage<ChatEvent>
Content copied to clipboard
requireChatMemberUpdatedUpdate
Link copied to clipboard
inline fun Update.requireChatMemberUpdatedUpdate(): ChatMemberUpdatedUpdate
Content copied to clipboard
requireChosenInlineResultUpdate
Link copied to clipboard
inline fun Update.requireChosenInlineResultUpdate(): ChosenInlineResultUpdate
Content copied to clipboard
requireCodeTextSource
Link copied to clipboard
requireCommonBot
Link copied to clipboard
requireCommonChatMemberUpdatedUpdate
Link copied to clipboard
inline fun Update.requireCommonChatMemberUpdatedUpdate(): CommonChatMemberUpdatedUpdate
Content copied to clipboard
requireCommonEvent
Link copied to clipboard
requireCommonGroupContentMessage
Link copied to clipboard
inline fun Message.requireCommonGroupContentMessage(): CommonGroupContentMessage<MessageContent>
Content copied to clipboard
requireCommonGroupEventMessage
Link copied to clipboard
inline fun Message.requireCommonGroupEventMessage(): CommonGroupEventMessage<GroupEvent>
Content copied to clipboard
requireCommonMediaGroupMessage
Link copied to clipboard
inline fun Message.requireCommonMediaGroupMessage(): CommonMediaGroupMessage<MediaGroupContent>
Content copied to clipboard
requireCommonMessage
Link copied to clipboard
requireCommonPassport
Link copied to clipboard
inline fun EncryptedPassportElement.requireCommonPassport(): CommonPassport
Content copied to clipboard
requireCommonPassportSecureValue
Link copied to clipboard
inline fun SecureValue.requireCommonPassportSecureValue(): CommonPassportSecureValue
Content copied to clipboard
requireCommonSupergroupEventMessage
Link copied to clipboard
inline fun Message.requireCommonSupergroupEventMessage(): CommonSupergroupEventMessage<SupergroupEvent>
Content copied to clipboard
requireCommonUser
Link copied to clipboard
requireContactContent
Link copied to clipboard
requireContentMessage
Link copied to clipboard
inline fun Message.requireContentMessage(): ContentMessage<MessageContent>
Content copied to clipboard
requireCreatorChatMember
Link copied to clipboard
requireCubeDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.requireCubeDiceAnimationType(): CubeDiceAnimationType
Content copied to clipboard
requireCustomDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.requireCustomDiceAnimationType(): CustomDiceAnimationType
Content copied to clipboard
requireDartsDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.requireDartsDiceAnimationType(): DartsDiceAnimationType
Content copied to clipboard
requireDataCallbackQuery
Link copied to clipboard
requireDeleteChatPhoto
Link copied to clipboard
requireDescribedInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.requireDescribedInlineQueryResult(): DescribedInlineQueryResult
Content copied to clipboard
requireDiceContent
Link copied to clipboard
requireDocumentContent
Link copied to clipboard
requireDocumentFile
Link copied to clipboard
requireDocumentMediaGroupContent
Link copied to clipboard
inline fun ResendableContent.requireDocumentMediaGroupContent(): DocumentMediaGroupContent
Content copied to clipboard
requireDocumentMediaGroupMemberInputMedia
Link copied to clipboard
inline fun InputMedia.requireDocumentMediaGroupMemberInputMedia(): DocumentMediaGroupMemberInputMedia
Content copied to clipboard
requireDriverLicense
Link copied to clipboard
inline fun EncryptedPassportElement.requireDriverLicense(): DriverLicense
Content copied to clipboard
requireDriverLicenseSecureValue
Link copied to clipboard
inline fun SecureValue.requireDriverLicenseSecureValue(): DriverLicenseSecureValue
Content copied to clipboard
requireDuratedInputMedia
Link copied to clipboard
requireEditChannelPostMediaGroupUpdate
Link copied to clipboard
inline fun Update.requireEditChannelPostMediaGroupUpdate(): EditChannelPostMediaGroupUpdate
Content copied to clipboard
requireEditChannelPostUpdate
Link copied to clipboard
requireEditMediaGroupUpdate
Link copied to clipboard
requireEditMessageMediaGroupUpdate
Link copied to clipboard
inline fun Update.requireEditMessageMediaGroupUpdate(): EditMessageMediaGroupUpdate
Content copied to clipboard
requireEditMessageUpdate
Link copied to clipboard
requireEmail
Link copied to clipboard
requireEMailTextSource
Link copied to clipboard
requireEncryptedAddress
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedAddress(): EncryptedAddress
Content copied to clipboard
requireEncryptedPassportElementTranslatable
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementTranslatable(): EncryptedPassportElementTranslatable
Content copied to clipboard
requireEncryptedPassportElementWithData
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithData(): EncryptedPassportElementWithData
Content copied to clipboard
requireEncryptedPassportElementWithEmail
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithEmail(): EncryptedPassportElementWithEmail
Content copied to clipboard
requireEncryptedPassportElementWithFilesCollection
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithFilesCollection(): EncryptedPassportElementWithFilesCollection
Content copied to clipboard
requireEncryptedPassportElementWithFrontSide
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithFrontSide(): EncryptedPassportElementWithFrontSide
Content copied to clipboard
requireEncryptedPassportElementWithPhoneNumber
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithPhoneNumber(): EncryptedPassportElementWithPhoneNumber
Content copied to clipboard
requireEncryptedPassportElementWithReverseSide
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithReverseSide(): EncryptedPassportElementWithReverseSide
Content copied to clipboard
requireEncryptedPassportElementWithSelfie
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithSelfie(): EncryptedPassportElementWithSelfie
Content copied to clipboard
requireEncryptedPassportElementWithTranslatableFilesCollection
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithTranslatableFilesCollection(): EncryptedPassportElementWithTranslatableFilesCollection
Content copied to clipboard
requireEncryptedPassportElementWithTranslatableIDDocument
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithTranslatableIDDocument(): EncryptedPassportElementWithTranslatableIDDocument
Content copied to clipboard
requireEncryptedPersonalDetails
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPersonalDetails(): EncryptedPersonalDetails
Content copied to clipboard
requireExtendedBot
Link copied to clipboard
requireExtendedChannelChat
Link copied to clipboard
requireExtendedChat
Link copied to clipboard
requireExtendedGroupChat
Link copied to clipboard
requireExtendedPrivateChat
Link copied to clipboard
requireExtendedPublicChat
Link copied to clipboard
requireExtendedSupergroupChat
Link copied to clipboard
requireFile
Link copied to clipboard
requireFileInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.requireFileInlineQueryResult(): FileInlineQueryResult
Content copied to clipboard
requireFindLocationAction
Link copied to clipboard
requireFootballDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.requireFootballDiceAnimationType(): FootballDiceAnimationType
Content copied to clipboard
requireForceReply
Link copied to clipboard
requireFromChannelGroupContentMessage
Link copied to clipboard
inline fun Message.requireFromChannelGroupContentMessage(): FromChannelGroupContentMessage<MessageContent>
Content copied to clipboard
requireFromChannelGroupContentMessageImpl
Link copied to clipboard
inline fun Message.requireFromChannelGroupContentMessageImpl(): FromChannelGroupContentMessageImpl<MessageContent>
Content copied to clipboard
requireFromUser
Link copied to clipboard
requireFromUserMessage
Link copied to clipboard
requireGameContent
Link copied to clipboard
requireGameShortNameCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.requireGameShortNameCallbackQuery(): GameShortNameCallbackQuery
Content copied to clipboard
requireGroupChat
Link copied to clipboard
requireGroupChatCreated
Link copied to clipboard
requireGroupContentMessage
Link copied to clipboard
inline fun Message.requireGroupContentMessage(): GroupContentMessage<MessageContent>
Content copied to clipboard
requireGroupEvent
Link copied to clipboard
requireGroupEventMessage
Link copied to clipboard
inline fun Message.requireGroupEventMessage(): GroupEventMessage<GroupEvent>
Content copied to clipboard
requireHashTagTextSource
Link copied to clipboard
requireIdentityCard
Link copied to clipboard
requireIdentityCardSecureValue
Link copied to clipboard
inline fun SecureValue.requireIdentityCardSecureValue(): IdentityCardSecureValue
Content copied to clipboard
requireIdentityWithReverseSideSecureValue
Link copied to clipboard
inline fun SecureValue.requireIdentityWithReverseSideSecureValue(): IdentityWithReverseSideSecureValue
Content copied to clipboard
requireInlineKeyboardMarkup
Link copied to clipboard
inline fun KeyboardMarkup.requireInlineKeyboardMarkup(): InlineKeyboardMarkup
Content copied to clipboard
requireInlineMessageIdCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.requireInlineMessageIdCallbackQuery(): InlineMessageIdCallbackQuery
Content copied to clipboard
requireInlineMessageIdDataCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.requireInlineMessageIdDataCallbackQuery(): InlineMessageIdDataCallbackQuery
Content copied to clipboard
requireInlineMessageIdGameShortNameCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.requireInlineMessageIdGameShortNameCallbackQuery(): InlineMessageIdGameShortNameCallbackQuery
Content copied to clipboard
requireInlineQueryResultArticle
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultArticle(): InlineQueryResultArticle
Content copied to clipboard
requireInlineQueryResultAudio
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultAudio(): InlineQueryResultAudio
Content copied to clipboard
requireInlineQueryResultAudioCached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultAudioCached(): InlineQueryResultAudioCached
Content copied to clipboard
requireInlineQueryResultAudioCommon
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultAudioCommon(): InlineQueryResultAudioCommon
Content copied to clipboard
requireInlineQueryResultContact
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultContact(): InlineQueryResultContact
Content copied to clipboard
requireInlineQueryResultDocument
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultDocument(): InlineQueryResultDocument
Content copied to clipboard
requireInlineQueryResultDocumentCached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultDocumentCached(): InlineQueryResultDocumentCached
Content copied to clipboard
requireInlineQueryResultDocumentCommon
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultDocumentCommon(): InlineQueryResultDocumentCommon
Content copied to clipboard
requireInlineQueryResultGame
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGame(): InlineQueryResultGame
Content copied to clipboard
requireInlineQueryResultGif
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGif(): InlineQueryResultGif
Content copied to clipboard
requireInlineQueryResultGifCached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGifCached(): InlineQueryResultGifCached
Content copied to clipboard
requireInlineQueryResultGifCommon
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGifCommon(): InlineQueryResultGifCommon
Content copied to clipboard
requireInlineQueryResultLocation
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultLocation(): InlineQueryResultLocation
Content copied to clipboard
requireInlineQueryResultMpeg4Gif
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultMpeg4Gif(): InlineQueryResultMpeg4Gif
Content copied to clipboard
requireInlineQueryResultMpeg4GifCached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultMpeg4GifCached(): InlineQueryResultMpeg4GifCached
Content copied to clipboard
requireInlineQueryResultMpeg4GifCommon
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultMpeg4GifCommon(): InlineQueryResultMpeg4GifCommon
Content copied to clipboard
requireInlineQueryResultPhoto
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultPhoto(): InlineQueryResultPhoto
Content copied to clipboard
requireInlineQueryResultPhotoCached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultPhotoCached(): InlineQueryResultPhotoCached
Content copied to clipboard
requireInlineQueryResultPhotoCommon
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultPhotoCommon(): InlineQueryResultPhotoCommon
Content copied to clipboard
requireInlineQueryResultStickerCached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultStickerCached(): InlineQueryResultStickerCached
Content copied to clipboard
requireInlineQueryResultVenue
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVenue(): InlineQueryResultVenue
Content copied to clipboard
requireInlineQueryResultVideo
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVideo(): InlineQueryResultVideo
Content copied to clipboard
requireInlineQueryResultVideoCached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVideoCached(): InlineQueryResultVideoCached
Content copied to clipboard
requireInlineQueryResultVideoCommon
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVideoCommon(): InlineQueryResultVideoCommon
Content copied to clipboard
requireInlineQueryResultVoice
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVoice(): InlineQueryResultVoice
Content copied to clipboard
requireInlineQueryResultVoiceCached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVoiceCached(): InlineQueryResultVoiceCached
Content copied to clipboard
requireInlineQueryResultVoiceCommon
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVoiceCommon(): InlineQueryResultVoiceCommon
Content copied to clipboard
requireInlineQueryUpdate
Link copied to clipboard
requireInputContactMessageContent
Link copied to clipboard
inline fun InputMessageContent.requireInputContactMessageContent(): InputContactMessageContent
Content copied to clipboard
requireInputInvoiceMessageContent
Link copied to clipboard
inline fun CommonSendInvoiceData.requireInputInvoiceMessageContent(): InputInvoiceMessageContent
Content copied to clipboard
inline fun InputMessageContent.requireInputInvoiceMessageContent(): InputInvoiceMessageContent
Content copied to clipboard
requireInputLocationMessageContent
Link copied to clipboard
inline fun InputMessageContent.requireInputLocationMessageContent(): InputLocationMessageContent
Content copied to clipboard
requireInputMediaAnimation
Link copied to clipboard
requireInputMediaAudio
Link copied to clipboard
requireInputMediaDocument
Link copied to clipboard
requireInputMediaPhoto
Link copied to clipboard
requireInputMediaVideo
Link copied to clipboard
requireInputTextMessageContent
Link copied to clipboard
inline fun InputMessageContent.requireInputTextMessageContent(): InputTextMessageContent
Content copied to clipboard
requireInputVenueMessageContent
Link copied to clipboard
inline fun InputMessageContent.requireInputVenueMessageContent(): InputVenueMessageContent
Content copied to clipboard
requireInternalPassport
Link copied to clipboard
inline fun EncryptedPassportElement.requireInternalPassport(): InternalPassport
Content copied to clipboard
requireInternalPassportSecureValue
Link copied to clipboard
inline fun SecureValue.requireInternalPassportSecureValue(): InternalPassportSecureValue
Content copied to clipboard
requireInvoiceContent
Link copied to clipboard
requireItalicTextSource
Link copied to clipboard
requireKickedChatMember
Link copied to clipboard
requireLeftChatMember
Link copied to clipboard
requireLocationContent
Link copied to clipboard
requireLocationInlineQuery
Link copied to clipboard
requireLoginURLInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.requireLoginURLInlineKeyboardButton(): LoginURLInlineKeyboardButton
Content copied to clipboard
requireMediaCollectionContent
Link copied to clipboard
inline fun ResendableContent.requireMediaCollectionContent(): MediaCollectionContent<TelegramMediaFile>
Content copied to clipboard
requireMediaContent
Link copied to clipboard
requireMediaGroupContent
Link copied to clipboard
inline fun ResendableContent.requireMediaGroupContent(): MediaGroupContent
Content copied to clipboard
requireMediaGroupMemberInputMedia
Link copied to clipboard
inline fun InputMedia.requireMediaGroupMemberInputMedia(): MediaGroupMemberInputMedia
Content copied to clipboard
requireMediaGroupMessage
Link copied to clipboard
inline fun Message.requireMediaGroupMessage(): MediaGroupMessage<MediaGroupContent>
Content copied to clipboard
requireMediaGroupUpdate
Link copied to clipboard
requireMemberChatMember
Link copied to clipboard
requireMentionTextSource
Link copied to clipboard
requireMessageAutoDeleteTimerChanged
Link copied to clipboard
inline fun ChatEvent.requireMessageAutoDeleteTimerChanged(): MessageAutoDeleteTimerChanged
Content copied to clipboard
requireMessageCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.requireMessageCallbackQuery(): MessageCallbackQuery
Content copied to clipboard
requireMessageContent
Link copied to clipboard
requireMessageDataCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.requireMessageDataCallbackQuery(): MessageDataCallbackQuery
Content copied to clipboard
requireMessageGameShortNameCallbackQuery
Link copied to clipboard
inline fun CallbackQuery.requireMessageGameShortNameCallbackQuery(): MessageGameShortNameCallbackQuery
Content copied to clipboard
requireMessageMediaGroupUpdate
Link copied to clipboard
inline fun Update.requireMessageMediaGroupUpdate(): MessageMediaGroupUpdate
Content copied to clipboard
requireMessageUpdate
Link copied to clipboard
requireMimedMediaFile
Link copied to clipboard
requireMultilevelTextSource
Link copied to clipboard
inline fun TextSource.requireMultilevelTextSource(): MultilevelTextSource
Content copied to clipboard
requireMultipleAnswersPoll
Link copied to clipboard
requireMyChatMemberUpdatedUpdate
Link copied to clipboard
inline fun Update.requireMyChatMemberUpdatedUpdate(): MyChatMemberUpdatedUpdate
Content copied to clipboard
requireNewChatMembers
Link copied to clipboard
requireNewChatPhoto
Link copied to clipboard
requireNewChatTitle
Link copied to clipboard
requireOptionallyTitledInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.requireOptionallyTitledInlineQueryResult(): OptionallyTitledInlineQueryResult
Content copied to clipboard
requireOtherDocumentsSecureValue
Link copied to clipboard
inline fun SecureValue.requireOtherDocumentsSecureValue(): OtherDocumentsSecureValue
Content copied to clipboard
requirePassport
Link copied to clipboard
requirePassportElementErrorDataField
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorDataField(): PassportElementErrorDataField
Content copied to clipboard
requirePassportElementErrorFile
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorFile(): PassportElementErrorFile
Content copied to clipboard
requirePassportElementErrorFiles
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorFiles(): PassportElementErrorFiles
Content copied to clipboard
requirePassportElementErrorFrontSide
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorFrontSide(): PassportElementErrorFrontSide
Content copied to clipboard
requirePassportElementErrorReverseSide
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorReverseSide(): PassportElementErrorReverseSide
Content copied to clipboard
requirePassportElementErrorSelfie
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorSelfie(): PassportElementErrorSelfie
Content copied to clipboard
requirePassportElementErrorTranslationFile
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorTranslationFile(): PassportElementErrorTranslationFile
Content copied to clipboard
requirePassportElementErrorTranslationFiles
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorTranslationFiles(): PassportElementErrorTranslationFiles
Content copied to clipboard
requirePassportElementErrorUnspecified
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorUnspecified(): PassportElementErrorUnspecified
Content copied to clipboard
requirePassportElementFileError
Link copied to clipboard
inline fun PassportElementError.requirePassportElementFileError(): PassportElementFileError
Content copied to clipboard
requirePassportElementFilesError
Link copied to clipboard
inline fun PassportElementError.requirePassportElementFilesError(): PassportElementFilesError
Content copied to clipboard
requirePassportMessage
Link copied to clipboard
requirePassportMultipleElementsError
Link copied to clipboard
inline fun PassportElementError.requirePassportMultipleElementsError(): PassportMultipleElementsError
Content copied to clipboard
requirePassportRegistration
Link copied to clipboard
inline fun EncryptedPassportElement.requirePassportRegistration(): PassportRegistration
Content copied to clipboard
requirePassportRegistrationSecureValue
Link copied to clipboard
inline fun SecureValue.requirePassportRegistrationSecureValue(): PassportRegistrationSecureValue
Content copied to clipboard
requirePassportSecureValue
Link copied to clipboard
requirePassportSingleElementError
Link copied to clipboard
inline fun PassportElementError.requirePassportSingleElementError(): PassportSingleElementError
Content copied to clipboard
requirePathedFile
Link copied to clipboard
requirePayInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.requirePayInlineKeyboardButton(): PayInlineKeyboardButton
Content copied to clipboard
requirePersonalDetailsSecureValue
Link copied to clipboard
inline fun SecureValue.requirePersonalDetailsSecureValue(): PersonalDetailsSecureValue
Content copied to clipboard
requirePhoneNumber
Link copied to clipboard
requirePhoneNumberTextSource
Link copied to clipboard
inline fun TextSource.requirePhoneNumberTextSource(): PhoneNumberTextSource
Content copied to clipboard
requirePhotoContent
Link copied to clipboard
requirePhotoSize
Link copied to clipboard
requirePinnedMessage
Link copied to clipboard
requirePlayableMediaFile
Link copied to clipboard
inline fun TelegramMediaFile.requirePlayableMediaFile(): PlayableMediaFile
Content copied to clipboard
requirePollAnswerUpdate
Link copied to clipboard
requirePollContent
Link copied to clipboard
requirePollUpdate
Link copied to clipboard
requirePossiblyEditedMessage
Link copied to clipboard
requirePossiblyForwardedMessage
Link copied to clipboard
inline fun Message.requirePossiblyForwardedMessage(): PossiblyForwardedMessage
Content copied to clipboard
requirePossiblyPaymentMessage
Link copied to clipboard
inline fun Message.requirePossiblyPaymentMessage(): PossiblyPaymentMessage
Content copied to clipboard
requirePossiblySentViaBotCommonMessage
Link copied to clipboard
inline fun Message.requirePossiblySentViaBotCommonMessage(): PossiblySentViaBotCommonMessage<MessageContent>
Content copied to clipboard
requirePreCheckoutQueryUpdate
Link copied to clipboard
inline fun Update.requirePreCheckoutQueryUpdate(): PreCheckoutQueryUpdate
Content copied to clipboard
requirePreTextSource
Link copied to clipboard
requirePrivateChat
Link copied to clipboard
requirePrivateContentMessage
Link copied to clipboard
inline fun Message.requirePrivateContentMessage(): PrivateContentMessage<MessageContent>
Content copied to clipboard
requirePrivateContentMessageImpl
Link copied to clipboard
inline fun Message.requirePrivateContentMessageImpl(): PrivateContentMessageImpl<MessageContent>
Content copied to clipboard
requireProximityAlertTriggered
Link copied to clipboard
inline fun ChatEvent.requireProximityAlertTriggered(): ProximityAlertTriggered
Content copied to clipboard
requirePublicChat
Link copied to clipboard
requirePublicContentMessage
Link copied to clipboard
inline fun Message.requirePublicContentMessage(): PublicContentMessage<MessageContent>
Content copied to clipboard
requireQuizPoll
Link copied to clipboard
requireRecordVideoAction
Link copied to clipboard
requireRecordVideoNoteAction
Link copied to clipboard
inline fun BotAction.requireRecordVideoNoteAction(): RecordVideoNoteAction
Content copied to clipboard
requireRecordVoiceAction
Link copied to clipboard
requireRegularPoll
Link copied to clipboard
requireRegularTextSource
Link copied to clipboard
requireRentalAgreement
Link copied to clipboard
inline fun EncryptedPassportElement.requireRentalAgreement(): RentalAgreement
Content copied to clipboard
requireRentalAgreementSecureValue
Link copied to clipboard
inline fun SecureValue.requireRentalAgreementSecureValue(): RentalAgreementSecureValue
Content copied to clipboard
requireReplyKeyboardMarkup
Link copied to clipboard
inline fun KeyboardMarkup.requireReplyKeyboardMarkup(): ReplyKeyboardMarkup
Content copied to clipboard
requireReplyKeyboardRemove
Link copied to clipboard
inline fun KeyboardMarkup.requireReplyKeyboardRemove(): ReplyKeyboardRemove
Content copied to clipboard
requireRestrictedChatMember
Link copied to clipboard
inline fun ChatMember.requireRestrictedChatMember(): RestrictedChatMember
Content copied to clipboard
requireSecureValueIdentity
Link copied to clipboard
requireSecureValueWithData
Link copied to clipboard
requireSecureValueWithFiles
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithFiles(): SecureValueWithFiles
Content copied to clipboard
requireSecureValueWithReverseSide
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithReverseSide(): SecureValueWithReverseSide
Content copied to clipboard
requireSecureValueWithTranslations
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithTranslations(): SecureValueWithTranslations
Content copied to clipboard
requireSentMediaGroupUpdate
Link copied to clipboard
requireShippingQueryUpdate
Link copied to clipboard
requireSignedMessage
Link copied to clipboard
requireSizedInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.requireSizedInlineQueryResult(): SizedInlineQueryResult
Content copied to clipboard
requireSizedInputMedia
Link copied to clipboard
requireSizedMediaFile
Link copied to clipboard
requireSlotMachineDiceAnimationType
Link copied to clipboard
inline fun DiceAnimationType.requireSlotMachineDiceAnimationType(): SlotMachineDiceAnimationType
Content copied to clipboard
requireSpecialRightsChatMember
Link copied to clipboard
inline fun ChatMember.requireSpecialRightsChatMember(): SpecialRightsChatMember
Content copied to clipboard
requireSticker
Link copied to clipboard
requireStickerContent
Link copied to clipboard
requireStrikethroughTextSource
Link copied to clipboard
inline fun TextSource.requireStrikethroughTextSource(): StrikethroughTextSource
Content copied to clipboard
requireSupergroupChat
Link copied to clipboard
requireSupergroupChatCreated
Link copied to clipboard
inline fun ChatEvent.requireSupergroupChatCreated(): SupergroupChatCreated
Content copied to clipboard
requireSupergroupEvent
Link copied to clipboard
requireSupergroupEventMessage
Link copied to clipboard
inline fun Message.requireSupergroupEventMessage(): SupergroupEventMessage<SupergroupEvent>
Content copied to clipboard
requireSuperPublicChat
Link copied to clipboard
requireSwitchInlineQueryCurrentChatInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.requireSwitchInlineQueryCurrentChatInlineKeyboardButton(): SwitchInlineQueryCurrentChatInlineKeyboardButton
Content copied to clipboard
requireSwitchInlineQueryInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.requireSwitchInlineQueryInlineKeyboardButton(): SwitchInlineQueryInlineKeyboardButton
Content copied to clipboard
requireTemporalRegistrationSecureValue
Link copied to clipboard
inline fun SecureValue.requireTemporalRegistrationSecureValue(): TemporalRegistrationSecureValue
Content copied to clipboard
requireTemporaryRegistration
Link copied to clipboard
inline fun EncryptedPassportElement.requireTemporaryRegistration(): TemporaryRegistration
Content copied to clipboard
requireTextContent
Link copied to clipboard
requireTextLinkTextSource
Link copied to clipboard
requireTextMentionTextSource
Link copied to clipboard
inline fun TextSource.requireTextMentionTextSource(): TextMentionTextSource
Content copied to clipboard
requireThumbedInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.requireThumbedInlineQueryResult(): ThumbedInlineQueryResult
Content copied to clipboard
requireThumbedInputMedia
Link copied to clipboard
requireThumbedMediaFile
Link copied to clipboard
requireThumbedWithMimeTypeInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.requireThumbedWithMimeTypeInlineQueryResult(): ThumbedWithMimeTypeInlineQueryResult
Content copied to clipboard
requireThumbSizedInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.requireThumbSizedInlineQueryResult(): ThumbSizedInlineQueryResult
Content copied to clipboard
requireTitledInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.requireTitledInlineQueryResult(): TitledInlineQueryResult
Content copied to clipboard
requireTitledInputMedia
Link copied to clipboard
requireTypingAction
Link copied to clipboard
requireUnderlineTextSource
Link copied to clipboard
requireUnknownCallbackQueryType
Link copied to clipboard
inline fun CallbackQuery.requireUnknownCallbackQueryType(): UnknownCallbackQueryType
Content copied to clipboard
requireUnknownChatType
Link copied to clipboard
requireUnknownEncryptedPassportElement
Link copied to clipboard
inline fun EncryptedPassportElement.requireUnknownEncryptedPassportElement(): UnknownEncryptedPassportElement
Content copied to clipboard
requireUnknownInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.requireUnknownInlineKeyboardButton(): UnknownInlineKeyboardButton
Content copied to clipboard
requireUnknownMessageType
Link copied to clipboard
requireUnknownPassportElementError
Link copied to clipboard
inline fun PassportElementError.requireUnknownPassportElementError(): UnknownPassportElementError
Content copied to clipboard
requireUnknownPollType
Link copied to clipboard
requireUnknownUpdate
Link copied to clipboard
requireUploadDocumentAction
Link copied to clipboard
requireUploadPhotoAction
Link copied to clipboard
requireUploadVideoAction
Link copied to clipboard
requireUploadVideoNoteAction
Link copied to clipboard
inline fun BotAction.requireUploadVideoNoteAction(): UploadVideoNoteAction
Content copied to clipboard
requireUploadVoiceAction
Link copied to clipboard
requireURLInlineKeyboardButton
Link copied to clipboard
inline fun InlineKeyboardButton.requireURLInlineKeyboardButton(): URLInlineKeyboardButton
Content copied to clipboard
requireUrlInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.requireUrlInlineQueryResult(): UrlInlineQueryResult
Content copied to clipboard
requireURLTextSource
Link copied to clipboard
requireUser
Link copied to clipboard
requireUsernameChat
Link copied to clipboard
requireUtilityBill
Link copied to clipboard
requireUtilityBillSecureValue
Link copied to clipboard
inline fun SecureValue.requireUtilityBillSecureValue(): UtilityBillSecureValue
Content copied to clipboard
requireVenueContent
Link copied to clipboard
requireVideoContent
Link copied to clipboard
requireVideoFile
Link copied to clipboard
requireVideoNoteContent
Link copied to clipboard
requireVideoNoteFile
Link copied to clipboard
requireVisualMediaGroupContent
Link copied to clipboard
inline fun ResendableContent.requireVisualMediaGroupContent(): VisualMediaGroupContent
Content copied to clipboard
requireVisualMediaGroupMemberInputMedia
Link copied to clipboard
inline fun InputMedia.requireVisualMediaGroupMemberInputMedia(): VisualMediaGroupMemberInputMedia
Content copied to clipboard
requireVoiceChatEnded
Link copied to clipboard
requireVoiceChatEvent
Link copied to clipboard
requireVoiceChatParticipantsInvited
Link copied to clipboard
inline fun CommonSendInvoiceData.requireVoiceChatParticipantsInvited(): SendInvoice
Content copied to clipboard
inline fun ChatEvent.requireVoiceChatParticipantsInvited(): VoiceChatParticipantsInvited
Content copied to clipboard
requireVoiceChatStarted
Link copied to clipboard
requireVoiceContent
Link copied to clipboard
requireVoiceFile
Link copied to clipboard
requireWithContent
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> PrivateContentMessage<*>.requireWithContent(): PrivateContentMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> PublicContentMessage<*>.requireWithContent(): PublicContentMessage<T>
Content copied to clipboard
inline fun <T : MessageContent> PossiblySentViaBotCommonMessage<*>.requireWithContent(): PossiblySentViaBotCommonMessage<T>
Content copied to clipboard
requireWithInputMessageContentInlineQueryResult
Link copied to clipboard
inline fun InlineQueryResult.requireWithInputMessageContentInlineQueryResult(): WithInputMessageContentInlineQueryResult
Content copied to clipboard
requireWithOptionalLanguageCode
Link copied to clipboard
inline fun Any.requireWithOptionalLanguageCode(): WithOptionalLanguageCode
Content copied to clipboard
whenAddressSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenAddressSecureValue(block: (AddressSecureValue) -> T): T?
Content copied to clipboard
whenAdministratorChatMember
Link copied to clipboard
inline fun <T> ChatMember.whenAdministratorChatMember(block: (AdministratorChatMember) -> T): T?
Content copied to clipboard
whenAnimationContent
Link copied to clipboard
inline fun <T> ResendableContent.whenAnimationContent(block: (AnimationContent) -> T): T?
Content copied to clipboard
whenAnimationFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenAnimationFile(block: (AnimationFile) -> T): T?
Content copied to clipboard
whenAnonymousGroupContentMessage
Link copied to clipboard
inline fun <T> Message.whenAnonymousGroupContentMessage(block: (AnonymousGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
whenAnonymousGroupContentMessageImpl
Link copied to clipboard
inline fun <T> Message.whenAnonymousGroupContentMessageImpl(block: (AnonymousGroupContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
whenAudioContent
Link copied to clipboard
inline fun <T> ResendableContent.whenAudioContent(block: (AudioContent) -> T): T?
Content copied to clipboard
whenAudioFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenAudioFile(block: (AudioFile) -> T): T?
Content copied to clipboard
whenAudioMediaGroupContent
Link copied to clipboard
inline fun <T> ResendableContent.whenAudioMediaGroupContent(block: (AudioMediaGroupContent) -> T): T?
Content copied to clipboard
whenAudioMediaGroupMemberInputMedia
Link copied to clipboard
inline fun <T> InputMedia.whenAudioMediaGroupMemberInputMedia(block: (AudioMediaGroupMemberInputMedia) -> T): T?
Content copied to clipboard
whenBankStatement
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenBankStatement(block: (BankStatement) -> T): T?
Content copied to clipboard
whenBankStatementSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenBankStatementSecureValue(block: (BankStatementSecureValue) -> T): T?
Content copied to clipboard
whenBannedChatMember
Link copied to clipboard
inline fun <T> ChatMember.whenBannedChatMember(block: (BannedChatMember) -> T): T?
Content copied to clipboard
whenBaseEditMessageUpdate
Link copied to clipboard
inline fun <T> Update.whenBaseEditMessageUpdate(block: (BaseEditMessageUpdate) -> T): T?
Content copied to clipboard
whenBaseInlineQuery
Link copied to clipboard
inline fun <T> InlineQuery.whenBaseInlineQuery(block: (BaseInlineQuery) -> T): T?
Content copied to clipboard
whenBaseMessageUpdate
Link copied to clipboard
inline fun <T> Update.whenBaseMessageUpdate(block: (BaseMessageUpdate) -> T): T?
Content copied to clipboard
whenBaseSentMessageUpdate
Link copied to clipboard
inline fun <T> Update.whenBaseSentMessageUpdate(block: (BaseSentMessageUpdate) -> T): T?
Content copied to clipboard
whenBasketballDiceAnimationType
Link copied to clipboard
inline fun <T> DiceAnimationType.whenBasketballDiceAnimationType(block: (BasketballDiceAnimationType) -> T): T?
Content copied to clipboard
whenBoldTextSource
Link copied to clipboard
inline fun <T> TextSource.whenBoldTextSource(block: (BoldTextSource) -> T): T?
Content copied to clipboard
whenBotCommandTextSource
Link copied to clipboard
inline fun <T> TextSource.whenBotCommandTextSource(block: (BotCommandTextSource) -> T): T?
Content copied to clipboard
whenBowlingDiceAnimationType
Link copied to clipboard
inline fun <T> DiceAnimationType.whenBowlingDiceAnimationType(block: (BowlingDiceAnimationType) -> T): T?
Content copied to clipboard
whenCallbackDataInlineKeyboardButton
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenCallbackDataInlineKeyboardButton(block: (CallbackDataInlineKeyboardButton) -> T): T?
Content copied to clipboard
whenCallbackGameInlineKeyboardButton
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenCallbackGameInlineKeyboardButton(block: (CallbackGameInlineKeyboardButton) -> T): T?
Content copied to clipboard
whenCallbackQueryUpdate
Link copied to clipboard
inline fun <T> Update.whenCallbackQueryUpdate(block: (CallbackQueryUpdate) -> T): T?
Content copied to clipboard
whenCashTagTextSource
Link copied to clipboard
inline fun <T> TextSource.whenCashTagTextSource(block: (CashTagTextSource) -> T): T?
Content copied to clipboard
whenChannelChat
Link copied to clipboard
whenChannelChatCreated
Link copied to clipboard
inline fun <T> ChatEvent.whenChannelChatCreated(block: (ChannelChatCreated) -> T): T?
Content copied to clipboard
whenChannelContentMessage
Link copied to clipboard
inline fun <T> Message.whenChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
whenChannelContentMessageImpl
Link copied to clipboard
inline fun <T> Message.whenChannelContentMessageImpl(block: (ChannelContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
whenChannelEvent
Link copied to clipboard
inline fun <T> ChatEvent.whenChannelEvent(block: (ChannelEvent) -> T): T?
Content copied to clipboard
whenChannelEventMessage
Link copied to clipboard
inline fun <T> Message.whenChannelEventMessage(block: (ChannelEventMessage<ChannelEvent>) -> T): T?
Content copied to clipboard
whenChannelMediaGroupMessage
Link copied to clipboard
inline fun <T> Message.whenChannelMediaGroupMessage(block: (ChannelMediaGroupMessage<MediaGroupContent>) -> T): T?
Content copied to clipboard
whenChannelPostMediaGroupUpdate
Link copied to clipboard
inline fun <T> Update.whenChannelPostMediaGroupUpdate(block: (ChannelPostMediaGroupUpdate) -> T): T?
Content copied to clipboard
whenChannelPostUpdate
Link copied to clipboard
inline fun <T> Update.whenChannelPostUpdate(block: (ChannelPostUpdate) -> T): T?
Content copied to clipboard
whenChatEventMessage
Link copied to clipboard
inline fun <T> Message.whenChatEventMessage(block: (ChatEventMessage<ChatEvent>) -> T): T?
Content copied to clipboard
whenChatMemberUpdatedUpdate
Link copied to clipboard
inline fun <T> Update.whenChatMemberUpdatedUpdate(block: (ChatMemberUpdatedUpdate) -> T): T?
Content copied to clipboard
whenChosenInlineResultUpdate
Link copied to clipboard
inline fun <T> Update.whenChosenInlineResultUpdate(block: (ChosenInlineResultUpdate) -> T): T?
Content copied to clipboard
whenCodeTextSource
Link copied to clipboard
inline fun <T> TextSource.whenCodeTextSource(block: (CodeTextSource) -> T): T?
Content copied to clipboard
whenCommonBot
Link copied to clipboard
whenCommonChatMemberUpdatedUpdate
Link copied to clipboard
inline fun <T> Update.whenCommonChatMemberUpdatedUpdate(block: (CommonChatMemberUpdatedUpdate) -> T): T?
Content copied to clipboard
whenCommonEvent
Link copied to clipboard
whenCommonGroupContentMessage
Link copied to clipboard
inline fun <T> Message.whenCommonGroupContentMessage(block: (CommonGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
whenCommonGroupEventMessage
Link copied to clipboard
inline fun <T> Message.whenCommonGroupEventMessage(block: (CommonGroupEventMessage<GroupEvent>) -> T): T?
Content copied to clipboard
whenCommonMediaGroupMessage
Link copied to clipboard
inline fun <T> Message.whenCommonMediaGroupMessage(block: (CommonMediaGroupMessage<MediaGroupContent>) -> T): T?
Content copied to clipboard
whenCommonMessage
Link copied to clipboard
inline fun <T> Message.whenCommonMessage(block: (CommonMessage<MessageContent>) -> T): T?
Content copied to clipboard
whenCommonPassport
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenCommonPassport(block: (CommonPassport) -> T): T?
Content copied to clipboard
whenCommonPassportSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenCommonPassportSecureValue(block: (CommonPassportSecureValue) -> T): T?
Content copied to clipboard
whenCommonSupergroupEventMessage
Link copied to clipboard
inline fun <T> Message.whenCommonSupergroupEventMessage(block: (CommonSupergroupEventMessage<SupergroupEvent>) -> T): T?
Content copied to clipboard
whenCommonUser
Link copied to clipboard
whenContactContent
Link copied to clipboard
inline fun <T> ResendableContent.whenContactContent(block: (ContactContent) -> T): T?
Content copied to clipboard
whenContentMessage
Link copied to clipboard
inline fun <T> Message.whenContentMessage(block: (ContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
whenCreatorChatMember
Link copied to clipboard
inline fun <T> ChatMember.whenCreatorChatMember(block: (CreatorChatMember) -> T): T?
Content copied to clipboard
whenCubeDiceAnimationType
Link copied to clipboard
inline fun <T> DiceAnimationType.whenCubeDiceAnimationType(block: (CubeDiceAnimationType) -> T): T?
Content copied to clipboard
whenCustomDiceAnimationType
Link copied to clipboard
inline fun <T> DiceAnimationType.whenCustomDiceAnimationType(block: (CustomDiceAnimationType) -> T): T?
Content copied to clipboard
whenDartsDiceAnimationType
Link copied to clipboard
inline fun <T> DiceAnimationType.whenDartsDiceAnimationType(block: (DartsDiceAnimationType) -> T): T?
Content copied to clipboard
whenDataCallbackQuery
Link copied to clipboard
inline fun <T> CallbackQuery.whenDataCallbackQuery(block: (DataCallbackQuery) -> T): T?
Content copied to clipboard
whenDeleteChatPhoto
Link copied to clipboard
inline fun <T> ChatEvent.whenDeleteChatPhoto(block: (DeleteChatPhoto) -> T): T?
Content copied to clipboard
whenDescribedInlineQueryResult
Link copied to clipboard
inline fun <T> InlineQueryResult.whenDescribedInlineQueryResult(block: (DescribedInlineQueryResult) -> T): T?
Content copied to clipboard
whenDiceContent
Link copied to clipboard
inline fun <T> ResendableContent.whenDiceContent(block: (DiceContent) -> T): T?
Content copied to clipboard
whenDocumentContent
Link copied to clipboard
inline fun <T> ResendableContent.whenDocumentContent(block: (DocumentContent) -> T): T?
Content copied to clipboard
whenDocumentFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenDocumentFile(block: (DocumentFile) -> T): T?
Content copied to clipboard
whenDocumentMediaGroupContent
Link copied to clipboard
inline fun <T> ResendableContent.whenDocumentMediaGroupContent(block: (DocumentMediaGroupContent) -> T): T?
Content copied to clipboard
whenDocumentMediaGroupMemberInputMedia
Link copied to clipboard
inline fun <T> InputMedia.whenDocumentMediaGroupMemberInputMedia(block: (DocumentMediaGroupMemberInputMedia) -> T): T?
Content copied to clipboard
whenDriverLicense
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenDriverLicense(block: (DriverLicense) -> T): T?
Content copied to clipboard
whenDriverLicenseSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenDriverLicenseSecureValue(block: (DriverLicenseSecureValue) -> T): T?
Content copied to clipboard
whenDuratedInputMedia
Link copied to clipboard
inline fun <T> InputMedia.whenDuratedInputMedia(block: (DuratedInputMedia) -> T): T?
Content copied to clipboard
whenEditChannelPostMediaGroupUpdate
Link copied to clipboard
inline fun <T> Update.whenEditChannelPostMediaGroupUpdate(block: (EditChannelPostMediaGroupUpdate) -> T): T?
Content copied to clipboard
whenEditChannelPostUpdate
Link copied to clipboard
inline fun <T> Update.whenEditChannelPostUpdate(block: (EditChannelPostUpdate) -> T): T?
Content copied to clipboard
whenEditMediaGroupUpdate
Link copied to clipboard
inline fun <T> Update.whenEditMediaGroupUpdate(block: (EditMediaGroupUpdate) -> T): T?
Content copied to clipboard
whenEditMessageMediaGroupUpdate
Link copied to clipboard
inline fun <T> Update.whenEditMessageMediaGroupUpdate(block: (EditMessageMediaGroupUpdate) -> T): T?
Content copied to clipboard
whenEditMessageUpdate
Link copied to clipboard
inline fun <T> Update.whenEditMessageUpdate(block: (EditMessageUpdate) -> T): T?
Content copied to clipboard
whenEMailTextSource
Link copied to clipboard
inline fun <T> TextSource.whenEMailTextSource(block: (EMailTextSource) -> T): T?
Content copied to clipboard
whenEncryptedAddress
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedAddress(block: (EncryptedAddress) -> T): T?
Content copied to clipboard
whenEncryptedPassportElementTranslatable
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementTranslatable(block: (EncryptedPassportElementTranslatable) -> T): T?
Content copied to clipboard
whenEncryptedPassportElementWithData
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithData(block: (EncryptedPassportElementWithData) -> T): T?
Content copied to clipboard
whenEncryptedPassportElementWithEmail
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithEmail(block: (EncryptedPassportElementWithEmail) -> T): T?
Content copied to clipboard
whenEncryptedPassportElementWithFilesCollection
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithFilesCollection(block: (EncryptedPassportElementWithFilesCollection) -> T): T?
Content copied to clipboard
whenEncryptedPassportElementWithFrontSide
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithFrontSide(block: (EncryptedPassportElementWithFrontSide) -> T): T?
Content copied to clipboard
whenEncryptedPassportElementWithPhoneNumber
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithPhoneNumber(block: (EncryptedPassportElementWithPhoneNumber) -> T): T?
Content copied to clipboard
whenEncryptedPassportElementWithReverseSide
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithReverseSide(block: (EncryptedPassportElementWithReverseSide) -> T): T?
Content copied to clipboard
whenEncryptedPassportElementWithSelfie
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithSelfie(block: (EncryptedPassportElementWithSelfie) -> T): T?
Content copied to clipboard
whenEncryptedPassportElementWithTranslatableFilesCollection
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithTranslatableFilesCollection(block: (EncryptedPassportElementWithTranslatableFilesCollection) -> T): T?
Content copied to clipboard
whenEncryptedPassportElementWithTranslatableIDDocument
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithTranslatableIDDocument(block: (EncryptedPassportElementWithTranslatableIDDocument) -> T): T?
Content copied to clipboard
whenEncryptedPersonalDetails
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPersonalDetails(block: (EncryptedPersonalDetails) -> T): T?
Content copied to clipboard
whenExtendedBot
Link copied to clipboard
whenExtendedChannelChat
Link copied to clipboard
inline fun <T> Chat.whenExtendedChannelChat(block: (ExtendedChannelChat) -> T): T?
Content copied to clipboard
whenExtendedChat
Link copied to clipboard
whenExtendedGroupChat
Link copied to clipboard
inline fun <T> Chat.whenExtendedGroupChat(block: (ExtendedGroupChat) -> T): T?
Content copied to clipboard
whenExtendedPrivateChat
Link copied to clipboard
inline fun <T> Chat.whenExtendedPrivateChat(block: (ExtendedPrivateChat) -> T): T?
Content copied to clipboard
whenExtendedPublicChat
Link copied to clipboard
inline fun <T> Chat.whenExtendedPublicChat(block: (ExtendedPublicChat) -> T): T?
Content copied to clipboard
whenExtendedSupergroupChat
Link copied to clipboard
inline fun <T> Chat.whenExtendedSupergroupChat(block: (ExtendedSupergroupChat) -> T): T?
Content copied to clipboard
whenFileInlineQueryResult
Link copied to clipboard
inline fun <T> InlineQueryResult.whenFileInlineQueryResult(block: (FileInlineQueryResult) -> T): T?
Content copied to clipboard
whenFindLocationAction
Link copied to clipboard
inline fun <T> BotAction.whenFindLocationAction(block: (FindLocationAction) -> T): T?
Content copied to clipboard
whenFootballDiceAnimationType
Link copied to clipboard
inline fun <T> DiceAnimationType.whenFootballDiceAnimationType(block: (FootballDiceAnimationType) -> T): T?
Content copied to clipboard
whenForceReply
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenForceReply(block: (ForceReply) -> T): T?
Content copied to clipboard
whenFromChannelGroupContentMessage
Link copied to clipboard
inline fun <T> Message.whenFromChannelGroupContentMessage(block: (FromChannelGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
whenFromChannelGroupContentMessageImpl
Link copied to clipboard
inline fun <T> Message.whenFromChannelGroupContentMessageImpl(block: (FromChannelGroupContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
whenFromUser
Link copied to clipboard
whenFromUserMessage
Link copied to clipboard
inline fun <T> Message.whenFromUserMessage(block: (FromUserMessage) -> T): T?
Content copied to clipboard
whenGameContent
Link copied to clipboard
inline fun <T> ResendableContent.whenGameContent(block: (GameContent) -> T): T?
Content copied to clipboard
whenGameShortNameCallbackQuery
Link copied to clipboard
inline fun <T> CallbackQuery.whenGameShortNameCallbackQuery(block: (GameShortNameCallbackQuery) -> T): T?
Content copied to clipboard
whenGroupChat
Link copied to clipboard
whenGroupChatCreated
Link copied to clipboard
inline fun <T> ChatEvent.whenGroupChatCreated(block: (GroupChatCreated) -> T): T?
Content copied to clipboard
whenGroupContentMessage
Link copied to clipboard
inline fun <T> Message.whenGroupContentMessage(block: (GroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
whenGroupEvent
Link copied to clipboard
whenGroupEventMessage
Link copied to clipboard
inline fun <T> Message.whenGroupEventMessage(block: (GroupEventMessage<GroupEvent>) -> T): T?
Content copied to clipboard
whenHashTagTextSource
Link copied to clipboard
inline fun <T> TextSource.whenHashTagTextSource(block: (HashTagTextSource) -> T): T?
Content copied to clipboard
whenIdentityCard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenIdentityCard(block: (IdentityCard) -> T): T?
Content copied to clipboard
whenIdentityCardSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenIdentityCardSecureValue(block: (IdentityCardSecureValue) -> T): T?
Content copied to clipboard
whenIdentityWithReverseSideSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenIdentityWithReverseSideSecureValue(block: (IdentityWithReverseSideSecureValue) -> T): T?
Content copied to clipboard
whenInlineKeyboardMarkup
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenInlineKeyboardMarkup(block: (InlineKeyboardMarkup) -> T): T?
Content copied to clipboard
whenInlineMessageIdCallbackQuery
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdCallbackQuery(block: (InlineMessageIdCallbackQuery) -> T): T?
Content copied to clipboard
whenInlineMessageIdDataCallbackQuery
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdDataCallbackQuery(block: (InlineMessageIdDataCallbackQuery) -> T): T?
Content copied to clipboard
whenInlineMessageIdGameShortNameCallbackQuery
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdGameShortNameCallbackQuery(block: (InlineMessageIdGameShortNameCallbackQuery) -> T): T?
Content copied to clipboard
whenInlineQueryResultArticle
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultArticle(block: (InlineQueryResultArticle) -> T): T?
Content copied to clipboard
whenInlineQueryResultAudio
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudio(block: (InlineQueryResultAudio) -> T): T?
Content copied to clipboard
whenInlineQueryResultAudioCached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudioCached(block: (InlineQueryResultAudioCached) -> T): T?
Content copied to clipboard
whenInlineQueryResultAudioCommon
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudioCommon(block: (InlineQueryResultAudioCommon) -> T): T?
Content copied to clipboard
whenInlineQueryResultContact
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultContact(block: (InlineQueryResultContact) -> T): T?
Content copied to clipboard
whenInlineQueryResultDocument
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocument(block: (InlineQueryResultDocument) -> T): T?
Content copied to clipboard
whenInlineQueryResultDocumentCached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocumentCached(block: (InlineQueryResultDocumentCached) -> T): T?
Content copied to clipboard
whenInlineQueryResultDocumentCommon
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocumentCommon(block: (InlineQueryResultDocumentCommon) -> T): T?
Content copied to clipboard
whenInlineQueryResultGame
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGame(block: (InlineQueryResultGame) -> T): T?
Content copied to clipboard
whenInlineQueryResultGif
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGif(block: (InlineQueryResultGif) -> T): T?
Content copied to clipboard
whenInlineQueryResultGifCached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGifCached(block: (InlineQueryResultGifCached) -> T): T?
Content copied to clipboard
whenInlineQueryResultGifCommon
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGifCommon(block: (InlineQueryResultGifCommon) -> T): T?
Content copied to clipboard
whenInlineQueryResultLocation
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultLocation(block: (InlineQueryResultLocation) -> T): T?
Content copied to clipboard
whenInlineQueryResultMpeg4Gif
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4Gif(block: (InlineQueryResultMpeg4Gif) -> T): T?
Content copied to clipboard
whenInlineQueryResultMpeg4GifCached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4GifCached(block: (InlineQueryResultMpeg4GifCached) -> T): T?
Content copied to clipboard
whenInlineQueryResultMpeg4GifCommon
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4GifCommon(block: (InlineQueryResultMpeg4GifCommon) -> T): T?
Content copied to clipboard
whenInlineQueryResultPhoto
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhoto(block: (InlineQueryResultPhoto) -> T): T?
Content copied to clipboard
whenInlineQueryResultPhotoCached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhotoCached(block: (InlineQueryResultPhotoCached) -> T): T?
Content copied to clipboard
whenInlineQueryResultPhotoCommon
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhotoCommon(block: (InlineQueryResultPhotoCommon) -> T): T?
Content copied to clipboard
whenInlineQueryResultStickerCached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultStickerCached(block: (InlineQueryResultStickerCached) -> T): T?
Content copied to clipboard
whenInlineQueryResultVenue
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVenue(block: (InlineQueryResultVenue) -> T): T?
Content copied to clipboard
whenInlineQueryResultVideo
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideo(block: (InlineQueryResultVideo) -> T): T?
Content copied to clipboard
whenInlineQueryResultVideoCached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideoCached(block: (InlineQueryResultVideoCached) -> T): T?
Content copied to clipboard
whenInlineQueryResultVideoCommon
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideoCommon(block: (InlineQueryResultVideoCommon) -> T): T?
Content copied to clipboard
whenInlineQueryResultVoice
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoice(block: (InlineQueryResultVoice) -> T): T?
Content copied to clipboard
whenInlineQueryResultVoiceCached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoiceCached(block: (InlineQueryResultVoiceCached) -> T): T?
Content copied to clipboard
whenInlineQueryResultVoiceCommon
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoiceCommon(block: (InlineQueryResultVoiceCommon) -> T): T?
Content copied to clipboard
whenInlineQueryUpdate
Link copied to clipboard
inline fun <T> Update.whenInlineQueryUpdate(block: (InlineQueryUpdate) -> T): T?
Content copied to clipboard
whenInputContactMessageContent
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputContactMessageContent(block: (InputContactMessageContent) -> T): T?
Content copied to clipboard
whenInputInvoiceMessageContent
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
whenInputLocationMessageContent
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputLocationMessageContent(block: (InputLocationMessageContent) -> T): T?
Content copied to clipboard
whenInputMediaAnimation
Link copied to clipboard
inline fun <T> InputMedia.whenInputMediaAnimation(block: (InputMediaAnimation) -> T): T?
Content copied to clipboard
whenInputMediaAudio
Link copied to clipboard
inline fun <T> InputMedia.whenInputMediaAudio(block: (InputMediaAudio) -> T): T?
Content copied to clipboard
whenInputMediaDocument
Link copied to clipboard
inline fun <T> InputMedia.whenInputMediaDocument(block: (InputMediaDocument) -> T): T?
Content copied to clipboard
whenInputMediaPhoto
Link copied to clipboard
inline fun <T> InputMedia.whenInputMediaPhoto(block: (InputMediaPhoto) -> T): T?
Content copied to clipboard
whenInputMediaVideo
Link copied to clipboard
inline fun <T> InputMedia.whenInputMediaVideo(block: (InputMediaVideo) -> T): T?
Content copied to clipboard
whenInputTextMessageContent
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputTextMessageContent(block: (InputTextMessageContent) -> T): T?
Content copied to clipboard
whenInputVenueMessageContent
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputVenueMessageContent(block: (InputVenueMessageContent) -> T): T?
Content copied to clipboard
whenInternalPassport
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenInternalPassport(block: (InternalPassport) -> T): T?
Content copied to clipboard
whenInternalPassportSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenInternalPassportSecureValue(block: (InternalPassportSecureValue) -> T): T?
Content copied to clipboard
whenInvoiceContent
Link copied to clipboard
inline fun <T> ResendableContent.whenInvoiceContent(block: (InvoiceContent) -> T): T?
Content copied to clipboard
whenItalicTextSource
Link copied to clipboard
inline fun <T> TextSource.whenItalicTextSource(block: (ItalicTextSource) -> T): T?
Content copied to clipboard
whenKickedChatMember
Link copied to clipboard
inline fun <T> ChatMember.whenKickedChatMember(block: (KickedChatMember) -> T): T?
Content copied to clipboard
whenLeftChatMember
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
whenLocationContent
Link copied to clipboard
inline fun <T> ResendableContent.whenLocationContent(block: (LocationContent) -> T): T?
Content copied to clipboard
whenLocationInlineQuery
Link copied to clipboard
inline fun <T> InlineQuery.whenLocationInlineQuery(block: (LocationInlineQuery) -> T): T?
Content copied to clipboard
whenLoginURLInlineKeyboardButton
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenLoginURLInlineKeyboardButton(block: (LoginURLInlineKeyboardButton) -> T): T?
Content copied to clipboard
whenMediaCollectionContent
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaCollectionContent(block: (MediaCollectionContent<TelegramMediaFile>) -> T): T?
Content copied to clipboard
whenMediaContent
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaContent(block: (MediaContent) -> T): T?
Content copied to clipboard
whenMediaGroupContent
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaGroupContent(block: (MediaGroupContent) -> T): T?
Content copied to clipboard
whenMediaGroupMemberInputMedia
Link copied to clipboard
inline fun <T> InputMedia.whenMediaGroupMemberInputMedia(block: (MediaGroupMemberInputMedia) -> T): T?
Content copied to clipboard
whenMediaGroupMessage
Link copied to clipboard
inline fun <T> Message.whenMediaGroupMessage(block: (MediaGroupMessage<MediaGroupContent>) -> T): T?
Content copied to clipboard
whenMediaGroupUpdate
Link copied to clipboard
inline fun <T> Update.whenMediaGroupUpdate(block: (MediaGroupUpdate) -> T): T?
Content copied to clipboard
whenMemberChatMember
Link copied to clipboard
inline fun <T> ChatMember.whenMemberChatMember(block: (MemberChatMember) -> T): T?
Content copied to clipboard
whenMentionTextSource
Link copied to clipboard
inline fun <T> TextSource.whenMentionTextSource(block: (MentionTextSource) -> T): T?
Content copied to clipboard
whenMessageAutoDeleteTimerChanged
Link copied to clipboard
inline fun <T> ChatEvent.whenMessageAutoDeleteTimerChanged(block: (MessageAutoDeleteTimerChanged) -> T): T?
Content copied to clipboard
whenMessageCallbackQuery
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageCallbackQuery(block: (MessageCallbackQuery) -> T): T?
Content copied to clipboard
whenMessageContent
Link copied to clipboard
inline fun <T> ResendableContent.whenMessageContent(block: (MessageContent) -> T): T?
Content copied to clipboard
whenMessageDataCallbackQuery
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageDataCallbackQuery(block: (MessageDataCallbackQuery) -> T): T?
Content copied to clipboard
whenMessageGameShortNameCallbackQuery
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageGameShortNameCallbackQuery(block: (MessageGameShortNameCallbackQuery) -> T): T?
Content copied to clipboard
whenMessageMediaGroupUpdate
Link copied to clipboard
inline fun <T> Update.whenMessageMediaGroupUpdate(block: (MessageMediaGroupUpdate) -> T): T?
Content copied to clipboard
whenMessageUpdate
Link copied to clipboard
whenMimedMediaFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenMimedMediaFile(block: (MimedMediaFile) -> T): T?
Content copied to clipboard
whenMultilevelTextSource
Link copied to clipboard
inline fun <T> TextSource.whenMultilevelTextSource(block: (MultilevelTextSource) -> T): T?
Content copied to clipboard
whenMultipleAnswersPoll
Link copied to clipboard
inline fun <T> Poll.whenMultipleAnswersPoll(block: (MultipleAnswersPoll) -> T): T?
Content copied to clipboard
whenMyChatMemberUpdatedUpdate
Link copied to clipboard
inline fun <T> Update.whenMyChatMemberUpdatedUpdate(block: (MyChatMemberUpdatedUpdate) -> T): T?
Content copied to clipboard
whenNewChatMembers
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatMembers(block: (NewChatMembers) -> T): T?
Content copied to clipboard
whenNewChatPhoto
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatPhoto(block: (NewChatPhoto) -> T): T?
Content copied to clipboard
whenNewChatTitle
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatTitle(block: (NewChatTitle) -> T): T?
Content copied to clipboard
whenOptionallyTitledInlineQueryResult
Link copied to clipboard
inline fun <T> InlineQueryResult.whenOptionallyTitledInlineQueryResult(block: (OptionallyTitledInlineQueryResult) -> T): T?
Content copied to clipboard
whenOtherDocumentsSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenOtherDocumentsSecureValue(block: (OtherDocumentsSecureValue) -> T): T?
Content copied to clipboard
whenPassport
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPassport(block: (Passport) -> T): T?
Content copied to clipboard
whenPassportElementErrorDataField
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorDataField(block: (PassportElementErrorDataField) -> T): T?
Content copied to clipboard
whenPassportElementErrorFile
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFile(block: (PassportElementErrorFile) -> T): T?
Content copied to clipboard
whenPassportElementErrorFiles
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFiles(block: (PassportElementErrorFiles) -> T): T?
Content copied to clipboard
whenPassportElementErrorFrontSide
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFrontSide(block: (PassportElementErrorFrontSide) -> T): T?
Content copied to clipboard
whenPassportElementErrorReverseSide
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorReverseSide(block: (PassportElementErrorReverseSide) -> T): T?
Content copied to clipboard
whenPassportElementErrorSelfie
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorSelfie(block: (PassportElementErrorSelfie) -> T): T?
Content copied to clipboard
whenPassportElementErrorTranslationFile
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorTranslationFile(block: (PassportElementErrorTranslationFile) -> T): T?
Content copied to clipboard
whenPassportElementErrorTranslationFiles
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorTranslationFiles(block: (PassportElementErrorTranslationFiles) -> T): T?
Content copied to clipboard
whenPassportElementErrorUnspecified
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorUnspecified(block: (PassportElementErrorUnspecified) -> T): T?
Content copied to clipboard
whenPassportElementFileError
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementFileError(block: (PassportElementFileError) -> T): T?
Content copied to clipboard
whenPassportElementFilesError
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementFilesError(block: (PassportElementFilesError) -> T): T?
Content copied to clipboard
whenPassportMessage
Link copied to clipboard
inline fun <T> Message.whenPassportMessage(block: (PassportMessage) -> T): T?
Content copied to clipboard
whenPassportMultipleElementsError
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportMultipleElementsError(block: (PassportMultipleElementsError) -> T): T?
Content copied to clipboard
whenPassportRegistration
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPassportRegistration(block: (PassportRegistration) -> T): T?
Content copied to clipboard
whenPassportRegistrationSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenPassportRegistrationSecureValue(block: (PassportRegistrationSecureValue) -> T): T?
Content copied to clipboard
whenPassportSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenPassportSecureValue(block: (PassportSecureValue) -> T): T?
Content copied to clipboard
whenPassportSingleElementError
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportSingleElementError(block: (PassportSingleElementError) -> T): T?
Content copied to clipboard
whenPathedFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPathedFile(block: (PathedFile) -> T): T?
Content copied to clipboard
whenPayInlineKeyboardButton
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenPayInlineKeyboardButton(block: (PayInlineKeyboardButton) -> T): T?
Content copied to clipboard
whenPersonalDetailsSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenPersonalDetailsSecureValue(block: (PersonalDetailsSecureValue) -> T): T?
Content copied to clipboard
whenPhoneNumber
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPhoneNumber(block: (PhoneNumber) -> T): T?
Content copied to clipboard
whenPhoneNumberTextSource
Link copied to clipboard
inline fun <T> TextSource.whenPhoneNumberTextSource(block: (PhoneNumberTextSource) -> T): T?
Content copied to clipboard
whenPhotoContent
Link copied to clipboard
inline fun <T> ResendableContent.whenPhotoContent(block: (PhotoContent) -> T): T?
Content copied to clipboard
whenPhotoSize
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPhotoSize(block: (PhotoSize) -> T): T?
Content copied to clipboard
whenPinnedMessage
Link copied to clipboard
inline fun <T> ChatEvent.whenPinnedMessage(block: (PinnedMessage) -> T): T?
Content copied to clipboard
whenPlayableMediaFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPlayableMediaFile(block: (PlayableMediaFile) -> T): T?
Content copied to clipboard
whenPollAnswerUpdate
Link copied to clipboard
inline fun <T> Update.whenPollAnswerUpdate(block: (PollAnswerUpdate) -> T): T?
Content copied to clipboard
whenPollContent
Link copied to clipboard
inline fun <T> ResendableContent.whenPollContent(block: (PollContent) -> T): T?
Content copied to clipboard
whenPollUpdate
Link copied to clipboard
whenPossiblyEditedMessage
Link copied to clipboard
inline fun <T> Message.whenPossiblyEditedMessage(block: (PossiblyEditedMessage) -> T): T?
Content copied to clipboard
whenPossiblyForwardedMessage
Link copied to clipboard
inline fun <T> Message.whenPossiblyForwardedMessage(block: (PossiblyForwardedMessage) -> T): T?
Content copied to clipboard
whenPossiblyPaymentMessage
Link copied to clipboard
inline fun <T> Message.whenPossiblyPaymentMessage(block: (PossiblyPaymentMessage) -> T): T?
Content copied to clipboard
whenPossiblySentViaBotCommonMessage
Link copied to clipboard
inline fun <T> Message.whenPossiblySentViaBotCommonMessage(block: (PossiblySentViaBotCommonMessage<MessageContent>) -> T): T?
Content copied to clipboard
whenPreCheckoutQueryUpdate
Link copied to clipboard
inline fun <T> Update.whenPreCheckoutQueryUpdate(block: (PreCheckoutQueryUpdate) -> T): T?
Content copied to clipboard
whenPreTextSource
Link copied to clipboard
inline fun <T> TextSource.whenPreTextSource(block: (PreTextSource) -> T): T?
Content copied to clipboard
whenPrivateChat
Link copied to clipboard
whenPrivateContentMessage
Link copied to clipboard
inline fun <T> Message.whenPrivateContentMessage(block: (PrivateContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
whenPrivateContentMessageImpl
Link copied to clipboard
inline fun <T> Message.whenPrivateContentMessageImpl(block: (PrivateContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
whenProximityAlertTriggered
Link copied to clipboard
inline fun <T> ChatEvent.whenProximityAlertTriggered(block: (ProximityAlertTriggered) -> T): T?
Content copied to clipboard
whenPublicChat
Link copied to clipboard
whenPublicContentMessage
Link copied to clipboard
inline fun <T> Message.whenPublicContentMessage(block: (PublicContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
whenQuizPoll
Link copied to clipboard
whenRecordVideoAction
Link copied to clipboard
inline fun <T> BotAction.whenRecordVideoAction(block: (RecordVideoAction) -> T): T?
Content copied to clipboard
whenRecordVideoNoteAction
Link copied to clipboard
inline fun <T> BotAction.whenRecordVideoNoteAction(block: (RecordVideoNoteAction) -> T): T?
Content copied to clipboard
whenRecordVoiceAction
Link copied to clipboard
inline fun <T> BotAction.whenRecordVoiceAction(block: (RecordVoiceAction) -> T): T?
Content copied to clipboard
whenRegularPoll
Link copied to clipboard
whenRegularTextSource
Link copied to clipboard
inline fun <T> TextSource.whenRegularTextSource(block: (RegularTextSource) -> T): T?
Content copied to clipboard
whenRentalAgreement
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenRentalAgreement(block: (RentalAgreement) -> T): T?
Content copied to clipboard
whenRentalAgreementSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenRentalAgreementSecureValue(block: (RentalAgreementSecureValue) -> T): T?
Content copied to clipboard
whenReplyKeyboardMarkup
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenReplyKeyboardMarkup(block: (ReplyKeyboardMarkup) -> T): T?
Content copied to clipboard
whenReplyKeyboardRemove
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenReplyKeyboardRemove(block: (ReplyKeyboardRemove) -> T): T?
Content copied to clipboard
whenRestrictedChatMember
Link copied to clipboard
inline fun <T> ChatMember.whenRestrictedChatMember(block: (RestrictedChatMember) -> T): T?
Content copied to clipboard
whenSecureValueIdentity
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueIdentity(block: (SecureValueIdentity) -> T): T?
Content copied to clipboard
whenSecureValueWithData
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithData(block: (SecureValueWithData) -> T): T?
Content copied to clipboard
whenSecureValueWithFiles
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithFiles(block: (SecureValueWithFiles) -> T): T?
Content copied to clipboard
whenSecureValueWithReverseSide
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithReverseSide(block: (SecureValueWithReverseSide) -> T): T?
Content copied to clipboard
whenSecureValueWithTranslations
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithTranslations(block: (SecureValueWithTranslations) -> T): T?
Content copied to clipboard
whenSendInvoice
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenSendInvoice(block: (SendInvoice) -> T): T?
Content copied to clipboard
whenSentMediaGroupUpdate
Link copied to clipboard
inline fun <T> Update.whenSentMediaGroupUpdate(block: (SentMediaGroupUpdate) -> T): T?
Content copied to clipboard
whenShippingQueryUpdate
Link copied to clipboard
inline fun <T> Update.whenShippingQueryUpdate(block: (ShippingQueryUpdate) -> T): T?
Content copied to clipboard
whenSignedMessage
Link copied to clipboard
inline fun <T> Message.whenSignedMessage(block: (SignedMessage) -> T): T?
Content copied to clipboard
whenSizedInlineQueryResult
Link copied to clipboard
inline fun <T> InlineQueryResult.whenSizedInlineQueryResult(block: (SizedInlineQueryResult) -> T): T?
Content copied to clipboard
whenSizedInputMedia
Link copied to clipboard
inline fun <T> InputMedia.whenSizedInputMedia(block: (SizedInputMedia) -> T): T?
Content copied to clipboard
whenSizedMediaFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenSizedMediaFile(block: (SizedMediaFile) -> T): T?
Content copied to clipboard
whenSlotMachineDiceAnimationType
Link copied to clipboard
inline fun <T> DiceAnimationType.whenSlotMachineDiceAnimationType(block: (SlotMachineDiceAnimationType) -> T): T?
Content copied to clipboard
whenSpecialRightsChatMember
Link copied to clipboard
inline fun <T> ChatMember.whenSpecialRightsChatMember(block: (SpecialRightsChatMember) -> T): T?
Content copied to clipboard
whenSticker
Link copied to clipboard
whenStickerContent
Link copied to clipboard
inline fun <T> ResendableContent.whenStickerContent(block: (StickerContent) -> T): T?
Content copied to clipboard
whenStrikethroughTextSource
Link copied to clipboard
inline fun <T> TextSource.whenStrikethroughTextSource(block: (StrikethroughTextSource) -> T): T?
Content copied to clipboard
whenSupergroupChat
Link copied to clipboard
whenSupergroupChatCreated
Link copied to clipboard
inline fun <T> ChatEvent.whenSupergroupChatCreated(block: (SupergroupChatCreated) -> T): T?
Content copied to clipboard
whenSupergroupEvent
Link copied to clipboard
inline fun <T> ChatEvent.whenSupergroupEvent(block: (SupergroupEvent) -> T): T?
Content copied to clipboard
whenSupergroupEventMessage
Link copied to clipboard
inline fun <T> Message.whenSupergroupEventMessage(block: (SupergroupEventMessage<SupergroupEvent>) -> T): T?
Content copied to clipboard
whenSuperPublicChat
Link copied to clipboard
inline fun <T> Chat.whenSuperPublicChat(block: (SuperPublicChat) -> T): T?
Content copied to clipboard
whenSwitchInlineQueryCurrentChatInlineKeyboardButton
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenSwitchInlineQueryCurrentChatInlineKeyboardButton(block: (SwitchInlineQueryCurrentChatInlineKeyboardButton) -> T): T?
Content copied to clipboard
whenSwitchInlineQueryInlineKeyboardButton
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenSwitchInlineQueryInlineKeyboardButton(block: (SwitchInlineQueryInlineKeyboardButton) -> T): T?
Content copied to clipboard
whenTemporalRegistrationSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenTemporalRegistrationSecureValue(block: (TemporalRegistrationSecureValue) -> T): T?
Content copied to clipboard
whenTemporaryRegistration
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenTemporaryRegistration(block: (TemporaryRegistration) -> T): T?
Content copied to clipboard
whenTextContent
Link copied to clipboard
inline fun <T> ResendableContent.whenTextContent(block: (TextContent) -> T): T?
Content copied to clipboard
whenTextLinkTextSource
Link copied to clipboard
inline fun <T> TextSource.whenTextLinkTextSource(block: (TextLinkTextSource) -> T): T?
Content copied to clipboard
whenTextMentionTextSource
Link copied to clipboard
inline fun <T> TextSource.whenTextMentionTextSource(block: (TextMentionTextSource) -> T): T?
Content copied to clipboard
whenThumbedInlineQueryResult
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbedInlineQueryResult(block: (ThumbedInlineQueryResult) -> T): T?
Content copied to clipboard
whenThumbedInputMedia
Link copied to clipboard
inline fun <T> InputMedia.whenThumbedInputMedia(block: (ThumbedInputMedia) -> T): T?
Content copied to clipboard
whenThumbedMediaFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenThumbedMediaFile(block: (ThumbedMediaFile) -> T): T?
Content copied to clipboard
whenThumbedWithMimeTypeInlineQueryResult
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbedWithMimeTypeInlineQueryResult(block: (ThumbedWithMimeTypeInlineQueryResult) -> T): T?
Content copied to clipboard
whenThumbSizedInlineQueryResult
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbSizedInlineQueryResult(block: (ThumbSizedInlineQueryResult) -> T): T?
Content copied to clipboard
whenTitledInlineQueryResult
Link copied to clipboard
inline fun <T> InlineQueryResult.whenTitledInlineQueryResult(block: (TitledInlineQueryResult) -> T): T?
Content copied to clipboard
whenTitledInputMedia
Link copied to clipboard
inline fun <T> InputMedia.whenTitledInputMedia(block: (TitledInputMedia) -> T): T?
Content copied to clipboard
whenTypingAction
Link copied to clipboard
inline fun <T> BotAction.whenTypingAction(block: (TypingAction) -> T): T?
Content copied to clipboard
whenUnderlineTextSource
Link copied to clipboard
inline fun <T> TextSource.whenUnderlineTextSource(block: (UnderlineTextSource) -> T): T?
Content copied to clipboard
whenUnknownCallbackQueryType
Link copied to clipboard
inline fun <T> CallbackQuery.whenUnknownCallbackQueryType(block: (UnknownCallbackQueryType) -> T): T?
Content copied to clipboard
whenUnknownChatType
Link copied to clipboard
inline fun <T> Chat.whenUnknownChatType(block: (UnknownChatType) -> T): T?
Content copied to clipboard
whenUnknownEncryptedPassportElement
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenUnknownEncryptedPassportElement(block: (UnknownEncryptedPassportElement) -> T): T?
Content copied to clipboard
whenUnknownInlineKeyboardButton
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenUnknownInlineKeyboardButton(block: (UnknownInlineKeyboardButton) -> T): T?
Content copied to clipboard
whenUnknownMessageType
Link copied to clipboard
inline fun <T> Message.whenUnknownMessageType(block: (UnknownMessageType) -> T): T?
Content copied to clipboard
whenUnknownPassportElementError
Link copied to clipboard
inline fun <T> PassportElementError.whenUnknownPassportElementError(block: (UnknownPassportElementError) -> T): T?
Content copied to clipboard
whenUnknownPollType
Link copied to clipboard
inline fun <T> Poll.whenUnknownPollType(block: (UnknownPollType) -> T): T?
Content copied to clipboard
whenUnknownUpdate
Link copied to clipboard
whenUploadDocumentAction
Link copied to clipboard
inline fun <T> BotAction.whenUploadDocumentAction(block: (UploadDocumentAction) -> T): T?
Content copied to clipboard
whenUploadPhotoAction
Link copied to clipboard
inline fun <T> BotAction.whenUploadPhotoAction(block: (UploadPhotoAction) -> T): T?
Content copied to clipboard
whenUploadVideoAction
Link copied to clipboard
inline fun <T> BotAction.whenUploadVideoAction(block: (UploadVideoAction) -> T): T?
Content copied to clipboard
whenUploadVideoNoteAction
Link copied to clipboard
inline fun <T> BotAction.whenUploadVideoNoteAction(block: (UploadVideoNoteAction) -> T): T?
Content copied to clipboard
whenUploadVoiceAction
Link copied to clipboard
inline fun <T> BotAction.whenUploadVoiceAction(block: (UploadVoiceAction) -> T): T?
Content copied to clipboard
whenURLInlineKeyboardButton
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenURLInlineKeyboardButton(block: (URLInlineKeyboardButton) -> T): T?
Content copied to clipboard
whenUrlInlineQueryResult
Link copied to clipboard
inline fun <T> InlineQueryResult.whenUrlInlineQueryResult(block: (UrlInlineQueryResult) -> T): T?
Content copied to clipboard
whenURLTextSource
Link copied to clipboard
inline fun <T> TextSource.whenURLTextSource(block: (URLTextSource) -> T): T?
Content copied to clipboard
whenUsernameChat
Link copied to clipboard
whenUtilityBill
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenUtilityBill(block: (UtilityBill) -> T): T?
Content copied to clipboard
whenUtilityBillSecureValue
Link copied to clipboard
inline fun <T> SecureValue.whenUtilityBillSecureValue(block: (UtilityBillSecureValue) -> T): T?
Content copied to clipboard
whenVenueContent
Link copied to clipboard
inline fun <T> ResendableContent.whenVenueContent(block: (VenueContent) -> T): T?
Content copied to clipboard
whenVideoContent
Link copied to clipboard
inline fun <T> ResendableContent.whenVideoContent(block: (VideoContent) -> T): T?
Content copied to clipboard
whenVideoFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVideoFile(block: (VideoFile) -> T): T?
Content copied to clipboard
whenVideoNoteContent
Link copied to clipboard
inline fun <T> ResendableContent.whenVideoNoteContent(block: (VideoNoteContent) -> T): T?
Content copied to clipboard
whenVideoNoteFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVideoNoteFile(block: (VideoNoteFile) -> T): T?
Content copied to clipboard
whenVisualMediaGroupContent
Link copied to clipboard
inline fun <T> ResendableContent.whenVisualMediaGroupContent(block: (VisualMediaGroupContent) -> T): T?
Content copied to clipboard
whenVisualMediaGroupMemberInputMedia
Link copied to clipboard
inline fun <T> InputMedia.whenVisualMediaGroupMemberInputMedia(block: (VisualMediaGroupMemberInputMedia) -> T): T?
Content copied to clipboard
whenVoiceChatEnded
Link copied to clipboard
inline fun <T> ChatEvent.whenVoiceChatEnded(block: (VoiceChatEnded) -> T): T?
Content copied to clipboard
whenVoiceChatEvent
Link copied to clipboard
inline fun <T> ChatEvent.whenVoiceChatEvent(block: (VoiceChatEvent) -> T): T?
Content copied to clipboard
whenVoiceChatParticipantsInvited
Link copied to clipboard
inline fun <T> ChatEvent.whenVoiceChatParticipantsInvited(block: (VoiceChatParticipantsInvited) -> T): T?
Content copied to clipboard
whenVoiceChatStarted
Link copied to clipboard
inline fun <T> ChatEvent.whenVoiceChatStarted(block: (VoiceChatStarted) -> T): T?
Content copied to clipboard
whenVoiceContent
Link copied to clipboard
inline fun <T> ResendableContent.whenVoiceContent(block: (VoiceContent) -> T): T?
Content copied to clipboard
whenVoiceFile
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVoiceFile(block: (VoiceFile) -> T): T?
Content copied to clipboard
whenWithInputMessageContentInlineQueryResult
Link copied to clipboard
inline fun <T> InlineQueryResult.whenWithInputMessageContentInlineQueryResult(block: (WithInputMessageContentInlineQueryResult) -> T): T?
Content copied to clipboard
whenWithOptionalLanguageCode
Link copied to clipboard
inline fun <T> Any.whenWithOptionalLanguageCode(block: (WithOptionalLanguageCode) -> T): T?
Content copied to clipboard
withContent
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> PrivateContentMessage<*>.withContent(): PrivateContentMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> PublicContentMessage<*>.withContent(): PublicContentMessage<T>?
Content copied to clipboard
inline fun <T : MessageContent> PossiblySentViaBotCommonMessage<*>.withContent(): PossiblySentViaBotCommonMessage<T>?
Content copied to clipboard
withoutSentViaBot
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