Package dev. inmo. tgbotapi. extensions. utils
Types
Functions
aggregate Flows
Link copied to clipboard
fun <T> aggregateFlows(withScope: CoroutineScope, vararg flows: Flow<T>, internalBufferSize: Int = 64): Flow<T>
Content copied to clipboard
Analog of merge function for Flows. The difference is in the usage of BroadcastChannel in this case
as Address Secure Value
Link copied to clipboard
as Administrator Chat Member
Link copied to clipboard
inline fun ChatMember.asAdministratorChatMember(): AdministratorChatMember?
Content copied to clipboard
as Animation Content
Link copied to clipboard
as Animation File
Link copied to clipboard
as Anonymous Group Content Message
Link copied to clipboard
inline fun Message.asAnonymousGroupContentMessage(): AnonymousGroupContentMessage<MessageContent>?
Content copied to clipboard
as Anonymous Group Content Message Impl
Link copied to clipboard
inline fun Message.asAnonymousGroupContentMessageImpl(): AnonymousGroupContentMessageImpl<MessageContent>?
Content copied to clipboard
as Audio Content
Link copied to clipboard
as Audio File
Link copied to clipboard
as Audio Media Group Content
Link copied to clipboard
inline fun ResendableContent.asAudioMediaGroupContent(): AudioMediaGroupContent?
Content copied to clipboard
as Audio Media Group Member Input Media
Link copied to clipboard
inline fun InputMedia.asAudioMediaGroupMemberInputMedia(): AudioMediaGroupMemberInputMedia?
Content copied to clipboard
as Bank Statement
Link copied to clipboard
as Bank Statement Secure Value
Link copied to clipboard
inline fun SecureValue.asBankStatementSecureValue(): BankStatementSecureValue?
Content copied to clipboard
as Banned Chat Member
Link copied to clipboard
as Base Edit Message Update
Link copied to clipboard
as Base Inline Query
Link copied to clipboard
as Base Message Update
Link copied to clipboard
as Base Sent Message Update
Link copied to clipboard
as Basketball Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.asBasketballDiceAnimationType(): BasketballDiceAnimationType?
Content copied to clipboard
as Bold Text Source
Link copied to clipboard
as Bot Command Text Source
Link copied to clipboard
as Bowling Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.asBowlingDiceAnimationType(): BowlingDiceAnimationType?
Content copied to clipboard
as Callback Data Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.asCallbackDataInlineKeyboardButton(): CallbackDataInlineKeyboardButton?
Content copied to clipboard
as Callback Game Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.asCallbackGameInlineKeyboardButton(): CallbackGameInlineKeyboardButton?
Content copied to clipboard
as Callback Query Update
Link copied to clipboard
as Cash Tag Text Source
Link copied to clipboard
as Channel Chat
Link copied to clipboard
as Channel Chat Created
Link copied to clipboard
as Channel Content Message
Link copied to clipboard
inline fun Message.asChannelContentMessage(): ChannelContentMessage<MessageContent>?
Content copied to clipboard
as Channel Content Message Impl
Link copied to clipboard
inline fun Message.asChannelContentMessageImpl(): ChannelContentMessageImpl<MessageContent>?
Content copied to clipboard
as Channel Event
Link copied to clipboard
as Channel Event Message
Link copied to clipboard
inline fun Message.asChannelEventMessage(): ChannelEventMessage<ChannelEvent>?
Content copied to clipboard
as Channel Media Group Message
Link copied to clipboard
inline fun Message.asChannelMediaGroupMessage(): ChannelMediaGroupMessage<MediaGroupContent>?
Content copied to clipboard
as Channel Post Media Group Update
Link copied to clipboard
inline fun Update.asChannelPostMediaGroupUpdate(): ChannelPostMediaGroupUpdate?
Content copied to clipboard
as Channel Post Update
Link copied to clipboard
as Chat Event Message
Link copied to clipboard
as Chat Member Updated Update
Link copied to clipboard
as Chosen Inline Result Update
Link copied to clipboard
inline fun Update.asChosenInlineResultUpdate(): ChosenInlineResultUpdate?
Content copied to clipboard
as Code Text Source
Link copied to clipboard
as Common Bot
Link copied to clipboard
as Common Chat Member Updated Update
Link copied to clipboard
inline fun Update.asCommonChatMemberUpdatedUpdate(): CommonChatMemberUpdatedUpdate?
Content copied to clipboard
as Common Event
Link copied to clipboard
as Common Group Content Message
Link copied to clipboard
inline fun Message.asCommonGroupContentMessage(): CommonGroupContentMessage<MessageContent>?
Content copied to clipboard
as Common Group Event Message
Link copied to clipboard
inline fun Message.asCommonGroupEventMessage(): CommonGroupEventMessage<GroupEvent>?
Content copied to clipboard
as Common Media Group Message
Link copied to clipboard
inline fun Message.asCommonMediaGroupMessage(): CommonMediaGroupMessage<MediaGroupContent>?
Content copied to clipboard
as Common Message
Link copied to clipboard
as Common Passport
Link copied to clipboard
as Common Passport Secure Value
Link copied to clipboard
inline fun SecureValue.asCommonPassportSecureValue(): CommonPassportSecureValue?
Content copied to clipboard
as Common Supergroup Event Message
Link copied to clipboard
inline fun Message.asCommonSupergroupEventMessage(): CommonSupergroupEventMessage<SupergroupEvent>?
Content copied to clipboard
as Common User
Link copied to clipboard
as Contact Content
Link copied to clipboard
as Content Message
Link copied to clipboard
as Creator Chat Member
Link copied to clipboard
as Cube Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.asCubeDiceAnimationType(): CubeDiceAnimationType?
Content copied to clipboard
as Custom Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.asCustomDiceAnimationType(): CustomDiceAnimationType?
Content copied to clipboard
as Darts Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.asDartsDiceAnimationType(): DartsDiceAnimationType?
Content copied to clipboard
as Data Callback Query
Link copied to clipboard
as Delete Chat Photo
Link copied to clipboard
as Described Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.asDescribedInlineQueryResult(): DescribedInlineQueryResult?
Content copied to clipboard
as Dice Content
Link copied to clipboard
as Document Content
Link copied to clipboard
as Document File
Link copied to clipboard
as Document Media Group Content
Link copied to clipboard
inline fun ResendableContent.asDocumentMediaGroupContent(): DocumentMediaGroupContent?
Content copied to clipboard
as Document Media Group Member Input Media
Link copied to clipboard
inline fun InputMedia.asDocumentMediaGroupMemberInputMedia(): DocumentMediaGroupMemberInputMedia?
Content copied to clipboard
as Driver License
Link copied to clipboard
as Driver License Secure Value
Link copied to clipboard
inline fun SecureValue.asDriverLicenseSecureValue(): DriverLicenseSecureValue?
Content copied to clipboard
as Durated Input Media
Link copied to clipboard
as Edit Channel Post Media Group Update
Link copied to clipboard
inline fun Update.asEditChannelPostMediaGroupUpdate(): EditChannelPostMediaGroupUpdate?
Content copied to clipboard
as Edit Channel Post Update
Link copied to clipboard
as Edit Media Group Update
Link copied to clipboard
as Edit Message Media Group Update
Link copied to clipboard
inline fun Update.asEditMessageMediaGroupUpdate(): EditMessageMediaGroupUpdate?
Content copied to clipboard
as Edit Message Update
Link copied to clipboard
as Email
Link copied to clipboard
as EMail Text Source
Link copied to clipboard
as Encrypted Address
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedAddress(): EncryptedAddress?
Content copied to clipboard
as Encrypted Passport Element Translatable
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementTranslatable(): EncryptedPassportElementTranslatable?
Content copied to clipboard
as Encrypted Passport Element With Data
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithData(): EncryptedPassportElementWithData?
Content copied to clipboard
as Encrypted Passport Element With Email
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithEmail(): EncryptedPassportElementWithEmail?
Content copied to clipboard
as Encrypted Passport Element With Files Collection
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithFilesCollection(): EncryptedPassportElementWithFilesCollection?
Content copied to clipboard
as Encrypted Passport Element With Front Side
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithFrontSide(): EncryptedPassportElementWithFrontSide?
Content copied to clipboard
as Encrypted Passport Element With Phone Number
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithPhoneNumber(): EncryptedPassportElementWithPhoneNumber?
Content copied to clipboard
as Encrypted Passport Element With Reverse Side
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithReverseSide(): EncryptedPassportElementWithReverseSide?
Content copied to clipboard
as Encrypted Passport Element With Selfie
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithSelfie(): EncryptedPassportElementWithSelfie?
Content copied to clipboard
as Encrypted Passport Element With Translatable Files Collection
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithTranslatableFilesCollection(): EncryptedPassportElementWithTranslatableFilesCollection?
Content copied to clipboard
as Encrypted Passport Element With Translatable IDDocument
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPassportElementWithTranslatableIDDocument(): EncryptedPassportElementWithTranslatableIDDocument?
Content copied to clipboard
as Encrypted Personal Details
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedPersonalDetails(): EncryptedPersonalDetails?
Content copied to clipboard
as Extended Bot
Link copied to clipboard
as Extended Channel Chat
Link copied to clipboard
as Extended Chat
Link copied to clipboard
as Extended Group Chat
Link copied to clipboard
as Extended Private Chat
Link copied to clipboard
as Extended Public Chat
Link copied to clipboard
as Extended Supergroup Chat
Link copied to clipboard
as File
Link copied to clipboard
as File Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.asFileInlineQueryResult(): FileInlineQueryResult?
Content copied to clipboard
as Find Location Action
Link copied to clipboard
as Football Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.asFootballDiceAnimationType(): FootballDiceAnimationType?
Content copied to clipboard
as Force Reply
Link copied to clipboard
as From Channel Group Content Message
Link copied to clipboard
inline fun Message.asFromChannelGroupContentMessage(): FromChannelGroupContentMessage<MessageContent>?
Content copied to clipboard
as From Channel Group Content Message Impl
Link copied to clipboard
inline fun Message.asFromChannelGroupContentMessageImpl(): FromChannelGroupContentMessageImpl<MessageContent>?
Content copied to clipboard
as From User
Link copied to clipboard
as From User Message
Link copied to clipboard
as Game Content
Link copied to clipboard
as Game Short Name Callback Query
Link copied to clipboard
inline fun CallbackQuery.asGameShortNameCallbackQuery(): GameShortNameCallbackQuery?
Content copied to clipboard
as Group Chat
Link copied to clipboard
as Group Chat Created
Link copied to clipboard
as Group Content Message
Link copied to clipboard
inline fun Message.asGroupContentMessage(): GroupContentMessage<MessageContent>?
Content copied to clipboard
as Group Event
Link copied to clipboard
as Group Event Message
Link copied to clipboard
as Hash Tag Text Source
Link copied to clipboard
as Identity Card
Link copied to clipboard
as Identity Card Secure Value
Link copied to clipboard
inline fun SecureValue.asIdentityCardSecureValue(): IdentityCardSecureValue?
Content copied to clipboard
as Identity With Reverse Side Secure Value
Link copied to clipboard
inline fun SecureValue.asIdentityWithReverseSideSecureValue(): IdentityWithReverseSideSecureValue?
Content copied to clipboard
as Inline Keyboard Markup
Link copied to clipboard
inline fun KeyboardMarkup.asInlineKeyboardMarkup(): InlineKeyboardMarkup?
Content copied to clipboard
as Inline Message Id Callback Query
Link copied to clipboard
inline fun CallbackQuery.asInlineMessageIdCallbackQuery(): InlineMessageIdCallbackQuery?
Content copied to clipboard
as Inline Message Id Data Callback Query
Link copied to clipboard
inline fun CallbackQuery.asInlineMessageIdDataCallbackQuery(): InlineMessageIdDataCallbackQuery?
Content copied to clipboard
as Inline Message Id Game Short Name Callback Query
Link copied to clipboard
inline fun CallbackQuery.asInlineMessageIdGameShortNameCallbackQuery(): InlineMessageIdGameShortNameCallbackQuery?
Content copied to clipboard
as Inline Query Result Article
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultArticle(): InlineQueryResultArticle?
Content copied to clipboard
as Inline Query Result Audio
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultAudio(): InlineQueryResultAudio?
Content copied to clipboard
as Inline Query Result Audio Cached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultAudioCached(): InlineQueryResultAudioCached?
Content copied to clipboard
as Inline Query Result Audio Common
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultAudioCommon(): InlineQueryResultAudioCommon?
Content copied to clipboard
as Inline Query Result Contact
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultContact(): InlineQueryResultContact?
Content copied to clipboard
as Inline Query Result Document
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultDocument(): InlineQueryResultDocument?
Content copied to clipboard
as Inline Query Result Document Cached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultDocumentCached(): InlineQueryResultDocumentCached?
Content copied to clipboard
as Inline Query Result Document Common
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultDocumentCommon(): InlineQueryResultDocumentCommon?
Content copied to clipboard
as Inline Query Result Game
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGame(): InlineQueryResultGame?
Content copied to clipboard
as Inline Query Result Gif
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGif(): InlineQueryResultGif?
Content copied to clipboard
as Inline Query Result Gif Cached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGifCached(): InlineQueryResultGifCached?
Content copied to clipboard
as Inline Query Result Gif Common
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGifCommon(): InlineQueryResultGifCommon?
Content copied to clipboard
as Inline Query Result Location
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultLocation(): InlineQueryResultLocation?
Content copied to clipboard
as Inline Query Result Mpeg4Gif
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultMpeg4Gif(): InlineQueryResultMpeg4Gif?
Content copied to clipboard
as Inline Query Result Mpeg4Gif Cached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultMpeg4GifCached(): InlineQueryResultMpeg4GifCached?
Content copied to clipboard
as Inline Query Result Mpeg4Gif Common
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultMpeg4GifCommon(): InlineQueryResultMpeg4GifCommon?
Content copied to clipboard
as Inline Query Result Photo
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultPhoto(): InlineQueryResultPhoto?
Content copied to clipboard
as Inline Query Result Photo Cached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultPhotoCached(): InlineQueryResultPhotoCached?
Content copied to clipboard
as Inline Query Result Photo Common
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultPhotoCommon(): InlineQueryResultPhotoCommon?
Content copied to clipboard
as Inline Query Result Sticker Cached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultStickerCached(): InlineQueryResultStickerCached?
Content copied to clipboard
as Inline Query Result Venue
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVenue(): InlineQueryResultVenue?
Content copied to clipboard
as Inline Query Result Video
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVideo(): InlineQueryResultVideo?
Content copied to clipboard
as Inline Query Result Video Cached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVideoCached(): InlineQueryResultVideoCached?
Content copied to clipboard
as Inline Query Result Video Common
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVideoCommon(): InlineQueryResultVideoCommon?
Content copied to clipboard
as Inline Query Result Voice
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVoice(): InlineQueryResultVoice?
Content copied to clipboard
as Inline Query Result Voice Cached
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVoiceCached(): InlineQueryResultVoiceCached?
Content copied to clipboard
as Inline Query Result Voice Common
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVoiceCommon(): InlineQueryResultVoiceCommon?
Content copied to clipboard
as Inline Query Update
Link copied to clipboard
as Input Contact Message Content
Link copied to clipboard
inline fun InputMessageContent.asInputContactMessageContent(): InputContactMessageContent?
Content copied to clipboard
as Input Invoice Message Content
Link copied to clipboard
inline fun CommonSendInvoiceData.asInputInvoiceMessageContent(): InputInvoiceMessageContent?
Content copied to clipboard
inline fun InputMessageContent.asInputInvoiceMessageContent(): InputInvoiceMessageContent?
Content copied to clipboard
as Input Location Message Content
Link copied to clipboard
inline fun InputMessageContent.asInputLocationMessageContent(): InputLocationMessageContent?
Content copied to clipboard
as Input Media Animation
Link copied to clipboard
as Input Media Audio
Link copied to clipboard
as Input Media Document
Link copied to clipboard
as Input Media Photo
Link copied to clipboard
as Input Media Video
Link copied to clipboard
as Input Text Message Content
Link copied to clipboard
inline fun InputMessageContent.asInputTextMessageContent(): InputTextMessageContent?
Content copied to clipboard
as Input Venue Message Content
Link copied to clipboard
inline fun InputMessageContent.asInputVenueMessageContent(): InputVenueMessageContent?
Content copied to clipboard
as Internal Passport
Link copied to clipboard
inline fun EncryptedPassportElement.asInternalPassport(): InternalPassport?
Content copied to clipboard
as Internal Passport Secure Value
Link copied to clipboard
inline fun SecureValue.asInternalPassportSecureValue(): InternalPassportSecureValue?
Content copied to clipboard
as Invoice Content
Link copied to clipboard
as Italic Text Source
Link copied to clipboard
as Kicked Chat Member
Link copied to clipboard
as Left Chat Member
Link copied to clipboard
as Live Location
Link copied to clipboard
as Live Location Content
Link copied to clipboard
inline fun ResendableContent.asLiveLocationContent(): LiveLocationContent?
Content copied to clipboard
as Location Content
Link copied to clipboard
as Location Inline Query
Link copied to clipboard
as Login URLInline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.asLoginURLInlineKeyboardButton(): LoginURLInlineKeyboardButton?
Content copied to clipboard
as Media Collection Content
Link copied to clipboard
inline fun ResendableContent.asMediaCollectionContent(): MediaCollectionContent<TelegramMediaFile>?
Content copied to clipboard
as Media Content
Link copied to clipboard
as Media Group Content
Link copied to clipboard
as Media Group Member Input Media
Link copied to clipboard
inline fun InputMedia.asMediaGroupMemberInputMedia(): MediaGroupMemberInputMedia?
Content copied to clipboard
as Media Group Message
Link copied to clipboard
inline fun Message.asMediaGroupMessage(): MediaGroupMessage<MediaGroupContent>?
Content copied to clipboard
as Media Group Update
Link copied to clipboard
as Member Chat Member
Link copied to clipboard
as Mention Text Source
Link copied to clipboard
as Message Auto Delete Timer Changed
Link copied to clipboard
inline fun ChatEvent.asMessageAutoDeleteTimerChanged(): MessageAutoDeleteTimerChanged?
Content copied to clipboard
as Message Callback Query
Link copied to clipboard
as Message Content
Link copied to clipboard
as Message Data Callback Query
Link copied to clipboard
inline fun CallbackQuery.asMessageDataCallbackQuery(): MessageDataCallbackQuery?
Content copied to clipboard
as Message Game Short Name Callback Query
Link copied to clipboard
inline fun CallbackQuery.asMessageGameShortNameCallbackQuery(): MessageGameShortNameCallbackQuery?
Content copied to clipboard
as Message Media Group Update
Link copied to clipboard
as Message Update
Link copied to clipboard
as Mimed Media File
Link copied to clipboard
as Multilevel Text Source
Link copied to clipboard
as Multiple Answers Poll
Link copied to clipboard
as My Chat Member Updated Update
Link copied to clipboard
inline fun Update.asMyChatMemberUpdatedUpdate(): MyChatMemberUpdatedUpdate?
Content copied to clipboard
as New Chat Members
Link copied to clipboard
as New Chat Photo
Link copied to clipboard
as New Chat Title
Link copied to clipboard
as Optionally Titled Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.asOptionallyTitledInlineQueryResult(): OptionallyTitledInlineQueryResult?
Content copied to clipboard
as Other Documents Secure Value
Link copied to clipboard
inline fun SecureValue.asOtherDocumentsSecureValue(): OtherDocumentsSecureValue?
Content copied to clipboard
as Passport
Link copied to clipboard
as Passport Element Error Data Field
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorDataField(): PassportElementErrorDataField?
Content copied to clipboard
as Passport Element Error File
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorFile(): PassportElementErrorFile?
Content copied to clipboard
as Passport Element Error Files
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorFiles(): PassportElementErrorFiles?
Content copied to clipboard
as Passport Element Error Front Side
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorFrontSide(): PassportElementErrorFrontSide?
Content copied to clipboard
as Passport Element Error Reverse Side
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorReverseSide(): PassportElementErrorReverseSide?
Content copied to clipboard
as Passport Element Error Selfie
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorSelfie(): PassportElementErrorSelfie?
Content copied to clipboard
as Passport Element Error Translation File
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorTranslationFile(): PassportElementErrorTranslationFile?
Content copied to clipboard
as Passport Element Error Translation Files
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorTranslationFiles(): PassportElementErrorTranslationFiles?
Content copied to clipboard
as Passport Element Error Unspecified
Link copied to clipboard
inline fun PassportElementError.asPassportElementErrorUnspecified(): PassportElementErrorUnspecified?
Content copied to clipboard
as Passport Element File Error
Link copied to clipboard
inline fun PassportElementError.asPassportElementFileError(): PassportElementFileError?
Content copied to clipboard
as Passport Element Files Error
Link copied to clipboard
inline fun PassportElementError.asPassportElementFilesError(): PassportElementFilesError?
Content copied to clipboard
as Passport Message
Link copied to clipboard
as Passport Multiple Elements Error
Link copied to clipboard
inline fun PassportElementError.asPassportMultipleElementsError(): PassportMultipleElementsError?
Content copied to clipboard
as Passport Registration
Link copied to clipboard
inline fun EncryptedPassportElement.asPassportRegistration(): PassportRegistration?
Content copied to clipboard
as Passport Registration Secure Value
Link copied to clipboard
inline fun SecureValue.asPassportRegistrationSecureValue(): PassportRegistrationSecureValue?
Content copied to clipboard
as Passport Secure Value
Link copied to clipboard
as Passport Single Element Error
Link copied to clipboard
inline fun PassportElementError.asPassportSingleElementError(): PassportSingleElementError?
Content copied to clipboard
as Pathed File
Link copied to clipboard
as Pay Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.asPayInlineKeyboardButton(): PayInlineKeyboardButton?
Content copied to clipboard
as Personal Details Secure Value
Link copied to clipboard
inline fun SecureValue.asPersonalDetailsSecureValue(): PersonalDetailsSecureValue?
Content copied to clipboard
as Phone Number
Link copied to clipboard
as Phone Number Text Source
Link copied to clipboard
as Photo Content
Link copied to clipboard
as Photo Size
Link copied to clipboard
as Pinned Message
Link copied to clipboard
as Playable Media File
Link copied to clipboard
as Poll Answer Update
Link copied to clipboard
as Poll Content
Link copied to clipboard
as Poll Update
Link copied to clipboard
as Possibly Edited Message
Link copied to clipboard
as Possibly Forwarded Message
Link copied to clipboard
inline fun Message.asPossiblyForwardedMessage(): PossiblyForwardedMessage?
Content copied to clipboard
as Possibly Payment Message
Link copied to clipboard
as Possibly Reply Message
Link copied to clipboard
as Possibly Sent Via Bot Common Message
Link copied to clipboard
inline fun Message.asPossiblySentViaBotCommonMessage(): PossiblySentViaBotCommonMessage<MessageContent>?
Content copied to clipboard
as Pre Checkout Query Update
Link copied to clipboard
as Pre Text Source
Link copied to clipboard
as Private Chat
Link copied to clipboard
as Private Content Message
Link copied to clipboard
inline fun Message.asPrivateContentMessage(): PrivateContentMessage<MessageContent>?
Content copied to clipboard
as Private Content Message Impl
Link copied to clipboard
inline fun Message.asPrivateContentMessageImpl(): PrivateContentMessageImpl<MessageContent>?
Content copied to clipboard
as Private Event Message
Link copied to clipboard
inline fun Message.asPrivateEventMessage(): PrivateEventMessage<PrivateEvent>?
Content copied to clipboard
as Proximity Alert Triggered
Link copied to clipboard
inline fun ChatEvent.asProximityAlertTriggered(): ProximityAlertTriggered?
Content copied to clipboard
as Public Chat
Link copied to clipboard
as Public Chat Event
Link copied to clipboard
as Public Content Message
Link copied to clipboard
inline fun Message.asPublicContentMessage(): PublicContentMessage<MessageContent>?
Content copied to clipboard
as Quiz Poll
Link copied to clipboard
as Record Video Action
Link copied to clipboard
as Record Video Note Action
Link copied to clipboard
as Record Voice Action
Link copied to clipboard
as Regular Poll
Link copied to clipboard
as Regular Text Source
Link copied to clipboard
as Rental Agreement
Link copied to clipboard
inline fun EncryptedPassportElement.asRentalAgreement(): RentalAgreement?
Content copied to clipboard
as Rental Agreement Secure Value
Link copied to clipboard
inline fun SecureValue.asRentalAgreementSecureValue(): RentalAgreementSecureValue?
Content copied to clipboard
as Reply Keyboard Markup
Link copied to clipboard
as Reply Keyboard Remove
Link copied to clipboard
as Restricted Chat Member
Link copied to clipboard
as Secure Value Identity
Link copied to clipboard
as Secure Value With Data
Link copied to clipboard
as Secure Value With Files
Link copied to clipboard
as Secure Value With Reverse Side
Link copied to clipboard
inline fun SecureValue.asSecureValueWithReverseSide(): SecureValueWithReverseSide?
Content copied to clipboard
as Secure Value With Translations
Link copied to clipboard
inline fun SecureValue.asSecureValueWithTranslations(): SecureValueWithTranslations?
Content copied to clipboard
as Send Invoice
Link copied to clipboard
as Sent Media Group Update
Link copied to clipboard
as Shipping Query Update
Link copied to clipboard
as Signed Message
Link copied to clipboard
as Sized Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.asSizedInlineQueryResult(): SizedInlineQueryResult?
Content copied to clipboard
as Sized Input Media
Link copied to clipboard
as Sized Media File
Link copied to clipboard
as Slot Machine Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.asSlotMachineDiceAnimationType(): SlotMachineDiceAnimationType?
Content copied to clipboard
as Special Rights Chat Member
Link copied to clipboard
inline fun ChatMember.asSpecialRightsChatMember(): SpecialRightsChatMember?
Content copied to clipboard
as Static Location
Link copied to clipboard
as Static Location Content
Link copied to clipboard
inline fun ResendableContent.asStaticLocationContent(): StaticLocationContent?
Content copied to clipboard
as Sticker
Link copied to clipboard
as Sticker Content
Link copied to clipboard
as Strikethrough Text Source
Link copied to clipboard
inline fun TextSource.asStrikethroughTextSource(): StrikethroughTextSource?
Content copied to clipboard
as Supergroup Chat
Link copied to clipboard
as Supergroup Chat Created
Link copied to clipboard
as Supergroup Event
Link copied to clipboard
as Supergroup Event Message
Link copied to clipboard
inline fun Message.asSupergroupEventMessage(): SupergroupEventMessage<SupergroupEvent>?
Content copied to clipboard
as Super Public Chat
Link copied to clipboard
as Switch Inline Query Current Chat Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.asSwitchInlineQueryCurrentChatInlineKeyboardButton(): SwitchInlineQueryCurrentChatInlineKeyboardButton?
Content copied to clipboard
as Switch Inline Query Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.asSwitchInlineQueryInlineKeyboardButton(): SwitchInlineQueryInlineKeyboardButton?
Content copied to clipboard
as Temporal Registration Secure Value
Link copied to clipboard
inline fun SecureValue.asTemporalRegistrationSecureValue(): TemporalRegistrationSecureValue?
Content copied to clipboard
as Temporary Registration
Link copied to clipboard
inline fun EncryptedPassportElement.asTemporaryRegistration(): TemporaryRegistration?
Content copied to clipboard
as Text Content
Link copied to clipboard
as Text Link Text Source
Link copied to clipboard
as Text Mention Text Source
Link copied to clipboard
as Thumbed Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.asThumbedInlineQueryResult(): ThumbedInlineQueryResult?
Content copied to clipboard
as Thumbed Input Media
Link copied to clipboard
as Thumbed Media File
Link copied to clipboard
as Thumbed With Mime Type Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.asThumbedWithMimeTypeInlineQueryResult(): ThumbedWithMimeTypeInlineQueryResult?
Content copied to clipboard
as Thumb Sized Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.asThumbSizedInlineQueryResult(): ThumbSizedInlineQueryResult?
Content copied to clipboard
as Titled Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.asTitledInlineQueryResult(): TitledInlineQueryResult?
Content copied to clipboard
as Titled Input Media
Link copied to clipboard
as Typing Action
Link copied to clipboard
as Underline Text Source
Link copied to clipboard
as Unknown Callback Query Type
Link copied to clipboard
inline fun CallbackQuery.asUnknownCallbackQueryType(): UnknownCallbackQueryType?
Content copied to clipboard
as Unknown Chat Type
Link copied to clipboard
as Unknown Encrypted Passport Element
Link copied to clipboard
inline fun EncryptedPassportElement.asUnknownEncryptedPassportElement(): UnknownEncryptedPassportElement?
Content copied to clipboard
as Unknown Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.asUnknownInlineKeyboardButton(): UnknownInlineKeyboardButton?
Content copied to clipboard
as Unknown Message Type
Link copied to clipboard
as Unknown Passport Element Error
Link copied to clipboard
inline fun PassportElementError.asUnknownPassportElementError(): UnknownPassportElementError?
Content copied to clipboard
as Unknown Poll Type
Link copied to clipboard
as Unknown Update
Link copied to clipboard
as Upload Document Action
Link copied to clipboard
as Upload Photo Action
Link copied to clipboard
as Upload Video Action
Link copied to clipboard
as Upload Video Note Action
Link copied to clipboard
as Upload Voice Action
Link copied to clipboard
as URLInline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.asURLInlineKeyboardButton(): URLInlineKeyboardButton?
Content copied to clipboard
as Url Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.asUrlInlineQueryResult(): UrlInlineQueryResult?
Content copied to clipboard
as URLText Source
Link copied to clipboard
as Username Chat
Link copied to clipboard
as Utility Bill
Link copied to clipboard
as Utility Bill Secure Value
Link copied to clipboard
inline fun SecureValue.asUtilityBillSecureValue(): UtilityBillSecureValue?
Content copied to clipboard
as Venue Content
Link copied to clipboard
as Video Content
Link copied to clipboard
as Video File
Link copied to clipboard
as Video Note Content
Link copied to clipboard
as Video Note File
Link copied to clipboard
as Visual Media Group Content
Link copied to clipboard
inline fun ResendableContent.asVisualMediaGroupContent(): VisualMediaGroupContent?
Content copied to clipboard
as Visual Media Group Member Input Media
Link copied to clipboard
inline fun InputMedia.asVisualMediaGroupMemberInputMedia(): VisualMediaGroupMemberInputMedia?
Content copied to clipboard
as Voice Chat Ended
Link copied to clipboard
as Voice Chat Event
Link copied to clipboard
as Voice Chat Participants Invited
Link copied to clipboard
inline fun ChatEvent.asVoiceChatParticipantsInvited(): VoiceChatParticipantsInvited?
Content copied to clipboard
as Voice Chat Started
Link copied to clipboard
as Voice Content
Link copied to clipboard
as Voice File
Link copied to clipboard
as With Input Message Content Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.asWithInputMessageContentInlineQueryResult(): WithInputMessageContentInlineQueryResult?
Content copied to clipboard
as With Optional Language Code
Link copied to clipboard
as With User
Link copied to clipboard
calculate Slot Machine Result
Link copied to clipboard
common Messages
Link copied to clipboard
inline fun <C : MessageContent, T : ContentMessage<C>> Flow<T>.commonMessages(): Flow<CommonMessage<C>>
Content copied to clipboard
Shortcut for onlyCommonMessages
only Animation Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyAnimationContentMessages(): Flow<ContentMessage<AnimationContent>>
Content copied to clipboard
only Audio Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyAudioContentMessages(): Flow<ContentMessage<AudioContent>>
Content copied to clipboard
only Common Messages
Link copied to clipboard
fun <C : MessageContent, T : ContentMessage<C>> Flow<T>.onlyCommonMessages(): Flow<CommonMessage<C>>
Content copied to clipboard
Simple factory to convert ContentMessage to a CommonMessage
only Contact Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyContactContentMessages(): Flow<ContentMessage<ContactContent>>
Content copied to clipboard
only Dice Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyDiceContentMessages(): Flow<ContentMessage<DiceContent>>
Content copied to clipboard
only Document Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyDocumentContentMessages(): Flow<ContentMessage<DocumentContent>>
Content copied to clipboard
only Game Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyGameContentMessages(): Flow<ContentMessage<GameContent>>
Content copied to clipboard
only Inline Message Id Data Callback Queries
Link copied to clipboard
fun <T : CallbackQuery> Flow<T>.onlyInlineMessageIdDataCallbackQueries(): Flow<InlineMessageIdDataCallbackQuery>
Content copied to clipboard
only Invoice Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyInvoiceContentMessages(): Flow<ContentMessage<InvoiceContent>>
Content copied to clipboard
only Location Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyLocationContentMessages(): Flow<ContentMessage<LocationContent>>
Content copied to clipboard
only Message Data Callback Queries
Link copied to clipboard
fun <T : CallbackQuery> Flow<T>.onlyMessageDataCallbackQueries(): Flow<MessageDataCallbackQuery>
Content copied to clipboard
only Photo Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyPhotoContentMessages(): Flow<ContentMessage<PhotoContent>>
Content copied to clipboard
only Poll Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyPollContentMessages(): Flow<ContentMessage<PollContent>>
Content copied to clipboard
only Sent Via Bot
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
only Sticker Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyStickerContentMessages(): Flow<ContentMessage<StickerContent>>
Content copied to clipboard
only Text Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyTextContentMessages(): Flow<ContentMessage<TextContent>>
Content copied to clipboard
only Venue Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVenueContentMessages(): Flow<ContentMessage<VenueContent>>
Content copied to clipboard
only Video Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVideoContentMessages(): Flow<ContentMessage<VideoContent>>
Content copied to clipboard
only Video Note Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVideoNoteContentMessages(): Flow<ContentMessage<VideoNoteContent>>
Content copied to clipboard
only Voice Content Messages
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVoiceContentMessages(): Flow<ContentMessage<VoiceContent>>
Content copied to clipboard
require Address Secure Value
Link copied to clipboard
require Administrator Chat Member
Link copied to clipboard
inline fun ChatMember.requireAdministratorChatMember(): AdministratorChatMember
Content copied to clipboard
require Animation Content
Link copied to clipboard
require Animation File
Link copied to clipboard
require Anonymous Group Content Message
Link copied to clipboard
inline fun Message.requireAnonymousGroupContentMessage(): AnonymousGroupContentMessage<MessageContent>
Content copied to clipboard
require Anonymous Group Content Message Impl
Link copied to clipboard
inline fun Message.requireAnonymousGroupContentMessageImpl(): AnonymousGroupContentMessageImpl<MessageContent>
Content copied to clipboard
require Audio Content
Link copied to clipboard
require Audio File
Link copied to clipboard
require Audio Media Group Content
Link copied to clipboard
inline fun ResendableContent.requireAudioMediaGroupContent(): AudioMediaGroupContent
Content copied to clipboard
require Audio Media Group Member Input Media
Link copied to clipboard
inline fun InputMedia.requireAudioMediaGroupMemberInputMedia(): AudioMediaGroupMemberInputMedia
Content copied to clipboard
require Bank Statement
Link copied to clipboard
inline fun EncryptedPassportElement.requireBankStatement(): BankStatement
Content copied to clipboard
require Bank Statement Secure Value
Link copied to clipboard
inline fun SecureValue.requireBankStatementSecureValue(): BankStatementSecureValue
Content copied to clipboard
require Banned Chat Member
Link copied to clipboard
require Base Edit Message Update
Link copied to clipboard
require Base Inline Query
Link copied to clipboard
require Base Message Update
Link copied to clipboard
require Base Sent Message Update
Link copied to clipboard
require Basketball Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.requireBasketballDiceAnimationType(): BasketballDiceAnimationType
Content copied to clipboard
require Bold Text Source
Link copied to clipboard
require Bot
Link copied to clipboard
require Bot Command Text Source
Link copied to clipboard
inline fun TextSource.requireBotCommandTextSource(): BotCommandTextSource
Content copied to clipboard
require Bowling Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.requireBowlingDiceAnimationType(): BowlingDiceAnimationType
Content copied to clipboard
require Callback Data Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.requireCallbackDataInlineKeyboardButton(): CallbackDataInlineKeyboardButton
Content copied to clipboard
require Callback Game Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.requireCallbackGameInlineKeyboardButton(): CallbackGameInlineKeyboardButton
Content copied to clipboard
require Callback Query Update
Link copied to clipboard
require Cash Tag Text Source
Link copied to clipboard
require Channel Chat
Link copied to clipboard
require Channel Chat Created
Link copied to clipboard
require Channel Content Message
Link copied to clipboard
inline fun Message.requireChannelContentMessage(): ChannelContentMessageImpl<MessageContent>
Content copied to clipboard
require Channel Content Message Impl
Link copied to clipboard
inline fun Message.requireChannelContentMessageImpl(): ChannelContentMessageImpl<MessageContent>
Content copied to clipboard
require Channel Event
Link copied to clipboard
require Channel Event Message
Link copied to clipboard
inline fun Message.requireChannelEventMessage(): ChannelEventMessage<ChannelEvent>
Content copied to clipboard
require Channel Media Group Message
Link copied to clipboard
inline fun Message.requireChannelMediaGroupMessage(): ChannelMediaGroupMessage<MediaGroupContent>
Content copied to clipboard
require Channel Post Media Group Update
Link copied to clipboard
inline fun Update.requireChannelPostMediaGroupUpdate(): ChannelPostMediaGroupUpdate
Content copied to clipboard
require Channel Post Update
Link copied to clipboard
require Chat Event Message
Link copied to clipboard
inline fun Message.requireChatEventMessage(): ChatEventMessage<ChatEvent>
Content copied to clipboard
require Chat Member Updated Update
Link copied to clipboard
inline fun Update.requireChatMemberUpdatedUpdate(): ChatMemberUpdatedUpdate
Content copied to clipboard
require Chosen Inline Result Update
Link copied to clipboard
inline fun Update.requireChosenInlineResultUpdate(): ChosenInlineResultUpdate
Content copied to clipboard
require Code Text Source
Link copied to clipboard
require Common Bot
Link copied to clipboard
require Common Chat Member Updated Update
Link copied to clipboard
inline fun Update.requireCommonChatMemberUpdatedUpdate(): CommonChatMemberUpdatedUpdate
Content copied to clipboard
require Common Event
Link copied to clipboard
require Common Group Content Message
Link copied to clipboard
inline fun Message.requireCommonGroupContentMessage(): CommonGroupContentMessage<MessageContent>
Content copied to clipboard
require Common Group Event Message
Link copied to clipboard
inline fun Message.requireCommonGroupEventMessage(): CommonGroupEventMessage<GroupEvent>
Content copied to clipboard
require Common Media Group Message
Link copied to clipboard
inline fun Message.requireCommonMediaGroupMessage(): CommonMediaGroupMessage<MediaGroupContent>
Content copied to clipboard
require Common Message
Link copied to clipboard
require Common Passport
Link copied to clipboard
inline fun EncryptedPassportElement.requireCommonPassport(): CommonPassport
Content copied to clipboard
require Common Passport Secure Value
Link copied to clipboard
inline fun SecureValue.requireCommonPassportSecureValue(): CommonPassportSecureValue
Content copied to clipboard
require Common Supergroup Event Message
Link copied to clipboard
inline fun Message.requireCommonSupergroupEventMessage(): CommonSupergroupEventMessage<SupergroupEvent>
Content copied to clipboard
require Common User
Link copied to clipboard
require Contact Content
Link copied to clipboard
require Content Message
Link copied to clipboard
inline fun Message.requireContentMessage(): ContentMessage<MessageContent>
Content copied to clipboard
require Creator Chat Member
Link copied to clipboard
require Cube Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.requireCubeDiceAnimationType(): CubeDiceAnimationType
Content copied to clipboard
require Custom Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.requireCustomDiceAnimationType(): CustomDiceAnimationType
Content copied to clipboard
require Darts Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.requireDartsDiceAnimationType(): DartsDiceAnimationType
Content copied to clipboard
require Data Callback Query
Link copied to clipboard
require Delete Chat Photo
Link copied to clipboard
require Described Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.requireDescribedInlineQueryResult(): DescribedInlineQueryResult
Content copied to clipboard
require Dice Content
Link copied to clipboard
require Document Content
Link copied to clipboard
require Document File
Link copied to clipboard
require Document Media Group Content
Link copied to clipboard
inline fun ResendableContent.requireDocumentMediaGroupContent(): DocumentMediaGroupContent
Content copied to clipboard
require Document Media Group Member Input Media
Link copied to clipboard
inline fun InputMedia.requireDocumentMediaGroupMemberInputMedia(): DocumentMediaGroupMemberInputMedia
Content copied to clipboard
require Driver License
Link copied to clipboard
inline fun EncryptedPassportElement.requireDriverLicense(): DriverLicense
Content copied to clipboard
require Driver License Secure Value
Link copied to clipboard
inline fun SecureValue.requireDriverLicenseSecureValue(): DriverLicenseSecureValue
Content copied to clipboard
require Durated Input Media
Link copied to clipboard
require Edit Channel Post Media Group Update
Link copied to clipboard
inline fun Update.requireEditChannelPostMediaGroupUpdate(): EditChannelPostMediaGroupUpdate
Content copied to clipboard
require Edit Channel Post Update
Link copied to clipboard
require Edit Media Group Update
Link copied to clipboard
require Edit Message Media Group Update
Link copied to clipboard
inline fun Update.requireEditMessageMediaGroupUpdate(): EditMessageMediaGroupUpdate
Content copied to clipboard
require Edit Message Update
Link copied to clipboard
require Email
Link copied to clipboard
require EMail Text Source
Link copied to clipboard
require Encrypted Address
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedAddress(): EncryptedAddress
Content copied to clipboard
require Encrypted Passport Element Translatable
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementTranslatable(): EncryptedPassportElementTranslatable
Content copied to clipboard
require Encrypted Passport Element With Data
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithData(): EncryptedPassportElementWithData
Content copied to clipboard
require Encrypted Passport Element With Email
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithEmail(): EncryptedPassportElementWithEmail
Content copied to clipboard
require Encrypted Passport Element With Files Collection
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithFilesCollection(): EncryptedPassportElementWithFilesCollection
Content copied to clipboard
require Encrypted Passport Element With Front Side
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithFrontSide(): EncryptedPassportElementWithFrontSide
Content copied to clipboard
require Encrypted Passport Element With Phone Number
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithPhoneNumber(): EncryptedPassportElementWithPhoneNumber
Content copied to clipboard
require Encrypted Passport Element With Reverse Side
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithReverseSide(): EncryptedPassportElementWithReverseSide
Content copied to clipboard
require Encrypted Passport Element With Selfie
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithSelfie(): EncryptedPassportElementWithSelfie
Content copied to clipboard
require Encrypted Passport Element With Translatable Files Collection
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithTranslatableFilesCollection(): EncryptedPassportElementWithTranslatableFilesCollection
Content copied to clipboard
require Encrypted Passport Element With Translatable IDDocument
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPassportElementWithTranslatableIDDocument(): EncryptedPassportElementWithTranslatableIDDocument
Content copied to clipboard
require Encrypted Personal Details
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedPersonalDetails(): EncryptedPersonalDetails
Content copied to clipboard
require Extended Bot
Link copied to clipboard
require Extended Channel Chat
Link copied to clipboard
require Extended Chat
Link copied to clipboard
require Extended Group Chat
Link copied to clipboard
require Extended Private Chat
Link copied to clipboard
require Extended Public Chat
Link copied to clipboard
require Extended Supergroup Chat
Link copied to clipboard
require File
Link copied to clipboard
require File Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.requireFileInlineQueryResult(): FileInlineQueryResult
Content copied to clipboard
require Find Location Action
Link copied to clipboard
require Football Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.requireFootballDiceAnimationType(): FootballDiceAnimationType
Content copied to clipboard
require Force Reply
Link copied to clipboard
require From Channel Group Content Message
Link copied to clipboard
inline fun Message.requireFromChannelGroupContentMessage(): FromChannelGroupContentMessage<MessageContent>
Content copied to clipboard
require From Channel Group Content Message Impl
Link copied to clipboard
inline fun Message.requireFromChannelGroupContentMessageImpl(): FromChannelGroupContentMessageImpl<MessageContent>
Content copied to clipboard
require From User
Link copied to clipboard
require From User Message
Link copied to clipboard
require Game Content
Link copied to clipboard
require Game Short Name Callback Query
Link copied to clipboard
inline fun CallbackQuery.requireGameShortNameCallbackQuery(): GameShortNameCallbackQuery
Content copied to clipboard
require Group Chat
Link copied to clipboard
require Group Chat Created
Link copied to clipboard
require Group Content Message
Link copied to clipboard
inline fun Message.requireGroupContentMessage(): GroupContentMessage<MessageContent>
Content copied to clipboard
require Group Event
Link copied to clipboard
require Group Event Message
Link copied to clipboard
inline fun Message.requireGroupEventMessage(): GroupEventMessage<GroupEvent>
Content copied to clipboard
require Hash Tag Text Source
Link copied to clipboard
require Identity Card
Link copied to clipboard
require Identity Card Secure Value
Link copied to clipboard
inline fun SecureValue.requireIdentityCardSecureValue(): IdentityCardSecureValue
Content copied to clipboard
require Identity With Reverse Side Secure Value
Link copied to clipboard
inline fun SecureValue.requireIdentityWithReverseSideSecureValue(): IdentityWithReverseSideSecureValue
Content copied to clipboard
require Inline Keyboard Markup
Link copied to clipboard
inline fun KeyboardMarkup.requireInlineKeyboardMarkup(): InlineKeyboardMarkup
Content copied to clipboard
require Inline Message Id Callback Query
Link copied to clipboard
inline fun CallbackQuery.requireInlineMessageIdCallbackQuery(): InlineMessageIdCallbackQuery
Content copied to clipboard
require Inline Message Id Data Callback Query
Link copied to clipboard
inline fun CallbackQuery.requireInlineMessageIdDataCallbackQuery(): InlineMessageIdDataCallbackQuery
Content copied to clipboard
require Inline Message Id Game Short Name Callback Query
Link copied to clipboard
inline fun CallbackQuery.requireInlineMessageIdGameShortNameCallbackQuery(): InlineMessageIdGameShortNameCallbackQuery
Content copied to clipboard
require Inline Query Result Article
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultArticle(): InlineQueryResultArticle
Content copied to clipboard
require Inline Query Result Audio
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultAudio(): InlineQueryResultAudio
Content copied to clipboard
require Inline Query Result Audio Cached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultAudioCached(): InlineQueryResultAudioCached
Content copied to clipboard
require Inline Query Result Audio Common
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultAudioCommon(): InlineQueryResultAudioCommon
Content copied to clipboard
require Inline Query Result Contact
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultContact(): InlineQueryResultContact
Content copied to clipboard
require Inline Query Result Document
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultDocument(): InlineQueryResultDocument
Content copied to clipboard
require Inline Query Result Document Cached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultDocumentCached(): InlineQueryResultDocumentCached
Content copied to clipboard
require Inline Query Result Document Common
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultDocumentCommon(): InlineQueryResultDocumentCommon
Content copied to clipboard
require Inline Query Result Game
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGame(): InlineQueryResultGame
Content copied to clipboard
require Inline Query Result Gif
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGif(): InlineQueryResultGif
Content copied to clipboard
require Inline Query Result Gif Cached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGifCached(): InlineQueryResultGifCached
Content copied to clipboard
require Inline Query Result Gif Common
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGifCommon(): InlineQueryResultGifCommon
Content copied to clipboard
require Inline Query Result Location
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultLocation(): InlineQueryResultLocation
Content copied to clipboard
require Inline Query Result Mpeg4Gif
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultMpeg4Gif(): InlineQueryResultMpeg4Gif
Content copied to clipboard
require Inline Query Result Mpeg4Gif Cached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultMpeg4GifCached(): InlineQueryResultMpeg4GifCached
Content copied to clipboard
require Inline Query Result Mpeg4Gif Common
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultMpeg4GifCommon(): InlineQueryResultMpeg4GifCommon
Content copied to clipboard
require Inline Query Result Photo
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultPhoto(): InlineQueryResultPhoto
Content copied to clipboard
require Inline Query Result Photo Cached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultPhotoCached(): InlineQueryResultPhotoCached
Content copied to clipboard
require Inline Query Result Photo Common
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultPhotoCommon(): InlineQueryResultPhotoCommon
Content copied to clipboard
require Inline Query Result Sticker Cached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultStickerCached(): InlineQueryResultStickerCached
Content copied to clipboard
require Inline Query Result Venue
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVenue(): InlineQueryResultVenue
Content copied to clipboard
require Inline Query Result Video
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVideo(): InlineQueryResultVideo
Content copied to clipboard
require Inline Query Result Video Cached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVideoCached(): InlineQueryResultVideoCached
Content copied to clipboard
require Inline Query Result Video Common
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVideoCommon(): InlineQueryResultVideoCommon
Content copied to clipboard
require Inline Query Result Voice
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVoice(): InlineQueryResultVoice
Content copied to clipboard
require Inline Query Result Voice Cached
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVoiceCached(): InlineQueryResultVoiceCached
Content copied to clipboard
require Inline Query Result Voice Common
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultVoiceCommon(): InlineQueryResultVoiceCommon
Content copied to clipboard
require Inline Query Update
Link copied to clipboard
require Input Contact Message Content
Link copied to clipboard
inline fun InputMessageContent.requireInputContactMessageContent(): InputContactMessageContent
Content copied to clipboard
require Input Invoice Message Content
Link copied to clipboard
inline fun CommonSendInvoiceData.requireInputInvoiceMessageContent(): InputInvoiceMessageContent
Content copied to clipboard
inline fun InputMessageContent.requireInputInvoiceMessageContent(): InputInvoiceMessageContent
Content copied to clipboard
require Input Location Message Content
Link copied to clipboard
inline fun InputMessageContent.requireInputLocationMessageContent(): InputLocationMessageContent
Content copied to clipboard
require Input Media Animation
Link copied to clipboard
require Input Media Audio
Link copied to clipboard
require Input Media Document
Link copied to clipboard
require Input Media Photo
Link copied to clipboard
require Input Media Video
Link copied to clipboard
require Input Text Message Content
Link copied to clipboard
inline fun InputMessageContent.requireInputTextMessageContent(): InputTextMessageContent
Content copied to clipboard
require Input Venue Message Content
Link copied to clipboard
inline fun InputMessageContent.requireInputVenueMessageContent(): InputVenueMessageContent
Content copied to clipboard
require Internal Passport
Link copied to clipboard
inline fun EncryptedPassportElement.requireInternalPassport(): InternalPassport
Content copied to clipboard
require Internal Passport Secure Value
Link copied to clipboard
inline fun SecureValue.requireInternalPassportSecureValue(): InternalPassportSecureValue
Content copied to clipboard
require Invoice Content
Link copied to clipboard
require Italic Text Source
Link copied to clipboard
require Kicked Chat Member
Link copied to clipboard
require Left Chat Member
Link copied to clipboard
require Live Location
Link copied to clipboard
require Live Location Content
Link copied to clipboard
inline fun ResendableContent.requireLiveLocationContent(): LiveLocationContent
Content copied to clipboard
require Location Content
Link copied to clipboard
require Location Inline Query
Link copied to clipboard
require Login URLInline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.requireLoginURLInlineKeyboardButton(): LoginURLInlineKeyboardButton
Content copied to clipboard
require Media Collection Content
Link copied to clipboard
inline fun ResendableContent.requireMediaCollectionContent(): MediaCollectionContent<TelegramMediaFile>
Content copied to clipboard
require Media Content
Link copied to clipboard
require Media Group Content
Link copied to clipboard
inline fun ResendableContent.requireMediaGroupContent(): MediaGroupContent
Content copied to clipboard
require Media Group Member Input Media
Link copied to clipboard
inline fun InputMedia.requireMediaGroupMemberInputMedia(): MediaGroupMemberInputMedia
Content copied to clipboard
require Media Group Message
Link copied to clipboard
inline fun Message.requireMediaGroupMessage(): MediaGroupMessage<MediaGroupContent>
Content copied to clipboard
require Media Group Update
Link copied to clipboard
require Member Chat Member
Link copied to clipboard
require Mention Text Source
Link copied to clipboard
require Message Auto Delete Timer Changed
Link copied to clipboard
inline fun ChatEvent.requireMessageAutoDeleteTimerChanged(): MessageAutoDeleteTimerChanged
Content copied to clipboard
require Message Callback Query
Link copied to clipboard
inline fun CallbackQuery.requireMessageCallbackQuery(): MessageCallbackQuery
Content copied to clipboard
require Message Content
Link copied to clipboard
require Message Data Callback Query
Link copied to clipboard
inline fun CallbackQuery.requireMessageDataCallbackQuery(): MessageDataCallbackQuery
Content copied to clipboard
require Message Game Short Name Callback Query
Link copied to clipboard
inline fun CallbackQuery.requireMessageGameShortNameCallbackQuery(): MessageGameShortNameCallbackQuery
Content copied to clipboard
require Message Media Group Update
Link copied to clipboard
inline fun Update.requireMessageMediaGroupUpdate(): MessageMediaGroupUpdate
Content copied to clipboard
require Message Update
Link copied to clipboard
require Mimed Media File
Link copied to clipboard
require Multilevel Text Source
Link copied to clipboard
inline fun TextSource.requireMultilevelTextSource(): MultilevelTextSource
Content copied to clipboard
require Multiple Answers Poll
Link copied to clipboard
require My Chat Member Updated Update
Link copied to clipboard
inline fun Update.requireMyChatMemberUpdatedUpdate(): MyChatMemberUpdatedUpdate
Content copied to clipboard
require New Chat Members
Link copied to clipboard
require New Chat Photo
Link copied to clipboard
require New Chat Title
Link copied to clipboard
require Optionally Titled Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.requireOptionallyTitledInlineQueryResult(): OptionallyTitledInlineQueryResult
Content copied to clipboard
require Other Documents Secure Value
Link copied to clipboard
inline fun SecureValue.requireOtherDocumentsSecureValue(): OtherDocumentsSecureValue
Content copied to clipboard
require Passport
Link copied to clipboard
require Passport Element Error Data Field
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorDataField(): PassportElementErrorDataField
Content copied to clipboard
require Passport Element Error File
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorFile(): PassportElementErrorFile
Content copied to clipboard
require Passport Element Error Files
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorFiles(): PassportElementErrorFiles
Content copied to clipboard
require Passport Element Error Front Side
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorFrontSide(): PassportElementErrorFrontSide
Content copied to clipboard
require Passport Element Error Reverse Side
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorReverseSide(): PassportElementErrorReverseSide
Content copied to clipboard
require Passport Element Error Selfie
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorSelfie(): PassportElementErrorSelfie
Content copied to clipboard
require Passport Element Error Translation File
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorTranslationFile(): PassportElementErrorTranslationFile
Content copied to clipboard
require Passport Element Error Translation Files
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorTranslationFiles(): PassportElementErrorTranslationFiles
Content copied to clipboard
require Passport Element Error Unspecified
Link copied to clipboard
inline fun PassportElementError.requirePassportElementErrorUnspecified(): PassportElementErrorUnspecified
Content copied to clipboard
require Passport Element File Error
Link copied to clipboard
inline fun PassportElementError.requirePassportElementFileError(): PassportElementFileError
Content copied to clipboard
require Passport Element Files Error
Link copied to clipboard
inline fun PassportElementError.requirePassportElementFilesError(): PassportElementFilesError
Content copied to clipboard
require Passport Message
Link copied to clipboard
require Passport Multiple Elements Error
Link copied to clipboard
inline fun PassportElementError.requirePassportMultipleElementsError(): PassportMultipleElementsError
Content copied to clipboard
require Passport Registration
Link copied to clipboard
inline fun EncryptedPassportElement.requirePassportRegistration(): PassportRegistration
Content copied to clipboard
require Passport Registration Secure Value
Link copied to clipboard
inline fun SecureValue.requirePassportRegistrationSecureValue(): PassportRegistrationSecureValue
Content copied to clipboard
require Passport Secure Value
Link copied to clipboard
require Passport Single Element Error
Link copied to clipboard
inline fun PassportElementError.requirePassportSingleElementError(): PassportSingleElementError
Content copied to clipboard
require Pathed File
Link copied to clipboard
require Pay Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.requirePayInlineKeyboardButton(): PayInlineKeyboardButton
Content copied to clipboard
require Personal Details Secure Value
Link copied to clipboard
inline fun SecureValue.requirePersonalDetailsSecureValue(): PersonalDetailsSecureValue
Content copied to clipboard
require Phone Number
Link copied to clipboard
require Phone Number Text Source
Link copied to clipboard
inline fun TextSource.requirePhoneNumberTextSource(): PhoneNumberTextSource
Content copied to clipboard
require Photo Content
Link copied to clipboard
require Photo Size
Link copied to clipboard
require Pinned Message
Link copied to clipboard
require Playable Media File
Link copied to clipboard
inline fun TelegramMediaFile.requirePlayableMediaFile(): PlayableMediaFile
Content copied to clipboard
require Poll Answer Update
Link copied to clipboard
require Poll Content
Link copied to clipboard
require Poll Update
Link copied to clipboard
require Possibly Edited Message
Link copied to clipboard
require Possibly Forwarded Message
Link copied to clipboard
inline fun Message.requirePossiblyForwardedMessage(): PossiblyForwardedMessage
Content copied to clipboard
require Possibly Payment Message
Link copied to clipboard
inline fun Message.requirePossiblyPaymentMessage(): PossiblyPaymentMessage
Content copied to clipboard
require Possibly Reply Message
Link copied to clipboard
require Possibly Sent Via Bot Common Message
Link copied to clipboard
inline fun Message.requirePossiblySentViaBotCommonMessage(): PossiblySentViaBotCommonMessage<MessageContent>
Content copied to clipboard
require Pre Checkout Query Update
Link copied to clipboard
inline fun Update.requirePreCheckoutQueryUpdate(): PreCheckoutQueryUpdate
Content copied to clipboard
require Pre Text Source
Link copied to clipboard
require Private Chat
Link copied to clipboard
require Private Content Message
Link copied to clipboard
inline fun Message.requirePrivateContentMessage(): PrivateContentMessage<MessageContent>
Content copied to clipboard
require Private Content Message Impl
Link copied to clipboard
inline fun Message.requirePrivateContentMessageImpl(): PrivateContentMessageImpl<MessageContent>
Content copied to clipboard
require Private Event Message
Link copied to clipboard
inline fun Message.requirePrivateEventMessage(): PrivateEventMessage<PrivateEvent>
Content copied to clipboard
require Proximity Alert Triggered
Link copied to clipboard
inline fun ChatEvent.requireProximityAlertTriggered(): ProximityAlertTriggered
Content copied to clipboard
require Public Chat
Link copied to clipboard
require Public Chat Event
Link copied to clipboard
require Public Content Message
Link copied to clipboard
inline fun Message.requirePublicContentMessage(): PublicContentMessage<MessageContent>
Content copied to clipboard
require Quiz Poll
Link copied to clipboard
require Record Video Action
Link copied to clipboard
require Record Video Note Action
Link copied to clipboard
inline fun BotAction.requireRecordVideoNoteAction(): RecordVideoNoteAction
Content copied to clipboard
require Record Voice Action
Link copied to clipboard
require Regular Poll
Link copied to clipboard
require Regular Text Source
Link copied to clipboard
require Rental Agreement
Link copied to clipboard
inline fun EncryptedPassportElement.requireRentalAgreement(): RentalAgreement
Content copied to clipboard
require Rental Agreement Secure Value
Link copied to clipboard
inline fun SecureValue.requireRentalAgreementSecureValue(): RentalAgreementSecureValue
Content copied to clipboard
require Reply Keyboard Markup
Link copied to clipboard
inline fun KeyboardMarkup.requireReplyKeyboardMarkup(): ReplyKeyboardMarkup
Content copied to clipboard
require Reply Keyboard Remove
Link copied to clipboard
inline fun KeyboardMarkup.requireReplyKeyboardRemove(): ReplyKeyboardRemove
Content copied to clipboard
require Restricted Chat Member
Link copied to clipboard
inline fun ChatMember.requireRestrictedChatMember(): RestrictedChatMember
Content copied to clipboard
require Secure Value Identity
Link copied to clipboard
require Secure Value With Data
Link copied to clipboard
require Secure Value With Files
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithFiles(): SecureValueWithFiles
Content copied to clipboard
require Secure Value With Reverse Side
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithReverseSide(): SecureValueWithReverseSide
Content copied to clipboard
require Secure Value With Translations
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithTranslations(): SecureValueWithTranslations
Content copied to clipboard
require Sent Media Group Update
Link copied to clipboard
require Shipping Query Update
Link copied to clipboard
require Signed Message
Link copied to clipboard
require Sized Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.requireSizedInlineQueryResult(): SizedInlineQueryResult
Content copied to clipboard
require Sized Input Media
Link copied to clipboard
require Sized Media File
Link copied to clipboard
require Slot Machine Dice Animation Type
Link copied to clipboard
inline fun DiceAnimationType.requireSlotMachineDiceAnimationType(): SlotMachineDiceAnimationType
Content copied to clipboard
require Special Rights Chat Member
Link copied to clipboard
inline fun ChatMember.requireSpecialRightsChatMember(): SpecialRightsChatMember
Content copied to clipboard
require Static Location
Link copied to clipboard
require Static Location Content
Link copied to clipboard
inline fun ResendableContent.requireStaticLocationContent(): StaticLocationContent
Content copied to clipboard
require Sticker
Link copied to clipboard
require Sticker Content
Link copied to clipboard
require Strikethrough Text Source
Link copied to clipboard
inline fun TextSource.requireStrikethroughTextSource(): StrikethroughTextSource
Content copied to clipboard
require Supergroup Chat
Link copied to clipboard
require Supergroup Chat Created
Link copied to clipboard
inline fun ChatEvent.requireSupergroupChatCreated(): SupergroupChatCreated
Content copied to clipboard
require Supergroup Event
Link copied to clipboard
require Supergroup Event Message
Link copied to clipboard
inline fun Message.requireSupergroupEventMessage(): SupergroupEventMessage<SupergroupEvent>
Content copied to clipboard
require Super Public Chat
Link copied to clipboard
require Switch Inline Query Current Chat Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.requireSwitchInlineQueryCurrentChatInlineKeyboardButton(): SwitchInlineQueryCurrentChatInlineKeyboardButton
Content copied to clipboard
require Switch Inline Query Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.requireSwitchInlineQueryInlineKeyboardButton(): SwitchInlineQueryInlineKeyboardButton
Content copied to clipboard
require Temporal Registration Secure Value
Link copied to clipboard
inline fun SecureValue.requireTemporalRegistrationSecureValue(): TemporalRegistrationSecureValue
Content copied to clipboard
require Temporary Registration
Link copied to clipboard
inline fun EncryptedPassportElement.requireTemporaryRegistration(): TemporaryRegistration
Content copied to clipboard
require Text Content
Link copied to clipboard
require Text Link Text Source
Link copied to clipboard
require Text Mention Text Source
Link copied to clipboard
inline fun TextSource.requireTextMentionTextSource(): TextMentionTextSource
Content copied to clipboard
require Thumbed Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.requireThumbedInlineQueryResult(): ThumbedInlineQueryResult
Content copied to clipboard
require Thumbed Input Media
Link copied to clipboard
require Thumbed Media File
Link copied to clipboard
require Thumbed With Mime Type Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.requireThumbedWithMimeTypeInlineQueryResult(): ThumbedWithMimeTypeInlineQueryResult
Content copied to clipboard
require Thumb Sized Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.requireThumbSizedInlineQueryResult(): ThumbSizedInlineQueryResult
Content copied to clipboard
require Titled Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.requireTitledInlineQueryResult(): TitledInlineQueryResult
Content copied to clipboard
require Titled Input Media
Link copied to clipboard
require Typing Action
Link copied to clipboard
require Underline Text Source
Link copied to clipboard
require Unknown Callback Query Type
Link copied to clipboard
inline fun CallbackQuery.requireUnknownCallbackQueryType(): UnknownCallbackQueryType
Content copied to clipboard
require Unknown Chat Type
Link copied to clipboard
require Unknown Encrypted Passport Element
Link copied to clipboard
inline fun EncryptedPassportElement.requireUnknownEncryptedPassportElement(): UnknownEncryptedPassportElement
Content copied to clipboard
require Unknown Inline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.requireUnknownInlineKeyboardButton(): UnknownInlineKeyboardButton
Content copied to clipboard
require Unknown Message Type
Link copied to clipboard
require Unknown Passport Element Error
Link copied to clipboard
inline fun PassportElementError.requireUnknownPassportElementError(): UnknownPassportElementError
Content copied to clipboard
require Unknown Poll Type
Link copied to clipboard
require Unknown Update
Link copied to clipboard
require Upload Document Action
Link copied to clipboard
require Upload Photo Action
Link copied to clipboard
require Upload Video Action
Link copied to clipboard
require Upload Video Note Action
Link copied to clipboard
inline fun BotAction.requireUploadVideoNoteAction(): UploadVideoNoteAction
Content copied to clipboard
require Upload Voice Action
Link copied to clipboard
require URLInline Keyboard Button
Link copied to clipboard
inline fun InlineKeyboardButton.requireURLInlineKeyboardButton(): URLInlineKeyboardButton
Content copied to clipboard
require Url Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.requireUrlInlineQueryResult(): UrlInlineQueryResult
Content copied to clipboard
require URLText Source
Link copied to clipboard
require User
Link copied to clipboard
require Username Chat
Link copied to clipboard
require Utility Bill
Link copied to clipboard
require Utility Bill Secure Value
Link copied to clipboard
inline fun SecureValue.requireUtilityBillSecureValue(): UtilityBillSecureValue
Content copied to clipboard
require Venue Content
Link copied to clipboard
require Video Content
Link copied to clipboard
require Video File
Link copied to clipboard
require Video Note Content
Link copied to clipboard
require Video Note File
Link copied to clipboard
require Visual Media Group Content
Link copied to clipboard
inline fun ResendableContent.requireVisualMediaGroupContent(): VisualMediaGroupContent
Content copied to clipboard
require Visual Media Group Member Input Media
Link copied to clipboard
inline fun InputMedia.requireVisualMediaGroupMemberInputMedia(): VisualMediaGroupMemberInputMedia
Content copied to clipboard
require Voice Chat Ended
Link copied to clipboard
require Voice Chat Event
Link copied to clipboard
require Voice Chat Participants Invited
Link copied to clipboard
inline fun CommonSendInvoiceData.requireVoiceChatParticipantsInvited(): SendInvoice
Content copied to clipboard
inline fun ChatEvent.requireVoiceChatParticipantsInvited(): VoiceChatParticipantsInvited
Content copied to clipboard
require Voice Chat Started
Link copied to clipboard
require Voice Content
Link copied to clipboard
require Voice File
Link copied to clipboard
require With Content
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
require With Input Message Content Inline Query Result
Link copied to clipboard
inline fun InlineQueryResult.requireWithInputMessageContentInlineQueryResult(): WithInputMessageContentInlineQueryResult
Content copied to clipboard
require With Optional Language Code
Link copied to clipboard
inline fun Any.requireWithOptionalLanguageCode(): WithOptionalLanguageCode
Content copied to clipboard
require With User
Link copied to clipboard
when Address Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenAddressSecureValue(block: (AddressSecureValue) -> T): T?
Content copied to clipboard
when Administrator Chat Member
Link copied to clipboard
inline fun <T> ChatMember.whenAdministratorChatMember(block: (AdministratorChatMember) -> T): T?
Content copied to clipboard
when Animation Content
Link copied to clipboard
inline fun <T> ResendableContent.whenAnimationContent(block: (AnimationContent) -> T): T?
Content copied to clipboard
when Animation File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenAnimationFile(block: (AnimationFile) -> T): T?
Content copied to clipboard
when Anonymous Group Content Message
Link copied to clipboard
inline fun <T> Message.whenAnonymousGroupContentMessage(block: (AnonymousGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
when Anonymous Group Content Message Impl
Link copied to clipboard
inline fun <T> Message.whenAnonymousGroupContentMessageImpl(block: (AnonymousGroupContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
when Audio Content
Link copied to clipboard
inline fun <T> ResendableContent.whenAudioContent(block: (AudioContent) -> T): T?
Content copied to clipboard
when Audio File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenAudioFile(block: (AudioFile) -> T): T?
Content copied to clipboard
when Audio Media Group Content
Link copied to clipboard
inline fun <T> ResendableContent.whenAudioMediaGroupContent(block: (AudioMediaGroupContent) -> T): T?
Content copied to clipboard
when Audio Media Group Member Input Media
Link copied to clipboard
inline fun <T> InputMedia.whenAudioMediaGroupMemberInputMedia(block: (AudioMediaGroupMemberInputMedia) -> T): T?
Content copied to clipboard
when Bank Statement
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenBankStatement(block: (BankStatement) -> T): T?
Content copied to clipboard
when Bank Statement Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenBankStatementSecureValue(block: (BankStatementSecureValue) -> T): T?
Content copied to clipboard
when Banned Chat Member
Link copied to clipboard
inline fun <T> ChatMember.whenBannedChatMember(block: (BannedChatMember) -> T): T?
Content copied to clipboard
when Base Edit Message Update
Link copied to clipboard
inline fun <T> Update.whenBaseEditMessageUpdate(block: (BaseEditMessageUpdate) -> T): T?
Content copied to clipboard
when Base Inline Query
Link copied to clipboard
inline fun <T> InlineQuery.whenBaseInlineQuery(block: (BaseInlineQuery) -> T): T?
Content copied to clipboard
when Base Message Update
Link copied to clipboard
inline fun <T> Update.whenBaseMessageUpdate(block: (BaseMessageUpdate) -> T): T?
Content copied to clipboard
when Base Sent Message Update
Link copied to clipboard
inline fun <T> Update.whenBaseSentMessageUpdate(block: (BaseSentMessageUpdate) -> T): T?
Content copied to clipboard
when Basketball Dice Animation Type
Link copied to clipboard
inline fun <T> DiceAnimationType.whenBasketballDiceAnimationType(block: (BasketballDiceAnimationType) -> T): T?
Content copied to clipboard
when Bold Text Source
Link copied to clipboard
inline fun <T> TextSource.whenBoldTextSource(block: (BoldTextSource) -> T): T?
Content copied to clipboard
when Bot Command Text Source
Link copied to clipboard
inline fun <T> TextSource.whenBotCommandTextSource(block: (BotCommandTextSource) -> T): T?
Content copied to clipboard
when Bowling Dice Animation Type
Link copied to clipboard
inline fun <T> DiceAnimationType.whenBowlingDiceAnimationType(block: (BowlingDiceAnimationType) -> T): T?
Content copied to clipboard
when Callback Data Inline Keyboard Button
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenCallbackDataInlineKeyboardButton(block: (CallbackDataInlineKeyboardButton) -> T): T?
Content copied to clipboard
when Callback Game Inline Keyboard Button
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenCallbackGameInlineKeyboardButton(block: (CallbackGameInlineKeyboardButton) -> T): T?
Content copied to clipboard
when Callback Query Update
Link copied to clipboard
inline fun <T> Update.whenCallbackQueryUpdate(block: (CallbackQueryUpdate) -> T): T?
Content copied to clipboard
when Cash Tag Text Source
Link copied to clipboard
inline fun <T> TextSource.whenCashTagTextSource(block: (CashTagTextSource) -> T): T?
Content copied to clipboard
when Channel Chat
Link copied to clipboard
when Channel Chat Created
Link copied to clipboard
inline fun <T> ChatEvent.whenChannelChatCreated(block: (ChannelChatCreated) -> T): T?
Content copied to clipboard
when Channel Content Message
Link copied to clipboard
inline fun <T> Message.whenChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
when Channel Content Message Impl
Link copied to clipboard
inline fun <T> Message.whenChannelContentMessageImpl(block: (ChannelContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
when Channel Event
Link copied to clipboard
inline fun <T> ChatEvent.whenChannelEvent(block: (ChannelEvent) -> T): T?
Content copied to clipboard
when Channel Event Message
Link copied to clipboard
inline fun <T> Message.whenChannelEventMessage(block: (ChannelEventMessage<ChannelEvent>) -> T): T?
Content copied to clipboard
when Channel Media Group Message
Link copied to clipboard
inline fun <T> Message.whenChannelMediaGroupMessage(block: (ChannelMediaGroupMessage<MediaGroupContent>) -> T): T?
Content copied to clipboard
when Channel Post Media Group Update
Link copied to clipboard
inline fun <T> Update.whenChannelPostMediaGroupUpdate(block: (ChannelPostMediaGroupUpdate) -> T): T?
Content copied to clipboard
when Channel Post Update
Link copied to clipboard
inline fun <T> Update.whenChannelPostUpdate(block: (ChannelPostUpdate) -> T): T?
Content copied to clipboard
when Chat Event Message
Link copied to clipboard
inline fun <T> Message.whenChatEventMessage(block: (ChatEventMessage<ChatEvent>) -> T): T?
Content copied to clipboard
when Chat Member Updated Update
Link copied to clipboard
inline fun <T> Update.whenChatMemberUpdatedUpdate(block: (ChatMemberUpdatedUpdate) -> T): T?
Content copied to clipboard
when Chosen Inline Result Update
Link copied to clipboard
inline fun <T> Update.whenChosenInlineResultUpdate(block: (ChosenInlineResultUpdate) -> T): T?
Content copied to clipboard
when Code Text Source
Link copied to clipboard
inline fun <T> TextSource.whenCodeTextSource(block: (CodeTextSource) -> T): T?
Content copied to clipboard
when Common Bot
Link copied to clipboard
when Common Chat Member Updated Update
Link copied to clipboard
inline fun <T> Update.whenCommonChatMemberUpdatedUpdate(block: (CommonChatMemberUpdatedUpdate) -> T): T?
Content copied to clipboard
when Common Event
Link copied to clipboard
when Common Group Content Message
Link copied to clipboard
inline fun <T> Message.whenCommonGroupContentMessage(block: (CommonGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
when Common Group Event Message
Link copied to clipboard
inline fun <T> Message.whenCommonGroupEventMessage(block: (CommonGroupEventMessage<GroupEvent>) -> T): T?
Content copied to clipboard
when Common Media Group Message
Link copied to clipboard
inline fun <T> Message.whenCommonMediaGroupMessage(block: (CommonMediaGroupMessage<MediaGroupContent>) -> T): T?
Content copied to clipboard
when Common Message
Link copied to clipboard
inline fun <T> Message.whenCommonMessage(block: (CommonMessage<MessageContent>) -> T): T?
Content copied to clipboard
when Common Passport
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenCommonPassport(block: (CommonPassport) -> T): T?
Content copied to clipboard
when Common Passport Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenCommonPassportSecureValue(block: (CommonPassportSecureValue) -> T): T?
Content copied to clipboard
when Common Supergroup Event Message
Link copied to clipboard
inline fun <T> Message.whenCommonSupergroupEventMessage(block: (CommonSupergroupEventMessage<SupergroupEvent>) -> T): T?
Content copied to clipboard
when Common User
Link copied to clipboard
when Contact Content
Link copied to clipboard
inline fun <T> ResendableContent.whenContactContent(block: (ContactContent) -> T): T?
Content copied to clipboard
when Content Message
Link copied to clipboard
inline fun <T> Message.whenContentMessage(block: (ContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
when Creator Chat Member
Link copied to clipboard
inline fun <T> ChatMember.whenCreatorChatMember(block: (CreatorChatMember) -> T): T?
Content copied to clipboard
when Cube Dice Animation Type
Link copied to clipboard
inline fun <T> DiceAnimationType.whenCubeDiceAnimationType(block: (CubeDiceAnimationType) -> T): T?
Content copied to clipboard
when Custom Dice Animation Type
Link copied to clipboard
inline fun <T> DiceAnimationType.whenCustomDiceAnimationType(block: (CustomDiceAnimationType) -> T): T?
Content copied to clipboard
when Darts Dice Animation Type
Link copied to clipboard
inline fun <T> DiceAnimationType.whenDartsDiceAnimationType(block: (DartsDiceAnimationType) -> T): T?
Content copied to clipboard
when Data Callback Query
Link copied to clipboard
inline fun <T> CallbackQuery.whenDataCallbackQuery(block: (DataCallbackQuery) -> T): T?
Content copied to clipboard
when Delete Chat Photo
Link copied to clipboard
inline fun <T> ChatEvent.whenDeleteChatPhoto(block: (DeleteChatPhoto) -> T): T?
Content copied to clipboard
when Described Inline Query Result
Link copied to clipboard
inline fun <T> InlineQueryResult.whenDescribedInlineQueryResult(block: (DescribedInlineQueryResult) -> T): T?
Content copied to clipboard
when Dice Content
Link copied to clipboard
inline fun <T> ResendableContent.whenDiceContent(block: (DiceContent) -> T): T?
Content copied to clipboard
when Document Content
Link copied to clipboard
inline fun <T> ResendableContent.whenDocumentContent(block: (DocumentContent) -> T): T?
Content copied to clipboard
when Document File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenDocumentFile(block: (DocumentFile) -> T): T?
Content copied to clipboard
when Document Media Group Content
Link copied to clipboard
inline fun <T> ResendableContent.whenDocumentMediaGroupContent(block: (DocumentMediaGroupContent) -> T): T?
Content copied to clipboard
when Document Media Group Member Input Media
Link copied to clipboard
inline fun <T> InputMedia.whenDocumentMediaGroupMemberInputMedia(block: (DocumentMediaGroupMemberInputMedia) -> T): T?
Content copied to clipboard
when Driver License
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenDriverLicense(block: (DriverLicense) -> T): T?
Content copied to clipboard
when Driver License Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenDriverLicenseSecureValue(block: (DriverLicenseSecureValue) -> T): T?
Content copied to clipboard
when Durated Input Media
Link copied to clipboard
inline fun <T> InputMedia.whenDuratedInputMedia(block: (DuratedInputMedia) -> T): T?
Content copied to clipboard
when Edit Channel Post Media Group Update
Link copied to clipboard
inline fun <T> Update.whenEditChannelPostMediaGroupUpdate(block: (EditChannelPostMediaGroupUpdate) -> T): T?
Content copied to clipboard
when Edit Channel Post Update
Link copied to clipboard
inline fun <T> Update.whenEditChannelPostUpdate(block: (EditChannelPostUpdate) -> T): T?
Content copied to clipboard
when Edit Media Group Update
Link copied to clipboard
inline fun <T> Update.whenEditMediaGroupUpdate(block: (EditMediaGroupUpdate) -> T): T?
Content copied to clipboard
when Edit Message Media Group Update
Link copied to clipboard
inline fun <T> Update.whenEditMessageMediaGroupUpdate(block: (EditMessageMediaGroupUpdate) -> T): T?
Content copied to clipboard
when Edit Message Update
Link copied to clipboard
inline fun <T> Update.whenEditMessageUpdate(block: (EditMessageUpdate) -> T): T?
Content copied to clipboard
when EMail Text Source
Link copied to clipboard
inline fun <T> TextSource.whenEMailTextSource(block: (EMailTextSource) -> T): T?
Content copied to clipboard
when Encrypted Address
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedAddress(block: (EncryptedAddress) -> T): T?
Content copied to clipboard
when Encrypted Passport Element Translatable
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementTranslatable(block: (EncryptedPassportElementTranslatable) -> T): T?
Content copied to clipboard
when Encrypted Passport Element With Data
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithData(block: (EncryptedPassportElementWithData) -> T): T?
Content copied to clipboard
when Encrypted Passport Element With Email
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithEmail(block: (EncryptedPassportElementWithEmail) -> T): T?
Content copied to clipboard
when Encrypted Passport Element With Files Collection
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithFilesCollection(block: (EncryptedPassportElementWithFilesCollection) -> T): T?
Content copied to clipboard
when Encrypted Passport Element With Front Side
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithFrontSide(block: (EncryptedPassportElementWithFrontSide) -> T): T?
Content copied to clipboard
when Encrypted Passport Element With Phone Number
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithPhoneNumber(block: (EncryptedPassportElementWithPhoneNumber) -> T): T?
Content copied to clipboard
when Encrypted Passport Element With Reverse Side
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithReverseSide(block: (EncryptedPassportElementWithReverseSide) -> T): T?
Content copied to clipboard
when Encrypted Passport Element With Selfie
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithSelfie(block: (EncryptedPassportElementWithSelfie) -> T): T?
Content copied to clipboard
when Encrypted Passport Element With Translatable Files Collection
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithTranslatableFilesCollection(block: (EncryptedPassportElementWithTranslatableFilesCollection) -> T): T?
Content copied to clipboard
when Encrypted Passport Element With Translatable IDDocument
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPassportElementWithTranslatableIDDocument(block: (EncryptedPassportElementWithTranslatableIDDocument) -> T): T?
Content copied to clipboard
when Encrypted Personal Details
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPersonalDetails(block: (EncryptedPersonalDetails) -> T): T?
Content copied to clipboard
when Extended Bot
Link copied to clipboard
when Extended Channel Chat
Link copied to clipboard
inline fun <T> Chat.whenExtendedChannelChat(block: (ExtendedChannelChat) -> T): T?
Content copied to clipboard
when Extended Chat
Link copied to clipboard
when Extended Group Chat
Link copied to clipboard
inline fun <T> Chat.whenExtendedGroupChat(block: (ExtendedGroupChat) -> T): T?
Content copied to clipboard
when Extended Private Chat
Link copied to clipboard
inline fun <T> Chat.whenExtendedPrivateChat(block: (ExtendedPrivateChat) -> T): T?
Content copied to clipboard
when Extended Public Chat
Link copied to clipboard
inline fun <T> Chat.whenExtendedPublicChat(block: (ExtendedPublicChat) -> T): T?
Content copied to clipboard
when Extended Supergroup Chat
Link copied to clipboard
inline fun <T> Chat.whenExtendedSupergroupChat(block: (ExtendedSupergroupChat) -> T): T?
Content copied to clipboard
when File Inline Query Result
Link copied to clipboard
inline fun <T> InlineQueryResult.whenFileInlineQueryResult(block: (FileInlineQueryResult) -> T): T?
Content copied to clipboard
when Find Location Action
Link copied to clipboard
inline fun <T> BotAction.whenFindLocationAction(block: (FindLocationAction) -> T): T?
Content copied to clipboard
when Football Dice Animation Type
Link copied to clipboard
inline fun <T> DiceAnimationType.whenFootballDiceAnimationType(block: (FootballDiceAnimationType) -> T): T?
Content copied to clipboard
when Force Reply
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenForceReply(block: (ReplyForce) -> T): T?
Content copied to clipboard
when From Channel Group Content Message
Link copied to clipboard
inline fun <T> Message.whenFromChannelGroupContentMessage(block: (FromChannelGroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
when From Channel Group Content Message Impl
Link copied to clipboard
inline fun <T> Message.whenFromChannelGroupContentMessageImpl(block: (FromChannelGroupContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
when From User
Link copied to clipboard
when From User Message
Link copied to clipboard
inline fun <T> Message.whenFromUserMessage(block: (FromUserMessage) -> T): T?
Content copied to clipboard
when Game Content
Link copied to clipboard
inline fun <T> ResendableContent.whenGameContent(block: (GameContent) -> T): T?
Content copied to clipboard
when Game Short Name Callback Query
Link copied to clipboard
inline fun <T> CallbackQuery.whenGameShortNameCallbackQuery(block: (GameShortNameCallbackQuery) -> T): T?
Content copied to clipboard
when Group Chat
Link copied to clipboard
when Group Chat Created
Link copied to clipboard
inline fun <T> ChatEvent.whenGroupChatCreated(block: (GroupChatCreated) -> T): T?
Content copied to clipboard
when Group Content Message
Link copied to clipboard
inline fun <T> Message.whenGroupContentMessage(block: (GroupContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
when Group Event
Link copied to clipboard
when Group Event Message
Link copied to clipboard
inline fun <T> Message.whenGroupEventMessage(block: (GroupEventMessage<GroupEvent>) -> T): T?
Content copied to clipboard
when Hash Tag Text Source
Link copied to clipboard
inline fun <T> TextSource.whenHashTagTextSource(block: (HashTagTextSource) -> T): T?
Content copied to clipboard
when Identity Card
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenIdentityCard(block: (IdentityCard) -> T): T?
Content copied to clipboard
when Identity Card Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenIdentityCardSecureValue(block: (IdentityCardSecureValue) -> T): T?
Content copied to clipboard
when Identity With Reverse Side Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenIdentityWithReverseSideSecureValue(block: (IdentityWithReverseSideSecureValue) -> T): T?
Content copied to clipboard
when Inline Keyboard Markup
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenInlineKeyboardMarkup(block: (InlineKeyboardMarkup) -> T): T?
Content copied to clipboard
when Inline Message Id Callback Query
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdCallbackQuery(block: (InlineMessageIdCallbackQuery) -> T): T?
Content copied to clipboard
when Inline Message Id Data Callback Query
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdDataCallbackQuery(block: (InlineMessageIdDataCallbackQuery) -> T): T?
Content copied to clipboard
when Inline Message Id Game Short Name Callback Query
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdGameShortNameCallbackQuery(block: (InlineMessageIdGameShortNameCallbackQuery) -> T): T?
Content copied to clipboard
when Inline Query Result Article
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultArticle(block: (InlineQueryResultArticle) -> T): T?
Content copied to clipboard
when Inline Query Result Audio
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudio(block: (InlineQueryResultAudio) -> T): T?
Content copied to clipboard
when Inline Query Result Audio Cached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudioCached(block: (InlineQueryResultAudioCached) -> T): T?
Content copied to clipboard
when Inline Query Result Audio Common
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudioCommon(block: (InlineQueryResultAudioCommon) -> T): T?
Content copied to clipboard
when Inline Query Result Contact
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultContact(block: (InlineQueryResultContact) -> T): T?
Content copied to clipboard
when Inline Query Result Document
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocument(block: (InlineQueryResultDocument) -> T): T?
Content copied to clipboard
when Inline Query Result Document Cached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocumentCached(block: (InlineQueryResultDocumentCached) -> T): T?
Content copied to clipboard
when Inline Query Result Document Common
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocumentCommon(block: (InlineQueryResultDocumentCommon) -> T): T?
Content copied to clipboard
when Inline Query Result Game
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGame(block: (InlineQueryResultGame) -> T): T?
Content copied to clipboard
when Inline Query Result Gif
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGif(block: (InlineQueryResultGif) -> T): T?
Content copied to clipboard
when Inline Query Result Gif Cached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGifCached(block: (InlineQueryResultGifCached) -> T): T?
Content copied to clipboard
when Inline Query Result Gif Common
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGifCommon(block: (InlineQueryResultGifCommon) -> T): T?
Content copied to clipboard
when Inline Query Result Location
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultLocation(block: (InlineQueryResultLocation) -> T): T?
Content copied to clipboard
when Inline Query Result Mpeg4Gif
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4Gif(block: (InlineQueryResultMpeg4Gif) -> T): T?
Content copied to clipboard
when Inline Query Result Mpeg4Gif Cached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4GifCached(block: (InlineQueryResultMpeg4GifCached) -> T): T?
Content copied to clipboard
when Inline Query Result Mpeg4Gif Common
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4GifCommon(block: (InlineQueryResultMpeg4GifCommon) -> T): T?
Content copied to clipboard
when Inline Query Result Photo
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhoto(block: (InlineQueryResultPhoto) -> T): T?
Content copied to clipboard
when Inline Query Result Photo Cached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhotoCached(block: (InlineQueryResultPhotoCached) -> T): T?
Content copied to clipboard
when Inline Query Result Photo Common
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhotoCommon(block: (InlineQueryResultPhotoCommon) -> T): T?
Content copied to clipboard
when Inline Query Result Sticker Cached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultStickerCached(block: (InlineQueryResultStickerCached) -> T): T?
Content copied to clipboard
when Inline Query Result Venue
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVenue(block: (InlineQueryResultVenue) -> T): T?
Content copied to clipboard
when Inline Query Result Video
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideo(block: (InlineQueryResultVideo) -> T): T?
Content copied to clipboard
when Inline Query Result Video Cached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideoCached(block: (InlineQueryResultVideoCached) -> T): T?
Content copied to clipboard
when Inline Query Result Video Common
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideoCommon(block: (InlineQueryResultVideoCommon) -> T): T?
Content copied to clipboard
when Inline Query Result Voice
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoice(block: (InlineQueryResultVoice) -> T): T?
Content copied to clipboard
when Inline Query Result Voice Cached
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoiceCached(block: (InlineQueryResultVoiceCached) -> T): T?
Content copied to clipboard
when Inline Query Result Voice Common
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoiceCommon(block: (InlineQueryResultVoiceCommon) -> T): T?
Content copied to clipboard
when Inline Query Update
Link copied to clipboard
inline fun <T> Update.whenInlineQueryUpdate(block: (InlineQueryUpdate) -> T): T?
Content copied to clipboard
when Input Contact Message Content
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputContactMessageContent(block: (InputContactMessageContent) -> T): T?
Content copied to clipboard
when Input Invoice Message Content
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
when Input Location Message Content
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputLocationMessageContent(block: (InputLocationMessageContent) -> T): T?
Content copied to clipboard
when Input Media Animation
Link copied to clipboard
inline fun <T> InputMedia.whenInputMediaAnimation(block: (InputMediaAnimation) -> T): T?
Content copied to clipboard
when Input Media Audio
Link copied to clipboard
inline fun <T> InputMedia.whenInputMediaAudio(block: (InputMediaAudio) -> T): T?
Content copied to clipboard
when Input Media Document
Link copied to clipboard
inline fun <T> InputMedia.whenInputMediaDocument(block: (InputMediaDocument) -> T): T?
Content copied to clipboard
when Input Media Photo
Link copied to clipboard
inline fun <T> InputMedia.whenInputMediaPhoto(block: (InputMediaPhoto) -> T): T?
Content copied to clipboard
when Input Media Video
Link copied to clipboard
inline fun <T> InputMedia.whenInputMediaVideo(block: (InputMediaVideo) -> T): T?
Content copied to clipboard
when Input Text Message Content
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputTextMessageContent(block: (InputTextMessageContent) -> T): T?
Content copied to clipboard
when Input Venue Message Content
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputVenueMessageContent(block: (InputVenueMessageContent) -> T): T?
Content copied to clipboard
when Internal Passport
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenInternalPassport(block: (InternalPassport) -> T): T?
Content copied to clipboard
when Internal Passport Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenInternalPassportSecureValue(block: (InternalPassportSecureValue) -> T): T?
Content copied to clipboard
when Invoice Content
Link copied to clipboard
inline fun <T> ResendableContent.whenInvoiceContent(block: (InvoiceContent) -> T): T?
Content copied to clipboard
when Italic Text Source
Link copied to clipboard
inline fun <T> TextSource.whenItalicTextSource(block: (ItalicTextSource) -> T): T?
Content copied to clipboard
when Kicked Chat Member
Link copied to clipboard
inline fun <T> ChatMember.whenKickedChatMember(block: (KickedChatMember) -> T): T?
Content copied to clipboard
when Left Chat Member
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
when Live Location
Link copied to clipboard
when Live Location Content
Link copied to clipboard
inline fun <T> ResendableContent.whenLiveLocationContent(block: (LiveLocationContent) -> T): T?
Content copied to clipboard
when Location Content
Link copied to clipboard
inline fun <T> ResendableContent.whenLocationContent(block: (LocationContent) -> T): T?
Content copied to clipboard
when Location Inline Query
Link copied to clipboard
inline fun <T> InlineQuery.whenLocationInlineQuery(block: (LocationInlineQuery) -> T): T?
Content copied to clipboard
when Login URLInline Keyboard Button
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenLoginURLInlineKeyboardButton(block: (LoginURLInlineKeyboardButton) -> T): T?
Content copied to clipboard
when Media Collection Content
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaCollectionContent(block: (MediaCollectionContent<TelegramMediaFile>) -> T): T?
Content copied to clipboard
when Media Content
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaContent(block: (MediaContent) -> T): T?
Content copied to clipboard
when Media Group Content
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaGroupContent(block: (MediaGroupContent) -> T): T?
Content copied to clipboard
when Media Group Member Input Media
Link copied to clipboard
inline fun <T> InputMedia.whenMediaGroupMemberInputMedia(block: (MediaGroupMemberInputMedia) -> T): T?
Content copied to clipboard
when Media Group Message
Link copied to clipboard
inline fun <T> Message.whenMediaGroupMessage(block: (MediaGroupMessage<MediaGroupContent>) -> T): T?
Content copied to clipboard
when Media Group Update
Link copied to clipboard
inline fun <T> Update.whenMediaGroupUpdate(block: (MediaGroupUpdate) -> T): T?
Content copied to clipboard
when Member Chat Member
Link copied to clipboard
inline fun <T> ChatMember.whenMemberChatMember(block: (MemberChatMember) -> T): T?
Content copied to clipboard
when Mention Text Source
Link copied to clipboard
inline fun <T> TextSource.whenMentionTextSource(block: (MentionTextSource) -> T): T?
Content copied to clipboard
when Message Auto Delete Timer Changed
Link copied to clipboard
inline fun <T> ChatEvent.whenMessageAutoDeleteTimerChanged(block: (MessageAutoDeleteTimerChanged) -> T): T?
Content copied to clipboard
when Message Callback Query
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageCallbackQuery(block: (MessageCallbackQuery) -> T): T?
Content copied to clipboard
when Message Content
Link copied to clipboard
inline fun <T> ResendableContent.whenMessageContent(block: (MessageContent) -> T): T?
Content copied to clipboard
when Message Data Callback Query
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageDataCallbackQuery(block: (MessageDataCallbackQuery) -> T): T?
Content copied to clipboard
when Message Game Short Name Callback Query
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageGameShortNameCallbackQuery(block: (MessageGameShortNameCallbackQuery) -> T): T?
Content copied to clipboard
when Message Media Group Update
Link copied to clipboard
inline fun <T> Update.whenMessageMediaGroupUpdate(block: (MessageMediaGroupUpdate) -> T): T?
Content copied to clipboard
when Message Update
Link copied to clipboard
when Mimed Media File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenMimedMediaFile(block: (MimedMediaFile) -> T): T?
Content copied to clipboard
when Multilevel Text Source
Link copied to clipboard
inline fun <T> TextSource.whenMultilevelTextSource(block: (MultilevelTextSource) -> T): T?
Content copied to clipboard
when Multiple Answers Poll
Link copied to clipboard
inline fun <T> Poll.whenMultipleAnswersPoll(block: (MultipleAnswersPoll) -> T): T?
Content copied to clipboard
when My Chat Member Updated Update
Link copied to clipboard
inline fun <T> Update.whenMyChatMemberUpdatedUpdate(block: (MyChatMemberUpdatedUpdate) -> T): T?
Content copied to clipboard
when New Chat Members
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatMembers(block: (NewChatMembers) -> T): T?
Content copied to clipboard
when New Chat Photo
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatPhoto(block: (NewChatPhoto) -> T): T?
Content copied to clipboard
when New Chat Title
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatTitle(block: (NewChatTitle) -> T): T?
Content copied to clipboard
when Optionally Titled Inline Query Result
Link copied to clipboard
inline fun <T> InlineQueryResult.whenOptionallyTitledInlineQueryResult(block: (OptionallyTitledInlineQueryResult) -> T): T?
Content copied to clipboard
when Other Documents Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenOtherDocumentsSecureValue(block: (OtherDocumentsSecureValue) -> T): T?
Content copied to clipboard
when Passport
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPassport(block: (Passport) -> T): T?
Content copied to clipboard
when Passport Element Error Data Field
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorDataField(block: (PassportElementErrorDataField) -> T): T?
Content copied to clipboard
when Passport Element Error File
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFile(block: (PassportElementErrorFile) -> T): T?
Content copied to clipboard
when Passport Element Error Files
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFiles(block: (PassportElementErrorFiles) -> T): T?
Content copied to clipboard
when Passport Element Error Front Side
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFrontSide(block: (PassportElementErrorFrontSide) -> T): T?
Content copied to clipboard
when Passport Element Error Reverse Side
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorReverseSide(block: (PassportElementErrorReverseSide) -> T): T?
Content copied to clipboard
when Passport Element Error Selfie
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorSelfie(block: (PassportElementErrorSelfie) -> T): T?
Content copied to clipboard
when Passport Element Error Translation File
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorTranslationFile(block: (PassportElementErrorTranslationFile) -> T): T?
Content copied to clipboard
when Passport Element Error Translation Files
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorTranslationFiles(block: (PassportElementErrorTranslationFiles) -> T): T?
Content copied to clipboard
when Passport Element Error Unspecified
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorUnspecified(block: (PassportElementErrorUnspecified) -> T): T?
Content copied to clipboard
when Passport Element File Error
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementFileError(block: (PassportElementFileError) -> T): T?
Content copied to clipboard
when Passport Element Files Error
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementFilesError(block: (PassportElementFilesError) -> T): T?
Content copied to clipboard
when Passport Message
Link copied to clipboard
inline fun <T> Message.whenPassportMessage(block: (PassportMessage) -> T): T?
Content copied to clipboard
when Passport Multiple Elements Error
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportMultipleElementsError(block: (PassportMultipleElementsError) -> T): T?
Content copied to clipboard
when Passport Registration
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPassportRegistration(block: (PassportRegistration) -> T): T?
Content copied to clipboard
when Passport Registration Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenPassportRegistrationSecureValue(block: (PassportRegistrationSecureValue) -> T): T?
Content copied to clipboard
when Passport Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenPassportSecureValue(block: (PassportSecureValue) -> T): T?
Content copied to clipboard
when Passport Single Element Error
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportSingleElementError(block: (PassportSingleElementError) -> T): T?
Content copied to clipboard
when Pathed File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPathedFile(block: (PathedFile) -> T): T?
Content copied to clipboard
when Pay Inline Keyboard Button
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenPayInlineKeyboardButton(block: (PayInlineKeyboardButton) -> T): T?
Content copied to clipboard
when Personal Details Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenPersonalDetailsSecureValue(block: (PersonalDetailsSecureValue) -> T): T?
Content copied to clipboard
when Phone Number
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPhoneNumber(block: (PhoneNumber) -> T): T?
Content copied to clipboard
when Phone Number Text Source
Link copied to clipboard
inline fun <T> TextSource.whenPhoneNumberTextSource(block: (PhoneNumberTextSource) -> T): T?
Content copied to clipboard
when Photo Content
Link copied to clipboard
inline fun <T> ResendableContent.whenPhotoContent(block: (PhotoContent) -> T): T?
Content copied to clipboard
when Photo Size
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPhotoSize(block: (PhotoSize) -> T): T?
Content copied to clipboard
when Pinned Message
Link copied to clipboard
inline fun <T> ChatEvent.whenPinnedMessage(block: (PinnedMessage) -> T): T?
Content copied to clipboard
when Playable Media File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPlayableMediaFile(block: (PlayableMediaFile) -> T): T?
Content copied to clipboard
when Poll Answer Update
Link copied to clipboard
inline fun <T> Update.whenPollAnswerUpdate(block: (PollAnswerUpdate) -> T): T?
Content copied to clipboard
when Poll Content
Link copied to clipboard
inline fun <T> ResendableContent.whenPollContent(block: (PollContent) -> T): T?
Content copied to clipboard
when Poll Update
Link copied to clipboard
when Possibly Edited Message
Link copied to clipboard
inline fun <T> Message.whenPossiblyEditedMessage(block: (PossiblyEditedMessage) -> T): T?
Content copied to clipboard
when Possibly Forwarded Message
Link copied to clipboard
inline fun <T> Message.whenPossiblyForwardedMessage(block: (PossiblyForwardedMessage) -> T): T?
Content copied to clipboard
when Possibly Payment Message
Link copied to clipboard
inline fun <T> Message.whenPossiblyPaymentMessage(block: (PossiblyPaymentMessage) -> T): T?
Content copied to clipboard
when Possibly Reply Message
Link copied to clipboard
inline fun <T> Message.whenPossiblyReplyMessage(block: (PossiblyReplyMessage) -> T): T?
Content copied to clipboard
when Possibly Sent Via Bot Common Message
Link copied to clipboard
inline fun <T> Message.whenPossiblySentViaBotCommonMessage(block: (PossiblySentViaBotCommonMessage<MessageContent>) -> T): T?
Content copied to clipboard
when Pre Checkout Query Update
Link copied to clipboard
inline fun <T> Update.whenPreCheckoutQueryUpdate(block: (PreCheckoutQueryUpdate) -> T): T?
Content copied to clipboard
when Pre Text Source
Link copied to clipboard
inline fun <T> TextSource.whenPreTextSource(block: (PreTextSource) -> T): T?
Content copied to clipboard
when Private Chat
Link copied to clipboard
when Private Content Message
Link copied to clipboard
inline fun <T> Message.whenPrivateContentMessage(block: (PrivateContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
when Private Content Message Impl
Link copied to clipboard
inline fun <T> Message.whenPrivateContentMessageImpl(block: (PrivateContentMessageImpl<MessageContent>) -> T): T?
Content copied to clipboard
when Private Event Message
Link copied to clipboard
inline fun <T> Message.whenPrivateEventMessage(block: (PrivateEventMessage<PrivateEvent>) -> T): T?
Content copied to clipboard
when Proximity Alert Triggered
Link copied to clipboard
inline fun <T> ChatEvent.whenProximityAlertTriggered(block: (ProximityAlertTriggered) -> T): T?
Content copied to clipboard
when Public Chat
Link copied to clipboard
when Public Chat Event
Link copied to clipboard
inline fun <T> ChatEvent.whenPublicChatEvent(block: (PublicChatEvent) -> T): T?
Content copied to clipboard
when Public Content Message
Link copied to clipboard
inline fun <T> Message.whenPublicContentMessage(block: (PublicContentMessage<MessageContent>) -> T): T?
Content copied to clipboard
when Quiz Poll
Link copied to clipboard
when Record Video Action
Link copied to clipboard
inline fun <T> BotAction.whenRecordVideoAction(block: (RecordVideoAction) -> T): T?
Content copied to clipboard
when Record Video Note Action
Link copied to clipboard
inline fun <T> BotAction.whenRecordVideoNoteAction(block: (RecordVideoNoteAction) -> T): T?
Content copied to clipboard
when Record Voice Action
Link copied to clipboard
inline fun <T> BotAction.whenRecordVoiceAction(block: (RecordVoiceAction) -> T): T?
Content copied to clipboard
when Regular Poll
Link copied to clipboard
when Regular Text Source
Link copied to clipboard
inline fun <T> TextSource.whenRegularTextSource(block: (RegularTextSource) -> T): T?
Content copied to clipboard
when Rental Agreement
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenRentalAgreement(block: (RentalAgreement) -> T): T?
Content copied to clipboard
when Rental Agreement Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenRentalAgreementSecureValue(block: (RentalAgreementSecureValue) -> T): T?
Content copied to clipboard
when Reply Keyboard Markup
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenReplyKeyboardMarkup(block: (ReplyKeyboardMarkup) -> T): T?
Content copied to clipboard
when Reply Keyboard Remove
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenReplyKeyboardRemove(block: (ReplyKeyboardRemove) -> T): T?
Content copied to clipboard
when Restricted Chat Member
Link copied to clipboard
inline fun <T> ChatMember.whenRestrictedChatMember(block: (RestrictedChatMember) -> T): T?
Content copied to clipboard
when Secure Value Identity
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueIdentity(block: (SecureValueIdentity) -> T): T?
Content copied to clipboard
when Secure Value With Data
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithData(block: (SecureValueWithData) -> T): T?
Content copied to clipboard
when Secure Value With Files
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithFiles(block: (SecureValueWithFiles) -> T): T?
Content copied to clipboard
when Secure Value With Reverse Side
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithReverseSide(block: (SecureValueWithReverseSide) -> T): T?
Content copied to clipboard
when Secure Value With Translations
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithTranslations(block: (SecureValueWithTranslations) -> T): T?
Content copied to clipboard
when Send Invoice
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenSendInvoice(block: (SendInvoice) -> T): T?
Content copied to clipboard
when Sent Media Group Update
Link copied to clipboard
inline fun <T> Update.whenSentMediaGroupUpdate(block: (SentMediaGroupUpdate) -> T): T?
Content copied to clipboard
when Shipping Query Update
Link copied to clipboard
inline fun <T> Update.whenShippingQueryUpdate(block: (ShippingQueryUpdate) -> T): T?
Content copied to clipboard
when Signed Message
Link copied to clipboard
inline fun <T> Message.whenSignedMessage(block: (SignedMessage) -> T): T?
Content copied to clipboard
when Sized Inline Query Result
Link copied to clipboard
inline fun <T> InlineQueryResult.whenSizedInlineQueryResult(block: (SizedInlineQueryResult) -> T): T?
Content copied to clipboard
when Sized Input Media
Link copied to clipboard
inline fun <T> InputMedia.whenSizedInputMedia(block: (SizedInputMedia) -> T): T?
Content copied to clipboard
when Sized Media File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenSizedMediaFile(block: (SizedMediaFile) -> T): T?
Content copied to clipboard
when Slot Machine Dice Animation Type
Link copied to clipboard
inline fun <T> DiceAnimationType.whenSlotMachineDiceAnimationType(block: (SlotMachineDiceAnimationType) -> T): T?
Content copied to clipboard
when Special Rights Chat Member
Link copied to clipboard
inline fun <T> ChatMember.whenSpecialRightsChatMember(block: (SpecialRightsChatMember) -> T): T?
Content copied to clipboard
when Static Location
Link copied to clipboard
inline fun <T> Location.whenStaticLocation(block: (StaticLocation) -> T): T?
Content copied to clipboard
when Static Location Content
Link copied to clipboard
inline fun <T> ResendableContent.whenStaticLocationContent(block: (StaticLocationContent) -> T): T?
Content copied to clipboard
when Sticker
Link copied to clipboard
when Sticker Content
Link copied to clipboard
inline fun <T> ResendableContent.whenStickerContent(block: (StickerContent) -> T): T?
Content copied to clipboard
when Strikethrough Text Source
Link copied to clipboard
inline fun <T> TextSource.whenStrikethroughTextSource(block: (StrikethroughTextSource) -> T): T?
Content copied to clipboard
when Supergroup Chat
Link copied to clipboard
when Supergroup Chat Created
Link copied to clipboard
inline fun <T> ChatEvent.whenSupergroupChatCreated(block: (SupergroupChatCreated) -> T): T?
Content copied to clipboard
when Supergroup Event
Link copied to clipboard
inline fun <T> ChatEvent.whenSupergroupEvent(block: (SupergroupEvent) -> T): T?
Content copied to clipboard
when Supergroup Event Message
Link copied to clipboard
inline fun <T> Message.whenSupergroupEventMessage(block: (SupergroupEventMessage<SupergroupEvent>) -> T): T?
Content copied to clipboard
when Super Public Chat
Link copied to clipboard
inline fun <T> Chat.whenSuperPublicChat(block: (SuperPublicChat) -> T): T?
Content copied to clipboard
when Switch Inline Query Current Chat Inline Keyboard Button
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenSwitchInlineQueryCurrentChatInlineKeyboardButton(block: (SwitchInlineQueryCurrentChatInlineKeyboardButton) -> T): T?
Content copied to clipboard
when Switch Inline Query Inline Keyboard Button
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenSwitchInlineQueryInlineKeyboardButton(block: (SwitchInlineQueryInlineKeyboardButton) -> T): T?
Content copied to clipboard
when Temporal Registration Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenTemporalRegistrationSecureValue(block: (TemporalRegistrationSecureValue) -> T): T?
Content copied to clipboard
when Temporary Registration
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenTemporaryRegistration(block: (TemporaryRegistration) -> T): T?
Content copied to clipboard
when Text Content
Link copied to clipboard
inline fun <T> ResendableContent.whenTextContent(block: (TextContent) -> T): T?
Content copied to clipboard
when Text Link Text Source
Link copied to clipboard
inline fun <T> TextSource.whenTextLinkTextSource(block: (TextLinkTextSource) -> T): T?
Content copied to clipboard
when Text Mention Text Source
Link copied to clipboard
inline fun <T> TextSource.whenTextMentionTextSource(block: (TextMentionTextSource) -> T): T?
Content copied to clipboard
when Thumbed Inline Query Result
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbedInlineQueryResult(block: (ThumbedInlineQueryResult) -> T): T?
Content copied to clipboard
when Thumbed Input Media
Link copied to clipboard
inline fun <T> InputMedia.whenThumbedInputMedia(block: (ThumbedInputMedia) -> T): T?
Content copied to clipboard
when Thumbed Media File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenThumbedMediaFile(block: (ThumbedMediaFile) -> T): T?
Content copied to clipboard
when Thumbed With Mime Type Inline Query Result
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbedWithMimeTypeInlineQueryResult(block: (ThumbedWithMimeTypeInlineQueryResult) -> T): T?
Content copied to clipboard
when Thumb Sized Inline Query Result
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbSizedInlineQueryResult(block: (ThumbSizedInlineQueryResult) -> T): T?
Content copied to clipboard
when Titled Inline Query Result
Link copied to clipboard
inline fun <T> InlineQueryResult.whenTitledInlineQueryResult(block: (TitledInlineQueryResult) -> T): T?
Content copied to clipboard
when Titled Input Media
Link copied to clipboard
inline fun <T> InputMedia.whenTitledInputMedia(block: (TitledInputMedia) -> T): T?
Content copied to clipboard
when Typing Action
Link copied to clipboard
inline fun <T> BotAction.whenTypingAction(block: (TypingAction) -> T): T?
Content copied to clipboard
when Underline Text Source
Link copied to clipboard
inline fun <T> TextSource.whenUnderlineTextSource(block: (UnderlineTextSource) -> T): T?
Content copied to clipboard
when Unknown Callback Query Type
Link copied to clipboard
inline fun <T> CallbackQuery.whenUnknownCallbackQueryType(block: (UnknownCallbackQueryType) -> T): T?
Content copied to clipboard
when Unknown Chat Type
Link copied to clipboard
inline fun <T> Chat.whenUnknownChatType(block: (UnknownChatType) -> T): T?
Content copied to clipboard
when Unknown Encrypted Passport Element
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenUnknownEncryptedPassportElement(block: (UnknownEncryptedPassportElement) -> T): T?
Content copied to clipboard
when Unknown Inline Keyboard Button
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenUnknownInlineKeyboardButton(block: (UnknownInlineKeyboardButton) -> T): T?
Content copied to clipboard
when Unknown Message Type
Link copied to clipboard
inline fun <T> Message.whenUnknownMessageType(block: (UnknownMessageType) -> T): T?
Content copied to clipboard
when Unknown Passport Element Error
Link copied to clipboard
inline fun <T> PassportElementError.whenUnknownPassportElementError(block: (UnknownPassportElementError) -> T): T?
Content copied to clipboard
when Unknown Poll Type
Link copied to clipboard
inline fun <T> Poll.whenUnknownPollType(block: (UnknownPollType) -> T): T?
Content copied to clipboard
when Unknown Update
Link copied to clipboard
when Upload Document Action
Link copied to clipboard
inline fun <T> BotAction.whenUploadDocumentAction(block: (UploadDocumentAction) -> T): T?
Content copied to clipboard
when Upload Photo Action
Link copied to clipboard
inline fun <T> BotAction.whenUploadPhotoAction(block: (UploadPhotoAction) -> T): T?
Content copied to clipboard
when Upload Video Action
Link copied to clipboard
inline fun <T> BotAction.whenUploadVideoAction(block: (UploadVideoAction) -> T): T?
Content copied to clipboard
when Upload Video Note Action
Link copied to clipboard
inline fun <T> BotAction.whenUploadVideoNoteAction(block: (UploadVideoNoteAction) -> T): T?
Content copied to clipboard
when Upload Voice Action
Link copied to clipboard
inline fun <T> BotAction.whenUploadVoiceAction(block: (UploadVoiceAction) -> T): T?
Content copied to clipboard
when URLInline Keyboard Button
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenURLInlineKeyboardButton(block: (URLInlineKeyboardButton) -> T): T?
Content copied to clipboard
when Url Inline Query Result
Link copied to clipboard
inline fun <T> InlineQueryResult.whenUrlInlineQueryResult(block: (UrlInlineQueryResult) -> T): T?
Content copied to clipboard
when URLText Source
Link copied to clipboard
inline fun <T> TextSource.whenURLTextSource(block: (URLTextSource) -> T): T?
Content copied to clipboard
when Username Chat
Link copied to clipboard
when Utility Bill
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenUtilityBill(block: (UtilityBill) -> T): T?
Content copied to clipboard
when Utility Bill Secure Value
Link copied to clipboard
inline fun <T> SecureValue.whenUtilityBillSecureValue(block: (UtilityBillSecureValue) -> T): T?
Content copied to clipboard
when Venue Content
Link copied to clipboard
inline fun <T> ResendableContent.whenVenueContent(block: (VenueContent) -> T): T?
Content copied to clipboard
when Video Content
Link copied to clipboard
inline fun <T> ResendableContent.whenVideoContent(block: (VideoContent) -> T): T?
Content copied to clipboard
when Video File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVideoFile(block: (VideoFile) -> T): T?
Content copied to clipboard
when Video Note Content
Link copied to clipboard
inline fun <T> ResendableContent.whenVideoNoteContent(block: (VideoNoteContent) -> T): T?
Content copied to clipboard
when Video Note File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVideoNoteFile(block: (VideoNoteFile) -> T): T?
Content copied to clipboard
when Visual Media Group Content
Link copied to clipboard
inline fun <T> ResendableContent.whenVisualMediaGroupContent(block: (VisualMediaGroupContent) -> T): T?
Content copied to clipboard
when Visual Media Group Member Input Media
Link copied to clipboard
inline fun <T> InputMedia.whenVisualMediaGroupMemberInputMedia(block: (VisualMediaGroupMemberInputMedia) -> T): T?
Content copied to clipboard
when Voice Chat Ended
Link copied to clipboard
inline fun <T> ChatEvent.whenVoiceChatEnded(block: (VoiceChatEnded) -> T): T?
Content copied to clipboard
when Voice Chat Event
Link copied to clipboard
inline fun <T> ChatEvent.whenVoiceChatEvent(block: (VoiceChatEvent) -> T): T?
Content copied to clipboard
when Voice Chat Participants Invited
Link copied to clipboard
inline fun <T> ChatEvent.whenVoiceChatParticipantsInvited(block: (VoiceChatParticipantsInvited) -> T): T?
Content copied to clipboard
when Voice Chat Started
Link copied to clipboard
inline fun <T> ChatEvent.whenVoiceChatStarted(block: (VoiceChatStarted) -> T): T?
Content copied to clipboard
when Voice Content
Link copied to clipboard
inline fun <T> ResendableContent.whenVoiceContent(block: (VoiceContent) -> T): T?
Content copied to clipboard
when Voice File
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVoiceFile(block: (VoiceFile) -> T): T?
Content copied to clipboard
when With Input Message Content Inline Query Result
Link copied to clipboard
inline fun <T> InlineQueryResult.whenWithInputMessageContentInlineQueryResult(block: (WithInputMessageContentInlineQueryResult) -> T): T?
Content copied to clipboard
when With Optional Language Code
Link copied to clipboard
inline fun <T> Any.whenWithOptionalLanguageCode(block: (WithOptionalLanguageCode) -> T): T?
Content copied to clipboard
when With User
Link copied to clipboard
with Content
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
without Sent Via Bot
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