Package dev.inmo.tgbotapi.extensions.utils

Types

SlotMachineReelImage
Link copied to clipboard
common
enum SlotMachineReelImage : Enum<SlotMachineReelImage>
SlotMachineResult
Link copied to clipboard
common
data class SlotMachineResult(rawValue: DiceResult)

Functions

aggregateFlows
Link copied to clipboard
common
fun <T> aggregateFlows(withScope: CoroutineScope, vararg flows: Flow<T>, internalBufferSize: Int = 64): Flow<T>

Analog of merge function for Flows. The difference is in the usage of BroadcastChannel in this case

asAddressSecureValue
Link copied to clipboard
common
inline fun SecureValue.asAddressSecureValue(): AddressSecureValue?
asAdministratorChatMember
Link copied to clipboard
common
inline fun ChatMember.asAdministratorChatMember(): AdministratorChatMember?
asAnimationContent
Link copied to clipboard
common
inline fun ResendableContent.asAnimationContent(): AnimationContent?
asAnimationFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asAnimationFile(): AnimationFile?
asAnonymousGroupContentMessage
Link copied to clipboard
common
asAnonymousGroupContentMessageImpl
Link copied to clipboard
asAudioContent
Link copied to clipboard
common
inline fun ResendableContent.asAudioContent(): AudioContent?
asAudioFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asAudioFile(): AudioFile?
asAudioMediaGroupContent
Link copied to clipboard
common
inline fun ResendableContent.asAudioMediaGroupContent(): AudioMediaGroupContent?
asAudioMediaGroupMemberInputMedia
Link copied to clipboard
common
asBankStatement
Link copied to clipboard
common
inline fun EncryptedPassportElement.asBankStatement(): BankStatement?
asBankStatementSecureValue
Link copied to clipboard
common
inline fun SecureValue.asBankStatementSecureValue(): BankStatementSecureValue?
asBannedChatMember
Link copied to clipboard
common
inline fun ChatMember.asBannedChatMember(): BannedChatMember?
asBaseEditMessageUpdate
Link copied to clipboard
common
inline fun Update.asBaseEditMessageUpdate(): BaseEditMessageUpdate?
asBaseInlineQuery
Link copied to clipboard
common
inline fun InlineQuery.asBaseInlineQuery(): BaseInlineQuery?
asBaseMessageUpdate
Link copied to clipboard
common
inline fun Update.asBaseMessageUpdate(): BaseMessageUpdate?
asBaseSentMessageUpdate
Link copied to clipboard
common
inline fun Update.asBaseSentMessageUpdate(): BaseSentMessageUpdate?
asBasketballDiceAnimationType
Link copied to clipboard
common
asBoldTextSource
Link copied to clipboard
common
inline fun TextSource.asBoldTextSource(): BoldTextSource?
asBot
Link copied to clipboard
common
inline fun Chat.asBot(): Bot?
asBotCommandTextSource
Link copied to clipboard
common
inline fun TextSource.asBotCommandTextSource(): BotCommandTextSource?
asBowlingDiceAnimationType
Link copied to clipboard
common
asCallbackQueryUpdate
Link copied to clipboard
common
inline fun Update.asCallbackQueryUpdate(): CallbackQueryUpdate?
asCashTagTextSource
Link copied to clipboard
common
inline fun TextSource.asCashTagTextSource(): CashTagTextSource?
asChannelChat
Link copied to clipboard
common
inline fun Chat.asChannelChat(): ChannelChat?
asChannelChatCreated
Link copied to clipboard
common
inline fun ChatEvent.asChannelChatCreated(): ChannelChatCreated?
asChannelContentMessage
Link copied to clipboard
common
inline fun Message.asChannelContentMessage(): ChannelContentMessage<MessageContent>?
asChannelContentMessageImpl
Link copied to clipboard
common
asChannelEvent
Link copied to clipboard
common
inline fun ChatEvent.asChannelEvent(): ChannelEvent?
asChannelEventMessage
Link copied to clipboard
common
inline fun Message.asChannelEventMessage(): ChannelEventMessage<ChannelEvent>?
asChannelMediaGroupMessage
Link copied to clipboard
common
asChannelPostMediaGroupUpdate
Link copied to clipboard
common
inline fun Update.asChannelPostMediaGroupUpdate(): ChannelPostMediaGroupUpdate?
asChannelPostUpdate
Link copied to clipboard
common
inline fun Update.asChannelPostUpdate(): ChannelPostUpdate?
asChatEventMessage
Link copied to clipboard
common
inline fun Message.asChatEventMessage(): ChatEventMessage<ChatEvent>?
asChatMemberUpdatedUpdate
Link copied to clipboard
common
inline fun Update.asChatMemberUpdatedUpdate(): ChatMemberUpdatedUpdate?
asChosenInlineResultUpdate
Link copied to clipboard
common
inline fun Update.asChosenInlineResultUpdate(): ChosenInlineResultUpdate?
asCodeTextSource
Link copied to clipboard
common
inline fun TextSource.asCodeTextSource(): CodeTextSource?
asCommonBot
Link copied to clipboard
common
inline fun Chat.asCommonBot(): CommonBot?
asCommonChatMemberUpdatedUpdate
Link copied to clipboard
common
inline fun Update.asCommonChatMemberUpdatedUpdate(): CommonChatMemberUpdatedUpdate?
asCommonEvent
Link copied to clipboard
common
inline fun ChatEvent.asCommonEvent(): CommonEvent?
asCommonGroupContentMessage
Link copied to clipboard
common
asCommonGroupEventMessage
Link copied to clipboard
common
inline fun Message.asCommonGroupEventMessage(): CommonGroupEventMessage<GroupEvent>?
asCommonMediaGroupMessage
Link copied to clipboard
common
asCommonMessage
Link copied to clipboard
common
inline fun Message.asCommonMessage(): CommonMessage<MessageContent>?
asCommonPassport
Link copied to clipboard
common
inline fun EncryptedPassportElement.asCommonPassport(): CommonPassport?
asCommonPassportSecureValue
Link copied to clipboard
common
inline fun SecureValue.asCommonPassportSecureValue(): CommonPassportSecureValue?
asCommonSupergroupEventMessage
Link copied to clipboard
common
asCommonUser
Link copied to clipboard
common
inline fun Chat.asCommonUser(): CommonUser?
asContactContent
Link copied to clipboard
common
inline fun ResendableContent.asContactContent(): ContactContent?
asContentMessage
Link copied to clipboard
common
inline fun Message.asContentMessage(): ContentMessage<MessageContent>?
asCreatorChatMember
Link copied to clipboard
common
inline fun ChatMember.asCreatorChatMember(): CreatorChatMember?
asCubeDiceAnimationType
Link copied to clipboard
common
inline fun DiceAnimationType.asCubeDiceAnimationType(): CubeDiceAnimationType?
asCustomDiceAnimationType
Link copied to clipboard
common
inline fun DiceAnimationType.asCustomDiceAnimationType(): CustomDiceAnimationType?
asDartsDiceAnimationType
Link copied to clipboard
common
inline fun DiceAnimationType.asDartsDiceAnimationType(): DartsDiceAnimationType?
asDataCallbackQuery
Link copied to clipboard
common
inline fun CallbackQuery.asDataCallbackQuery(): DataCallbackQuery?
asDeleteChatPhoto
Link copied to clipboard
common
inline fun ChatEvent.asDeleteChatPhoto(): DeleteChatPhoto?
asDescribedInlineQueryResult
Link copied to clipboard
common
asDiceContent
Link copied to clipboard
common
inline fun ResendableContent.asDiceContent(): DiceContent?
asDocumentContent
Link copied to clipboard
common
inline fun ResendableContent.asDocumentContent(): DocumentContent?
asDocumentFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asDocumentFile(): DocumentFile?
asDocumentMediaGroupContent
Link copied to clipboard
common
asDocumentMediaGroupMemberInputMedia
Link copied to clipboard
asDriverLicense
Link copied to clipboard
common
inline fun EncryptedPassportElement.asDriverLicense(): DriverLicense?
asDriverLicenseSecureValue
Link copied to clipboard
common
inline fun SecureValue.asDriverLicenseSecureValue(): DriverLicenseSecureValue?
asDuratedInputMedia
Link copied to clipboard
common
inline fun InputMedia.asDuratedInputMedia(): DuratedInputMedia?
asEditChannelPostMediaGroupUpdate
Link copied to clipboard
common
asEditChannelPostUpdate
Link copied to clipboard
common
inline fun Update.asEditChannelPostUpdate(): EditChannelPostUpdate?
asEditMediaGroupUpdate
Link copied to clipboard
common
inline fun Update.asEditMediaGroupUpdate(): EditMediaGroupUpdate?
asEditMessageMediaGroupUpdate
Link copied to clipboard
common
inline fun Update.asEditMessageMediaGroupUpdate(): EditMessageMediaGroupUpdate?
asEditMessageUpdate
Link copied to clipboard
common
inline fun Update.asEditMessageUpdate(): EditMessageUpdate?
asEmail
Link copied to clipboard
common
inline fun EncryptedPassportElement.asEmail(): Email?
asEMailTextSource
Link copied to clipboard
common
inline fun TextSource.asEMailTextSource(): EMailTextSource?
asEncryptedAddress
Link copied to clipboard
common
inline fun EncryptedPassportElement.asEncryptedAddress(): EncryptedAddress?
asEncryptedPersonalDetails
Link copied to clipboard
common
asExtendedBot
Link copied to clipboard
common
inline fun Chat.asExtendedBot(): ExtendedBot?
asExtendedChannelChat
Link copied to clipboard
common
inline fun Chat.asExtendedChannelChat(): ExtendedChannelChat?
asExtendedChat
Link copied to clipboard
common
inline fun Chat.asExtendedChat(): ExtendedChat?
asExtendedGroupChat
Link copied to clipboard
common
inline fun Chat.asExtendedGroupChat(): ExtendedGroupChat?
asExtendedPrivateChat
Link copied to clipboard
common
inline fun Chat.asExtendedPrivateChat(): ExtendedPrivateChat?
asExtendedPublicChat
Link copied to clipboard
common
inline fun Chat.asExtendedPublicChat(): ExtendedPublicChat?
asExtendedSupergroupChat
Link copied to clipboard
common
inline fun Chat.asExtendedSupergroupChat(): ExtendedSupergroupChat?
asFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asFile(): File?
asFileInlineQueryResult
Link copied to clipboard
common
inline fun InlineQueryResult.asFileInlineQueryResult(): FileInlineQueryResult?
asFindLocationAction
Link copied to clipboard
common
inline fun BotAction.asFindLocationAction(): FindLocationAction?
asFootballDiceAnimationType
Link copied to clipboard
common
asForceReply
Link copied to clipboard
common
inline fun KeyboardMarkup.asForceReply(): ReplyForce?
asFromChannelGroupContentMessage
Link copied to clipboard
asFromUser
Link copied to clipboard
common
inline fun Any.asFromUser(): FromUser?
asFromUserMessage
Link copied to clipboard
common
inline fun Message.asFromUserMessage(): FromUserMessage?
asGameContent
Link copied to clipboard
common
inline fun ResendableContent.asGameContent(): GameContent?
asGameShortNameCallbackQuery
Link copied to clipboard
common
asGroupChat
Link copied to clipboard
common
inline fun Chat.asGroupChat(): GroupChat?
asGroupChatCreated
Link copied to clipboard
common
inline fun ChatEvent.asGroupChatCreated(): GroupChatCreated?
asGroupContentMessage
Link copied to clipboard
common
inline fun Message.asGroupContentMessage(): GroupContentMessage<MessageContent>?
asGroupEvent
Link copied to clipboard
common
inline fun ChatEvent.asGroupEvent(): GroupEvent?
asGroupEventMessage
Link copied to clipboard
common
inline fun Message.asGroupEventMessage(): GroupEventMessage<GroupEvent>?
asHashTagTextSource
Link copied to clipboard
common
inline fun TextSource.asHashTagTextSource(): HashTagTextSource?
asIdentityCard
Link copied to clipboard
common
inline fun EncryptedPassportElement.asIdentityCard(): IdentityCard?
asIdentityCardSecureValue
Link copied to clipboard
common
inline fun SecureValue.asIdentityCardSecureValue(): IdentityCardSecureValue?
asIdentityWithReverseSideSecureValue
Link copied to clipboard
asInlineKeyboardMarkup
Link copied to clipboard
common
inline fun KeyboardMarkup.asInlineKeyboardMarkup(): InlineKeyboardMarkup?
asInlineMessageIdCallbackQuery
Link copied to clipboard
common
asInlineMessageIdDataCallbackQuery
Link copied to clipboard
common
asInlineQueryResultArticle
Link copied to clipboard
common
asInlineQueryResultAudio
Link copied to clipboard
common
inline fun InlineQueryResult.asInlineQueryResultAudio(): InlineQueryResultAudio?
asInlineQueryResultAudioCached
Link copied to clipboard
common
asInlineQueryResultAudioCommon
Link copied to clipboard
common
asInlineQueryResultContact
Link copied to clipboard
common
asInlineQueryResultDocument
Link copied to clipboard
common
asInlineQueryResultDocumentCached
Link copied to clipboard
asInlineQueryResultDocumentCommon
Link copied to clipboard
asInlineQueryResultGame
Link copied to clipboard
common
inline fun InlineQueryResult.asInlineQueryResultGame(): InlineQueryResultGame?
asInlineQueryResultGif
Link copied to clipboard
common
inline fun InlineQueryResult.asInlineQueryResultGif(): InlineQueryResultGif?
asInlineQueryResultGifCached
Link copied to clipboard
common
asInlineQueryResultGifCommon
Link copied to clipboard
common
asInlineQueryResultLocation
Link copied to clipboard
common
asInlineQueryResultMpeg4Gif
Link copied to clipboard
common
asInlineQueryResultMpeg4GifCached
Link copied to clipboard
asInlineQueryResultMpeg4GifCommon
Link copied to clipboard
asInlineQueryResultPhoto
Link copied to clipboard
common
inline fun InlineQueryResult.asInlineQueryResultPhoto(): InlineQueryResultPhoto?
asInlineQueryResultPhotoCached
Link copied to clipboard
common
asInlineQueryResultPhotoCommon
Link copied to clipboard
common
asInlineQueryResultStickerCached
Link copied to clipboard
common
asInlineQueryResultVenue
Link copied to clipboard
common
inline fun InlineQueryResult.asInlineQueryResultVenue(): InlineQueryResultVenue?
asInlineQueryResultVideo
Link copied to clipboard
common
inline fun InlineQueryResult.asInlineQueryResultVideo(): InlineQueryResultVideo?
asInlineQueryResultVideoCached
Link copied to clipboard
common
asInlineQueryResultVideoCommon
Link copied to clipboard
common
asInlineQueryResultVoice
Link copied to clipboard
common
inline fun InlineQueryResult.asInlineQueryResultVoice(): InlineQueryResultVoice?
asInlineQueryResultVoiceCached
Link copied to clipboard
common
asInlineQueryResultVoiceCommon
Link copied to clipboard
common
asInlineQueryUpdate
Link copied to clipboard
common
inline fun Update.asInlineQueryUpdate(): InlineQueryUpdate?
asInputContactMessageContent
Link copied to clipboard
common
asInputInvoiceMessageContent
Link copied to clipboard
asInputLocationMessageContent
Link copied to clipboard
common
asInputMediaAnimation
Link copied to clipboard
common
inline fun InputMedia.asInputMediaAnimation(): InputMediaAnimation?
asInputMediaAudio
Link copied to clipboard
common
inline fun InputMedia.asInputMediaAudio(): InputMediaAudio?
asInputMediaDocument
Link copied to clipboard
common
inline fun InputMedia.asInputMediaDocument(): InputMediaDocument?
asInputMediaPhoto
Link copied to clipboard
common
inline fun InputMedia.asInputMediaPhoto(): InputMediaPhoto?
asInputMediaVideo
Link copied to clipboard
common
inline fun InputMedia.asInputMediaVideo(): InputMediaVideo?
asInputTextMessageContent
Link copied to clipboard
common
asInputVenueMessageContent
Link copied to clipboard
common
asInternalPassport
Link copied to clipboard
common
inline fun EncryptedPassportElement.asInternalPassport(): InternalPassport?
asInternalPassportSecureValue
Link copied to clipboard
common
asInvoiceContent
Link copied to clipboard
common
inline fun ResendableContent.asInvoiceContent(): InvoiceContent?
asItalicTextSource
Link copied to clipboard
common
inline fun TextSource.asItalicTextSource(): ItalicTextSource?
asKickedChatMember
Link copied to clipboard
common
inline fun ChatMember.asKickedChatMember(): KickedChatMember?
asLeftChatMember
Link copied to clipboard
common
inline fun ChatMember.asLeftChatMember(): LeftChatMember?
inline fun ChatEvent.asLeftChatMember(): LeftChatMember?
asLiveLocation
Link copied to clipboard
common
inline fun Location.asLiveLocation(): LiveLocation?
asLiveLocationContent
Link copied to clipboard
common
inline fun ResendableContent.asLiveLocationContent(): LiveLocationContent?
asLocationContent
Link copied to clipboard
common
inline fun ResendableContent.asLocationContent(): LocationContent?
asLocationInlineQuery
Link copied to clipboard
common
inline fun InlineQuery.asLocationInlineQuery(): LocationInlineQuery?
asLoginURLInlineKeyboardButton
Link copied to clipboard
common
asMediaCollectionContent
Link copied to clipboard
common
asMediaContent
Link copied to clipboard
common
inline fun ResendableContent.asMediaContent(): MediaContent?
asMediaGroupContent
Link copied to clipboard
common
inline fun ResendableContent.asMediaGroupContent(): MediaGroupContent?
asMediaGroupMemberInputMedia
Link copied to clipboard
common
inline fun InputMedia.asMediaGroupMemberInputMedia(): MediaGroupMemberInputMedia?
asMediaGroupMessage
Link copied to clipboard
common
inline fun Message.asMediaGroupMessage(): MediaGroupMessage<MediaGroupContent>?
asMediaGroupUpdate
Link copied to clipboard
common
inline fun Update.asMediaGroupUpdate(): MediaGroupUpdate?
asMemberChatMember
Link copied to clipboard
common
inline fun ChatMember.asMemberChatMember(): MemberChatMember?
asMentionTextSource
Link copied to clipboard
common
inline fun TextSource.asMentionTextSource(): MentionTextSource?
asMessageAutoDeleteTimerChanged
Link copied to clipboard
common
asMessageCallbackQuery
Link copied to clipboard
common
inline fun CallbackQuery.asMessageCallbackQuery(): MessageCallbackQuery?
asMessageContent
Link copied to clipboard
common
inline fun ResendableContent.asMessageContent(): MessageContent?
asMessageDataCallbackQuery
Link copied to clipboard
common
inline fun CallbackQuery.asMessageDataCallbackQuery(): MessageDataCallbackQuery?
asMessageGameShortNameCallbackQuery
Link copied to clipboard
asMessageMediaGroupUpdate
Link copied to clipboard
common
inline fun Update.asMessageMediaGroupUpdate(): MessageMediaGroupUpdate?
asMessageUpdate
Link copied to clipboard
common
inline fun Update.asMessageUpdate(): MessageUpdate?
asMimedMediaFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asMimedMediaFile(): MimedMediaFile?
asMultilevelTextSource
Link copied to clipboard
common
inline fun TextSource.asMultilevelTextSource(): MultilevelTextSource?
asMultipleAnswersPoll
Link copied to clipboard
common
inline fun Poll.asMultipleAnswersPoll(): MultipleAnswersPoll?
asMyChatMemberUpdatedUpdate
Link copied to clipboard
common
inline fun Update.asMyChatMemberUpdatedUpdate(): MyChatMemberUpdatedUpdate?
asNewChatMembers
Link copied to clipboard
common
inline fun ChatEvent.asNewChatMembers(): NewChatMembers?
asNewChatPhoto
Link copied to clipboard
common
inline fun ChatEvent.asNewChatPhoto(): NewChatPhoto?
asNewChatTitle
Link copied to clipboard
common
inline fun ChatEvent.asNewChatTitle(): NewChatTitle?
asOtherDocumentsSecureValue
Link copied to clipboard
common
inline fun SecureValue.asOtherDocumentsSecureValue(): OtherDocumentsSecureValue?
asPassport
Link copied to clipboard
common
inline fun EncryptedPassportElement.asPassport(): Passport?
asPassportElementErrorDataField
Link copied to clipboard
asPassportElementErrorFile
Link copied to clipboard
common
asPassportElementErrorFiles
Link copied to clipboard
common
asPassportElementErrorFrontSide
Link copied to clipboard
asPassportElementErrorReverseSide
Link copied to clipboard
asPassportElementErrorSelfie
Link copied to clipboard
common
asPassportElementErrorUnspecified
Link copied to clipboard
asPassportElementFileError
Link copied to clipboard
common
asPassportElementFilesError
Link copied to clipboard
common
asPassportMessage
Link copied to clipboard
common
inline fun Message.asPassportMessage(): PassportMessage?
asPassportMultipleElementsError
Link copied to clipboard
asPassportRegistration
Link copied to clipboard
common
inline fun EncryptedPassportElement.asPassportRegistration(): PassportRegistration?
asPassportRegistrationSecureValue
Link copied to clipboard
common
asPassportSecureValue
Link copied to clipboard
common
inline fun SecureValue.asPassportSecureValue(): PassportSecureValue?
asPassportSingleElementError
Link copied to clipboard
common
asPathedFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asPathedFile(): PathedFile?
asPayInlineKeyboardButton
Link copied to clipboard
common
asPersonalDetailsSecureValue
Link copied to clipboard
common
inline fun SecureValue.asPersonalDetailsSecureValue(): PersonalDetailsSecureValue?
asPhoneNumber
Link copied to clipboard
common
inline fun EncryptedPassportElement.asPhoneNumber(): PhoneNumber?
asPhoneNumberTextSource
Link copied to clipboard
common
inline fun TextSource.asPhoneNumberTextSource(): PhoneNumberTextSource?
asPhotoContent
Link copied to clipboard
common
inline fun ResendableContent.asPhotoContent(): PhotoContent?
asPhotoSize
Link copied to clipboard
common
inline fun TelegramMediaFile.asPhotoSize(): PhotoSize?
asPinnedMessage
Link copied to clipboard
common
inline fun ChatEvent.asPinnedMessage(): PinnedMessage?
asPlayableMediaFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asPlayableMediaFile(): PlayableMediaFile?
asPollAnswerUpdate
Link copied to clipboard
common
inline fun Update.asPollAnswerUpdate(): PollAnswerUpdate?
asPollContent
Link copied to clipboard
common
inline fun ResendableContent.asPollContent(): PollContent?
asPollUpdate
Link copied to clipboard
common
inline fun Update.asPollUpdate(): PollUpdate?
asPossiblyEditedMessage
Link copied to clipboard
common
inline fun Message.asPossiblyEditedMessage(): PossiblyEditedMessage?
asPossiblyForwardedMessage
Link copied to clipboard
common
inline fun Message.asPossiblyForwardedMessage(): PossiblyForwardedMessage?
asPossiblyPaymentMessage
Link copied to clipboard
common
inline fun Message.asPossiblyPaymentMessage(): PossiblyPaymentMessage?
asPossiblyReplyMessage
Link copied to clipboard
common
inline fun Message.asPossiblyReplyMessage(): PossiblyReplyMessage?
asPossiblySentViaBotCommonMessage
Link copied to clipboard
asPreCheckoutQueryUpdate
Link copied to clipboard
common
inline fun Update.asPreCheckoutQueryUpdate(): PreCheckoutQueryUpdate?
asPreTextSource
Link copied to clipboard
common
inline fun TextSource.asPreTextSource(): PreTextSource?
asPrivateChat
Link copied to clipboard
common
inline fun Chat.asPrivateChat(): PrivateChat?
asPrivateContentMessage
Link copied to clipboard
common
inline fun Message.asPrivateContentMessage(): PrivateContentMessage<MessageContent>?
asPrivateContentMessageImpl
Link copied to clipboard
common
asPrivateEventMessage
Link copied to clipboard
common
inline fun Message.asPrivateEventMessage(): PrivateEventMessage<PrivateEvent>?
asProximityAlertTriggered
Link copied to clipboard
common
inline fun ChatEvent.asProximityAlertTriggered(): ProximityAlertTriggered?
asPublicChat
Link copied to clipboard
common
inline fun Chat.asPublicChat(): PublicChat?
asPublicChatEvent
Link copied to clipboard
common
inline fun ChatEvent.asPublicChatEvent(): PublicChatEvent?
asPublicContentMessage
Link copied to clipboard
common
inline fun Message.asPublicContentMessage(): PublicContentMessage<MessageContent>?
asQuizPoll
Link copied to clipboard
common
inline fun Poll.asQuizPoll(): QuizPoll?
asRecordVideoAction
Link copied to clipboard
common
inline fun BotAction.asRecordVideoAction(): RecordVideoAction?
asRecordVideoNoteAction
Link copied to clipboard
common
inline fun BotAction.asRecordVideoNoteAction(): RecordVideoNoteAction?
asRecordVoiceAction
Link copied to clipboard
common
inline fun BotAction.asRecordVoiceAction(): RecordVoiceAction?
asRegularPoll
Link copied to clipboard
common
inline fun Poll.asRegularPoll(): RegularPoll?
asRegularTextSource
Link copied to clipboard
common
inline fun TextSource.asRegularTextSource(): RegularTextSource?
asRentalAgreement
Link copied to clipboard
common
inline fun EncryptedPassportElement.asRentalAgreement(): RentalAgreement?
asRentalAgreementSecureValue
Link copied to clipboard
common
inline fun SecureValue.asRentalAgreementSecureValue(): RentalAgreementSecureValue?
asReplyKeyboardMarkup
Link copied to clipboard
common
inline fun KeyboardMarkup.asReplyKeyboardMarkup(): ReplyKeyboardMarkup?
asReplyKeyboardRemove
Link copied to clipboard
common
inline fun KeyboardMarkup.asReplyKeyboardRemove(): ReplyKeyboardRemove?
asRestrictedChatMember
Link copied to clipboard
common
inline fun ChatMember.asRestrictedChatMember(): RestrictedChatMember?
asSecureValueIdentity
Link copied to clipboard
common
inline fun SecureValue.asSecureValueIdentity(): SecureValueIdentity?
asSecureValueWithData
Link copied to clipboard
common
inline fun SecureValue.asSecureValueWithData(): SecureValueWithData?
asSecureValueWithFiles
Link copied to clipboard
common
inline fun SecureValue.asSecureValueWithFiles(): SecureValueWithFiles?
asSecureValueWithReverseSide
Link copied to clipboard
common
inline fun SecureValue.asSecureValueWithReverseSide(): SecureValueWithReverseSide?
asSecureValueWithTranslations
Link copied to clipboard
common
asSendInvoice
Link copied to clipboard
common
inline fun CommonSendInvoiceData.asSendInvoice(): SendInvoice?
asSentMediaGroupUpdate
Link copied to clipboard
common
inline fun Update.asSentMediaGroupUpdate(): SentMediaGroupUpdate?
asShippingQueryUpdate
Link copied to clipboard
common
inline fun Update.asShippingQueryUpdate(): ShippingQueryUpdate?
asSignedMessage
Link copied to clipboard
common
inline fun Message.asSignedMessage(): SignedMessage?
asSizedInlineQueryResult
Link copied to clipboard
common
inline fun InlineQueryResult.asSizedInlineQueryResult(): SizedInlineQueryResult?
asSizedInputMedia
Link copied to clipboard
common
inline fun InputMedia.asSizedInputMedia(): SizedInputMedia?
asSizedMediaFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asSizedMediaFile(): SizedMediaFile?
asSlotMachineDiceAnimationType
Link copied to clipboard
common
asSpecialRightsChatMember
Link copied to clipboard
common
inline fun ChatMember.asSpecialRightsChatMember(): SpecialRightsChatMember?
asStaticLocation
Link copied to clipboard
common
inline fun Location.asStaticLocation(): StaticLocation?
asStaticLocationContent
Link copied to clipboard
common
inline fun ResendableContent.asStaticLocationContent(): StaticLocationContent?
asSticker
Link copied to clipboard
common
inline fun TelegramMediaFile.asSticker(): Sticker?
asStickerContent
Link copied to clipboard
common
inline fun ResendableContent.asStickerContent(): StickerContent?
asStrikethroughTextSource
Link copied to clipboard
common
inline fun TextSource.asStrikethroughTextSource(): StrikethroughTextSource?
asSupergroupChat
Link copied to clipboard
common
inline fun Chat.asSupergroupChat(): SupergroupChat?
asSupergroupChatCreated
Link copied to clipboard
common
inline fun ChatEvent.asSupergroupChatCreated(): SupergroupChatCreated?
asSupergroupEvent
Link copied to clipboard
common
inline fun ChatEvent.asSupergroupEvent(): SupergroupEvent?
asSupergroupEventMessage
Link copied to clipboard
common
inline fun Message.asSupergroupEventMessage(): SupergroupEventMessage<SupergroupEvent>?
asSuperPublicChat
Link copied to clipboard
common
inline fun Chat.asSuperPublicChat(): SuperPublicChat?
asTemporalRegistrationSecureValue
Link copied to clipboard
common
asTemporaryRegistration
Link copied to clipboard
common
asTextContent
Link copied to clipboard
common
inline fun ResendableContent.asTextContent(): TextContent?
asTextLinkTextSource
Link copied to clipboard
common
inline fun TextSource.asTextLinkTextSource(): TextLinkTextSource?
asTextMentionTextSource
Link copied to clipboard
common
inline fun TextSource.asTextMentionTextSource(): TextMentionTextSource?
asThumbedInlineQueryResult
Link copied to clipboard
common
asThumbedInputMedia
Link copied to clipboard
common
inline fun InputMedia.asThumbedInputMedia(): ThumbedInputMedia?
asThumbedMediaFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asThumbedMediaFile(): ThumbedMediaFile?
asThumbSizedInlineQueryResult
Link copied to clipboard
common
asTitledInlineQueryResult
Link copied to clipboard
common
inline fun InlineQueryResult.asTitledInlineQueryResult(): TitledInlineQueryResult?
asTitledInputMedia
Link copied to clipboard
common
inline fun InputMedia.asTitledInputMedia(): TitledInputMedia?
asTypingAction
Link copied to clipboard
common
inline fun BotAction.asTypingAction(): TypingAction?
asUnderlineTextSource
Link copied to clipboard
common
inline fun TextSource.asUnderlineTextSource(): UnderlineTextSource?
asUnknownCallbackQueryType
Link copied to clipboard
common
inline fun CallbackQuery.asUnknownCallbackQueryType(): UnknownCallbackQueryType?
asUnknownChatType
Link copied to clipboard
common
inline fun Chat.asUnknownChatType(): UnknownChatType?
asUnknownInlineKeyboardButton
Link copied to clipboard
common
asUnknownMessageType
Link copied to clipboard
common
inline fun Message.asUnknownMessageType(): UnknownMessageType?
asUnknownPassportElementError
Link copied to clipboard
common
asUnknownPollType
Link copied to clipboard
common
inline fun Poll.asUnknownPollType(): UnknownPollType?
asUnknownUpdate
Link copied to clipboard
common
inline fun Update.asUnknownUpdate(): UnknownUpdate?
asUploadDocumentAction
Link copied to clipboard
common
inline fun BotAction.asUploadDocumentAction(): UploadDocumentAction?
asUploadPhotoAction
Link copied to clipboard
common
inline fun BotAction.asUploadPhotoAction(): UploadPhotoAction?
asUploadVideoAction
Link copied to clipboard
common
inline fun BotAction.asUploadVideoAction(): UploadVideoAction?
asUploadVideoNoteAction
Link copied to clipboard
common
inline fun BotAction.asUploadVideoNoteAction(): UploadVideoNoteAction?
asUploadVoiceAction
Link copied to clipboard
common
inline fun BotAction.asUploadVoiceAction(): UploadVoiceAction?
asURLInlineKeyboardButton
Link copied to clipboard
common
asUrlInlineQueryResult
Link copied to clipboard
common
inline fun InlineQueryResult.asUrlInlineQueryResult(): UrlInlineQueryResult?
asURLTextSource
Link copied to clipboard
common
inline fun TextSource.asURLTextSource(): URLTextSource?
asUser
Link copied to clipboard
common
inline fun Chat.asUser(): User?
asUsernameChat
Link copied to clipboard
common
inline fun Chat.asUsernameChat(): UsernameChat?
asUtilityBill
Link copied to clipboard
common
inline fun EncryptedPassportElement.asUtilityBill(): UtilityBill?
asUtilityBillSecureValue
Link copied to clipboard
common
inline fun SecureValue.asUtilityBillSecureValue(): UtilityBillSecureValue?
asVenueContent
Link copied to clipboard
common
inline fun ResendableContent.asVenueContent(): VenueContent?
asVideoContent
Link copied to clipboard
common
inline fun ResendableContent.asVideoContent(): VideoContent?
asVideoFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asVideoFile(): VideoFile?
asVideoNoteContent
Link copied to clipboard
common
inline fun ResendableContent.asVideoNoteContent(): VideoNoteContent?
asVideoNoteFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asVideoNoteFile(): VideoNoteFile?
asVisualMediaGroupContent
Link copied to clipboard
common
inline fun ResendableContent.asVisualMediaGroupContent(): VisualMediaGroupContent?
asVisualMediaGroupMemberInputMedia
Link copied to clipboard
common
asVoiceChatEnded
Link copied to clipboard
common
inline fun ChatEvent.asVoiceChatEnded(): VoiceChatEnded?
asVoiceChatEvent
Link copied to clipboard
common
inline fun ChatEvent.asVoiceChatEvent(): VoiceChatEvent?
asVoiceChatParticipantsInvited
Link copied to clipboard
common
asVoiceChatStarted
Link copied to clipboard
common
inline fun ChatEvent.asVoiceChatStarted(): VoiceChatStarted?
asVoiceContent
Link copied to clipboard
common
inline fun ResendableContent.asVoiceContent(): VoiceContent?
asVoiceFile
Link copied to clipboard
common
inline fun TelegramMediaFile.asVoiceFile(): VoiceFile?
asWithOptionalLanguageCode
Link copied to clipboard
common
inline fun Any.asWithOptionalLanguageCode(): WithOptionalLanguageCode?
asWithUser
Link copied to clipboard
common
inline fun Any.asWithUser(): WithUser?
calculateSlotMachineResult
Link copied to clipboard
common
fun Dice.calculateSlotMachineResult(): SlotMachineResult?
commonMessages
Link copied to clipboard
common
inline fun <C : MessageContent, T : ContentMessage<C>> Flow<T>.commonMessages(): Flow<CommonMessage<C>>

Shortcut for onlyCommonMessages

flatMap
Link copied to clipboard
common
fun <T> Flow<Iterable<T>>.flatMap(): Flow<T>
fun <T, R> Flow<T>.flatMap(mapper: (T) -> Iterable<R>): Flow<R>
onlyAnimationContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyAnimationContentMessages(): Flow<ContentMessage<AnimationContent>>
onlyAudioContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyAudioContentMessages(): Flow<ContentMessage<AudioContent>>
onlyCommonMessages
Link copied to clipboard
common
fun <C : MessageContent, T : ContentMessage<C>> Flow<T>.onlyCommonMessages(): Flow<CommonMessage<C>>

Simple factory to convert ContentMessage to a CommonMessage

onlyContactContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyContactContentMessages(): Flow<ContentMessage<ContactContent>>
onlyDiceContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyDiceContentMessages(): Flow<ContentMessage<DiceContent>>
onlyDocumentContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyDocumentContentMessages(): Flow<ContentMessage<DocumentContent>>
onlyGameContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyGameContentMessages(): Flow<ContentMessage<GameContent>>
onlyInlineMessageIdDataCallbackQueries
Link copied to clipboard
common
onlyInvoiceContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyInvoiceContentMessages(): Flow<ContentMessage<InvoiceContent>>
onlyLocationContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyLocationContentMessages(): Flow<ContentMessage<LocationContent>>
onlyMessageDataCallbackQueries
Link copied to clipboard
common
fun <T : CallbackQuery> Flow<T>.onlyMessageDataCallbackQueries(): Flow<MessageDataCallbackQuery>
onlyPhotoContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyPhotoContentMessages(): Flow<ContentMessage<PhotoContent>>
onlyPollContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyPollContentMessages(): Flow<ContentMessage<PollContent>>
onlySentViaBot
Link copied to clipboard
common
fun <MC : MessageContent, M : ContentMessage<MC>> Flow<M>.onlySentViaBot(): Flow<Any>

Filter the messages and checking that incoming CommonMessage is PossiblySentViaBotCommonMessage and its PossiblySentViaBotCommonMessage.senderBot is not null

onlyStickerContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyStickerContentMessages(): Flow<ContentMessage<StickerContent>>
onlyTextContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyTextContentMessages(): Flow<ContentMessage<TextContent>>
onlyVenueContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyVenueContentMessages(): Flow<ContentMessage<VenueContent>>
onlyVideoContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyVideoContentMessages(): Flow<ContentMessage<VideoContent>>
onlyVideoNoteContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyVideoNoteContentMessages(): Flow<ContentMessage<VideoNoteContent>>
onlyVoiceContentMessages
Link copied to clipboard
common
fun Flow<ContentMessage<*>>.onlyVoiceContentMessages(): Flow<ContentMessage<VoiceContent>>
requireAddressSecureValue
Link copied to clipboard
common
inline fun SecureValue.requireAddressSecureValue(): AddressSecureValue
requireAdministratorChatMember
Link copied to clipboard
common
inline fun ChatMember.requireAdministratorChatMember(): AdministratorChatMember
requireAnimationContent
Link copied to clipboard
common
inline fun ResendableContent.requireAnimationContent(): AnimationContent
requireAnimationFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requireAnimationFile(): AnimationFile
requireAnonymousGroupContentMessage
Link copied to clipboard
requireAudioContent
Link copied to clipboard
common
inline fun ResendableContent.requireAudioContent(): AudioContent
requireAudioFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requireAudioFile(): AudioFile
requireAudioMediaGroupContent
Link copied to clipboard
common
requireAudioMediaGroupMemberInputMedia
Link copied to clipboard
requireBankStatement
Link copied to clipboard
common
inline fun EncryptedPassportElement.requireBankStatement(): BankStatement
requireBankStatementSecureValue
Link copied to clipboard
common
requireBannedChatMember
Link copied to clipboard
common
inline fun ChatMember.requireBannedChatMember(): BannedChatMember
requireBaseEditMessageUpdate
Link copied to clipboard
common
inline fun Update.requireBaseEditMessageUpdate(): BaseEditMessageUpdate
requireBaseInlineQuery
Link copied to clipboard
common
inline fun InlineQuery.requireBaseInlineQuery(): BaseInlineQuery
requireBaseMessageUpdate
Link copied to clipboard
common
inline fun Update.requireBaseMessageUpdate(): BaseMessageUpdate
requireBaseSentMessageUpdate
Link copied to clipboard
common
inline fun Update.requireBaseSentMessageUpdate(): BaseSentMessageUpdate
requireBasketballDiceAnimationType
Link copied to clipboard
common
requireBoldTextSource
Link copied to clipboard
common
inline fun TextSource.requireBoldTextSource(): BoldTextSource
requireBot
Link copied to clipboard
common
inline fun Chat.requireBot(): Bot
requireBotCommandTextSource
Link copied to clipboard
common
inline fun TextSource.requireBotCommandTextSource(): BotCommandTextSource
requireBowlingDiceAnimationType
Link copied to clipboard
common
requireCallbackQueryUpdate
Link copied to clipboard
common
inline fun Update.requireCallbackQueryUpdate(): CallbackQueryUpdate
requireCashTagTextSource
Link copied to clipboard
common
inline fun TextSource.requireCashTagTextSource(): CashTagTextSource
requireChannelChat
Link copied to clipboard
common
inline fun Chat.requireChannelChat(): ChannelChat
requireChannelChatCreated
Link copied to clipboard
common
inline fun ChatEvent.requireChannelChatCreated(): ChannelChatCreated
requireChannelContentMessage
Link copied to clipboard
common
requireChannelContentMessageImpl
Link copied to clipboard
common
requireChannelEvent
Link copied to clipboard
common
inline fun ChatEvent.requireChannelEvent(): ChannelEvent
requireChannelEventMessage
Link copied to clipboard
common
inline fun Message.requireChannelEventMessage(): ChannelEventMessage<ChannelEvent>
requireChannelMediaGroupMessage
Link copied to clipboard
common
requireChannelPostMediaGroupUpdate
Link copied to clipboard
common
requireChannelPostUpdate
Link copied to clipboard
common
inline fun Update.requireChannelPostUpdate(): ChannelPostUpdate
requireChatEventMessage
Link copied to clipboard
common
inline fun Message.requireChatEventMessage(): ChatEventMessage<ChatEvent>
requireChatMemberUpdatedUpdate
Link copied to clipboard
common
inline fun Update.requireChatMemberUpdatedUpdate(): ChatMemberUpdatedUpdate
requireChosenInlineResultUpdate
Link copied to clipboard
common
inline fun Update.requireChosenInlineResultUpdate(): ChosenInlineResultUpdate
requireCodeTextSource
Link copied to clipboard
common
inline fun TextSource.requireCodeTextSource(): CodeTextSource
requireCommonBot
Link copied to clipboard
common
inline fun Chat.requireCommonBot(): CommonBot
requireCommonChatMemberUpdatedUpdate
Link copied to clipboard
common
requireCommonEvent
Link copied to clipboard
common
inline fun ChatEvent.requireCommonEvent(): CommonEvent
requireCommonGroupContentMessage
Link copied to clipboard
common
requireCommonGroupEventMessage
Link copied to clipboard
common
requireCommonMediaGroupMessage
Link copied to clipboard
common
requireCommonMessage
Link copied to clipboard
common
inline fun Message.requireCommonMessage(): CommonMessage<MessageContent>
requireCommonPassport
Link copied to clipboard
common
inline fun EncryptedPassportElement.requireCommonPassport(): CommonPassport
requireCommonPassportSecureValue
Link copied to clipboard
common
requireCommonSupergroupEventMessage
Link copied to clipboard
requireCommonUser
Link copied to clipboard
common
inline fun Chat.requireCommonUser(): CommonUser
requireContactContent
Link copied to clipboard
common
inline fun ResendableContent.requireContactContent(): ContactContent
requireContentMessage
Link copied to clipboard
common
inline fun Message.requireContentMessage(): ContentMessage<MessageContent>
requireCreatorChatMember
Link copied to clipboard
common
inline fun ChatMember.requireCreatorChatMember(): CreatorChatMember
requireCubeDiceAnimationType
Link copied to clipboard
common
requireCustomDiceAnimationType
Link copied to clipboard
common
requireDartsDiceAnimationType
Link copied to clipboard
common
requireDataCallbackQuery
Link copied to clipboard
common
inline fun CallbackQuery.requireDataCallbackQuery(): DataCallbackQuery
requireDeleteChatPhoto
Link copied to clipboard
common
inline fun ChatEvent.requireDeleteChatPhoto(): DeleteChatPhoto
requireDescribedInlineQueryResult
Link copied to clipboard
common
requireDiceContent
Link copied to clipboard
common
inline fun ResendableContent.requireDiceContent(): DiceContent
requireDocumentContent
Link copied to clipboard
common
inline fun ResendableContent.requireDocumentContent(): DocumentContent
requireDocumentFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requireDocumentFile(): DocumentFile
requireDocumentMediaGroupContent
Link copied to clipboard
common
requireDriverLicense
Link copied to clipboard
common
inline fun EncryptedPassportElement.requireDriverLicense(): DriverLicense
requireDriverLicenseSecureValue
Link copied to clipboard
common
requireDuratedInputMedia
Link copied to clipboard
common
inline fun InputMedia.requireDuratedInputMedia(): DuratedInputMedia
requireEditChannelPostMediaGroupUpdate
Link copied to clipboard
common
requireEditChannelPostUpdate
Link copied to clipboard
common
inline fun Update.requireEditChannelPostUpdate(): EditChannelPostUpdate
requireEditMediaGroupUpdate
Link copied to clipboard
common
inline fun Update.requireEditMediaGroupUpdate(): EditMediaGroupUpdate
requireEditMessageMediaGroupUpdate
Link copied to clipboard
common
requireEditMessageUpdate
Link copied to clipboard
common
inline fun Update.requireEditMessageUpdate(): EditMessageUpdate
requireEmail
Link copied to clipboard
common
inline fun EncryptedPassportElement.requireEmail(): Email
requireEMailTextSource
Link copied to clipboard
common
inline fun TextSource.requireEMailTextSource(): EMailTextSource
requireEncryptedAddress
Link copied to clipboard
common
inline fun EncryptedPassportElement.requireEncryptedAddress(): EncryptedAddress
requireEncryptedPersonalDetails
Link copied to clipboard
requireExtendedBot
Link copied to clipboard
common
inline fun Chat.requireExtendedBot(): ExtendedBot
requireExtendedChannelChat
Link copied to clipboard
common
inline fun Chat.requireExtendedChannelChat(): ExtendedChannelChat
requireExtendedChat
Link copied to clipboard
common
inline fun Chat.requireExtendedChat(): ExtendedChat
requireExtendedGroupChat
Link copied to clipboard
common
inline fun Chat.requireExtendedGroupChat(): ExtendedGroupChat
requireExtendedPrivateChat
Link copied to clipboard
common
inline fun Chat.requireExtendedPrivateChat(): ExtendedPrivateChat
requireExtendedPublicChat
Link copied to clipboard
common
inline fun Chat.requireExtendedPublicChat(): ExtendedPublicChat
requireExtendedSupergroupChat
Link copied to clipboard
common
inline fun Chat.requireExtendedSupergroupChat(): ExtendedSupergroupChat
requireFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requireFile(): File
requireFileInlineQueryResult
Link copied to clipboard
common
requireFindLocationAction
Link copied to clipboard
common
inline fun BotAction.requireFindLocationAction(): FindLocationAction
requireFootballDiceAnimationType
Link copied to clipboard
common
requireForceReply
Link copied to clipboard
common
inline fun KeyboardMarkup.requireForceReply(): ReplyForce
requireFromUser
Link copied to clipboard
common
inline fun Any.requireFromUser(): FromUser
requireFromUserMessage
Link copied to clipboard
common
inline fun Message.requireFromUserMessage(): FromUserMessage
requireGameContent
Link copied to clipboard
common
inline fun ResendableContent.requireGameContent(): GameContent
requireGameShortNameCallbackQuery
Link copied to clipboard
common
requireGroupChat
Link copied to clipboard
common
inline fun Chat.requireGroupChat(): GroupChat
requireGroupChatCreated
Link copied to clipboard
common
inline fun ChatEvent.requireGroupChatCreated(): GroupChatCreated
requireGroupContentMessage
Link copied to clipboard
common
inline fun Message.requireGroupContentMessage(): GroupContentMessage<MessageContent>
requireGroupEvent
Link copied to clipboard
common
inline fun ChatEvent.requireGroupEvent(): GroupEvent
requireGroupEventMessage
Link copied to clipboard
common
inline fun Message.requireGroupEventMessage(): GroupEventMessage<GroupEvent>
requireHashTagTextSource
Link copied to clipboard
common
inline fun TextSource.requireHashTagTextSource(): HashTagTextSource
requireIdentityCard
Link copied to clipboard
common
inline fun EncryptedPassportElement.requireIdentityCard(): IdentityCard
requireIdentityCardSecureValue
Link copied to clipboard
common
inline fun SecureValue.requireIdentityCardSecureValue(): IdentityCardSecureValue
requireInlineKeyboardMarkup
Link copied to clipboard
common
inline fun KeyboardMarkup.requireInlineKeyboardMarkup(): InlineKeyboardMarkup
requireInlineMessageIdCallbackQuery
Link copied to clipboard
common
requireInlineQueryResultArticle
Link copied to clipboard
common
requireInlineQueryResultAudio
Link copied to clipboard
common
requireInlineQueryResultAudioCached
Link copied to clipboard
requireInlineQueryResultAudioCommon
Link copied to clipboard
requireInlineQueryResultContact
Link copied to clipboard
common
requireInlineQueryResultDocument
Link copied to clipboard
common
requireInlineQueryResultGame
Link copied to clipboard
common
requireInlineQueryResultGif
Link copied to clipboard
common
inline fun InlineQueryResult.requireInlineQueryResultGif(): InlineQueryResultGif
requireInlineQueryResultGifCached
Link copied to clipboard
common
requireInlineQueryResultGifCommon
Link copied to clipboard
common
requireInlineQueryResultLocation
Link copied to clipboard
common
requireInlineQueryResultMpeg4Gif
Link copied to clipboard
common
requireInlineQueryResultPhoto
Link copied to clipboard
common
requireInlineQueryResultPhotoCached
Link copied to clipboard
requireInlineQueryResultPhotoCommon
Link copied to clipboard
requireInlineQueryResultVenue
Link copied to clipboard
common
requireInlineQueryResultVideo
Link copied to clipboard
common
requireInlineQueryResultVideoCached
Link copied to clipboard
requireInlineQueryResultVideoCommon
Link copied to clipboard
requireInlineQueryResultVoice
Link copied to clipboard
common
requireInlineQueryResultVoiceCached
Link copied to clipboard
requireInlineQueryResultVoiceCommon
Link copied to clipboard
requireInlineQueryUpdate
Link copied to clipboard
common
inline fun Update.requireInlineQueryUpdate(): InlineQueryUpdate
requireInputContactMessageContent
Link copied to clipboard
common
requireInputLocationMessageContent
Link copied to clipboard
requireInputMediaAnimation
Link copied to clipboard
common
inline fun InputMedia.requireInputMediaAnimation(): InputMediaAnimation
requireInputMediaAudio
Link copied to clipboard
common
inline fun InputMedia.requireInputMediaAudio(): InputMediaAudio
requireInputMediaDocument
Link copied to clipboard
common
inline fun InputMedia.requireInputMediaDocument(): InputMediaDocument
requireInputMediaPhoto
Link copied to clipboard
common
inline fun InputMedia.requireInputMediaPhoto(): InputMediaPhoto
requireInputMediaVideo
Link copied to clipboard
common
inline fun InputMedia.requireInputMediaVideo(): InputMediaVideo
requireInputTextMessageContent
Link copied to clipboard
common
requireInputVenueMessageContent
Link copied to clipboard
common
requireInternalPassport
Link copied to clipboard
common
inline fun EncryptedPassportElement.requireInternalPassport(): InternalPassport
requireInternalPassportSecureValue
Link copied to clipboard
common
requireInvoiceContent
Link copied to clipboard
common
inline fun ResendableContent.requireInvoiceContent(): InvoiceContent
requireItalicTextSource
Link copied to clipboard
common
inline fun TextSource.requireItalicTextSource(): ItalicTextSource
requireKickedChatMember
Link copied to clipboard
common
inline fun ChatMember.requireKickedChatMember(): KickedChatMember
requireLeftChatMember
Link copied to clipboard
common
inline fun ChatMember.requireLeftChatMember(): LeftChatMember
inline fun ChatEvent.requireLeftChatMember(): LeftChatMember
requireLiveLocation
Link copied to clipboard
common
inline fun Location.requireLiveLocation(): LiveLocation
requireLiveLocationContent
Link copied to clipboard
common
inline fun ResendableContent.requireLiveLocationContent(): LiveLocationContent
requireLocationContent
Link copied to clipboard
common
inline fun ResendableContent.requireLocationContent(): LocationContent
requireLocationInlineQuery
Link copied to clipboard
common
inline fun InlineQuery.requireLocationInlineQuery(): LocationInlineQuery
requireMediaCollectionContent
Link copied to clipboard
requireMediaContent
Link copied to clipboard
common
inline fun ResendableContent.requireMediaContent(): MediaContent
requireMediaGroupContent
Link copied to clipboard
common
inline fun ResendableContent.requireMediaGroupContent(): MediaGroupContent
requireMediaGroupMemberInputMedia
Link copied to clipboard
common
requireMediaGroupMessage
Link copied to clipboard
common
inline fun Message.requireMediaGroupMessage(): MediaGroupMessage<MediaGroupContent>
requireMediaGroupUpdate
Link copied to clipboard
common
inline fun Update.requireMediaGroupUpdate(): MediaGroupUpdate
requireMemberChatMember
Link copied to clipboard
common
inline fun ChatMember.requireMemberChatMember(): MemberChatMember
requireMentionTextSource
Link copied to clipboard
common
inline fun TextSource.requireMentionTextSource(): MentionTextSource
requireMessageAutoDeleteTimerChanged
Link copied to clipboard
common
requireMessageCallbackQuery
Link copied to clipboard
common
inline fun CallbackQuery.requireMessageCallbackQuery(): MessageCallbackQuery
requireMessageContent
Link copied to clipboard
common
inline fun ResendableContent.requireMessageContent(): MessageContent
requireMessageDataCallbackQuery
Link copied to clipboard
common
requireMessageMediaGroupUpdate
Link copied to clipboard
common
inline fun Update.requireMessageMediaGroupUpdate(): MessageMediaGroupUpdate
requireMessageUpdate
Link copied to clipboard
common
inline fun Update.requireMessageUpdate(): MessageUpdate
requireMimedMediaFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requireMimedMediaFile(): MimedMediaFile
requireMultilevelTextSource
Link copied to clipboard
common
inline fun TextSource.requireMultilevelTextSource(): MultilevelTextSource
requireMultipleAnswersPoll
Link copied to clipboard
common
inline fun Poll.requireMultipleAnswersPoll(): MultipleAnswersPoll
requireMyChatMemberUpdatedUpdate
Link copied to clipboard
common
inline fun Update.requireMyChatMemberUpdatedUpdate(): MyChatMemberUpdatedUpdate
requireNewChatMembers
Link copied to clipboard
common
inline fun ChatEvent.requireNewChatMembers(): NewChatMembers
requireNewChatPhoto
Link copied to clipboard
common
inline fun ChatEvent.requireNewChatPhoto(): NewChatPhoto
requireNewChatTitle
Link copied to clipboard
common
inline fun ChatEvent.requireNewChatTitle(): NewChatTitle
requireOtherDocumentsSecureValue
Link copied to clipboard
common
requirePassport
Link copied to clipboard
common
inline fun EncryptedPassportElement.requirePassport(): Passport
requirePassportElementErrorFile
Link copied to clipboard
common
requirePassportElementErrorFiles
Link copied to clipboard
common
requirePassportElementErrorSelfie
Link copied to clipboard
requirePassportElementFileError
Link copied to clipboard
common
requirePassportElementFilesError
Link copied to clipboard
common
requirePassportMessage
Link copied to clipboard
common
inline fun Message.requirePassportMessage(): PassportMessage
requirePassportRegistration
Link copied to clipboard
common
requirePassportSecureValue
Link copied to clipboard
common
inline fun SecureValue.requirePassportSecureValue(): PassportSecureValue
requirePassportSingleElementError
Link copied to clipboard
requirePathedFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requirePathedFile(): PathedFile
requirePayInlineKeyboardButton
Link copied to clipboard
common
requirePersonalDetailsSecureValue
Link copied to clipboard
common
requirePhoneNumber
Link copied to clipboard
common
inline fun EncryptedPassportElement.requirePhoneNumber(): PhoneNumber
requirePhoneNumberTextSource
Link copied to clipboard
common
inline fun TextSource.requirePhoneNumberTextSource(): PhoneNumberTextSource
requirePhotoContent
Link copied to clipboard
common
inline fun ResendableContent.requirePhotoContent(): PhotoContent
requirePhotoSize
Link copied to clipboard
common
inline fun TelegramMediaFile.requirePhotoSize(): PhotoSize
requirePinnedMessage
Link copied to clipboard
common
inline fun ChatEvent.requirePinnedMessage(): PinnedMessage
requirePlayableMediaFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requirePlayableMediaFile(): PlayableMediaFile
requirePollAnswerUpdate
Link copied to clipboard
common
inline fun Update.requirePollAnswerUpdate(): PollAnswerUpdate
requirePollContent
Link copied to clipboard
common
inline fun ResendableContent.requirePollContent(): PollContent
requirePollUpdate
Link copied to clipboard
common
inline fun Update.requirePollUpdate(): PollUpdate
requirePossiblyEditedMessage
Link copied to clipboard
common
inline fun Message.requirePossiblyEditedMessage(): PossiblyEditedMessage
requirePossiblyForwardedMessage
Link copied to clipboard
common
inline fun Message.requirePossiblyForwardedMessage(): PossiblyForwardedMessage
requirePossiblyPaymentMessage
Link copied to clipboard
common
inline fun Message.requirePossiblyPaymentMessage(): PossiblyPaymentMessage
requirePossiblyReplyMessage
Link copied to clipboard
common
inline fun Message.requirePossiblyReplyMessage(): PossiblyReplyMessage
requirePreCheckoutQueryUpdate
Link copied to clipboard
common
inline fun Update.requirePreCheckoutQueryUpdate(): PreCheckoutQueryUpdate
requirePreTextSource
Link copied to clipboard
common
inline fun TextSource.requirePreTextSource(): PreTextSource
requirePrivateChat
Link copied to clipboard
common
inline fun Chat.requirePrivateChat(): PrivateChat
requirePrivateContentMessage
Link copied to clipboard
common
requirePrivateContentMessageImpl
Link copied to clipboard
common
requirePrivateEventMessage
Link copied to clipboard
common
inline fun Message.requirePrivateEventMessage(): PrivateEventMessage<PrivateEvent>
requireProximityAlertTriggered
Link copied to clipboard
common
inline fun ChatEvent.requireProximityAlertTriggered(): ProximityAlertTriggered
requirePublicChat
Link copied to clipboard
common
inline fun Chat.requirePublicChat(): PublicChat
requirePublicChatEvent
Link copied to clipboard
common
inline fun ChatEvent.requirePublicChatEvent(): PublicChatEvent
requirePublicContentMessage
Link copied to clipboard
common
requireQuizPoll
Link copied to clipboard
common
inline fun Poll.requireQuizPoll(): QuizPoll
requireRecordVideoAction
Link copied to clipboard
common
inline fun BotAction.requireRecordVideoAction(): RecordVideoAction
requireRecordVideoNoteAction
Link copied to clipboard
common
inline fun BotAction.requireRecordVideoNoteAction(): RecordVideoNoteAction
requireRecordVoiceAction
Link copied to clipboard
common
inline fun BotAction.requireRecordVoiceAction(): RecordVoiceAction
requireRegularPoll
Link copied to clipboard
common
inline fun Poll.requireRegularPoll(): RegularPoll
requireRegularTextSource
Link copied to clipboard
common
inline fun TextSource.requireRegularTextSource(): RegularTextSource
requireRentalAgreement
Link copied to clipboard
common
inline fun EncryptedPassportElement.requireRentalAgreement(): RentalAgreement
requireRentalAgreementSecureValue
Link copied to clipboard
common
requireReplyKeyboardMarkup
Link copied to clipboard
common
inline fun KeyboardMarkup.requireReplyKeyboardMarkup(): ReplyKeyboardMarkup
requireReplyKeyboardRemove
Link copied to clipboard
common
inline fun KeyboardMarkup.requireReplyKeyboardRemove(): ReplyKeyboardRemove
requireRestrictedChatMember
Link copied to clipboard
common
inline fun ChatMember.requireRestrictedChatMember(): RestrictedChatMember
requireSecureValueIdentity
Link copied to clipboard
common
inline fun SecureValue.requireSecureValueIdentity(): SecureValueIdentity
requireSecureValueWithData
Link copied to clipboard
common
inline fun SecureValue.requireSecureValueWithData(): SecureValueWithData
requireSecureValueWithFiles
Link copied to clipboard
common
inline fun SecureValue.requireSecureValueWithFiles(): SecureValueWithFiles
requireSecureValueWithReverseSide
Link copied to clipboard
common
requireSecureValueWithTranslations
Link copied to clipboard
common
requireSentMediaGroupUpdate
Link copied to clipboard
common
inline fun Update.requireSentMediaGroupUpdate(): SentMediaGroupUpdate
requireShippingQueryUpdate
Link copied to clipboard
common
inline fun Update.requireShippingQueryUpdate(): ShippingQueryUpdate
requireSignedMessage
Link copied to clipboard
common
inline fun Message.requireSignedMessage(): SignedMessage
requireSizedInlineQueryResult
Link copied to clipboard
common
requireSizedInputMedia
Link copied to clipboard
common
inline fun InputMedia.requireSizedInputMedia(): SizedInputMedia
requireSizedMediaFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requireSizedMediaFile(): SizedMediaFile
requireSlotMachineDiceAnimationType
Link copied to clipboard
requireSpecialRightsChatMember
Link copied to clipboard
common
inline fun ChatMember.requireSpecialRightsChatMember(): SpecialRightsChatMember
requireStaticLocation
Link copied to clipboard
common
inline fun Location.requireStaticLocation(): StaticLocation
requireStaticLocationContent
Link copied to clipboard
common
requireSticker
Link copied to clipboard
common
inline fun TelegramMediaFile.requireSticker(): Sticker
requireStickerContent
Link copied to clipboard
common
inline fun ResendableContent.requireStickerContent(): StickerContent
requireStrikethroughTextSource
Link copied to clipboard
common
inline fun TextSource.requireStrikethroughTextSource(): StrikethroughTextSource
requireSupergroupChat
Link copied to clipboard
common
inline fun Chat.requireSupergroupChat(): SupergroupChat
requireSupergroupChatCreated
Link copied to clipboard
common
inline fun ChatEvent.requireSupergroupChatCreated(): SupergroupChatCreated
requireSupergroupEvent
Link copied to clipboard
common
inline fun ChatEvent.requireSupergroupEvent(): SupergroupEvent
requireSupergroupEventMessage
Link copied to clipboard
common
requireSuperPublicChat
Link copied to clipboard
common
inline fun Chat.requireSuperPublicChat(): SuperPublicChat
requireTemporaryRegistration
Link copied to clipboard
common
requireTextContent
Link copied to clipboard
common
inline fun ResendableContent.requireTextContent(): TextContent
requireTextLinkTextSource
Link copied to clipboard
common
inline fun TextSource.requireTextLinkTextSource(): TextLinkTextSource
requireTextMentionTextSource
Link copied to clipboard
common
inline fun TextSource.requireTextMentionTextSource(): TextMentionTextSource
requireThumbedInlineQueryResult
Link copied to clipboard
common
requireThumbedInputMedia
Link copied to clipboard
common
inline fun InputMedia.requireThumbedInputMedia(): ThumbedInputMedia
requireThumbedMediaFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requireThumbedMediaFile(): ThumbedMediaFile
requireThumbSizedInlineQueryResult
Link copied to clipboard
common
requireTitledInlineQueryResult
Link copied to clipboard
common
requireTitledInputMedia
Link copied to clipboard
common
inline fun InputMedia.requireTitledInputMedia(): TitledInputMedia
requireTypingAction
Link copied to clipboard
common
inline fun BotAction.requireTypingAction(): TypingAction
requireUnderlineTextSource
Link copied to clipboard
common
inline fun TextSource.requireUnderlineTextSource(): UnderlineTextSource
requireUnknownCallbackQueryType
Link copied to clipboard
common
requireUnknownChatType
Link copied to clipboard
common
inline fun Chat.requireUnknownChatType(): UnknownChatType
requireUnknownInlineKeyboardButton
Link copied to clipboard
requireUnknownMessageType
Link copied to clipboard
common
inline fun Message.requireUnknownMessageType(): UnknownMessageType
requireUnknownPassportElementError
Link copied to clipboard
requireUnknownPollType
Link copied to clipboard
common
inline fun Poll.requireUnknownPollType(): UnknownPollType
requireUnknownUpdate
Link copied to clipboard
common
inline fun Update.requireUnknownUpdate(): UnknownUpdate
requireUploadDocumentAction
Link copied to clipboard
common
inline fun BotAction.requireUploadDocumentAction(): UploadDocumentAction
requireUploadPhotoAction
Link copied to clipboard
common
inline fun BotAction.requireUploadPhotoAction(): UploadPhotoAction
requireUploadVideoAction
Link copied to clipboard
common
inline fun BotAction.requireUploadVideoAction(): UploadVideoAction
requireUploadVideoNoteAction
Link copied to clipboard
common
inline fun BotAction.requireUploadVideoNoteAction(): UploadVideoNoteAction
requireUploadVoiceAction
Link copied to clipboard
common
inline fun BotAction.requireUploadVoiceAction(): UploadVoiceAction
requireURLInlineKeyboardButton
Link copied to clipboard
common
requireUrlInlineQueryResult
Link copied to clipboard
common
inline fun InlineQueryResult.requireUrlInlineQueryResult(): UrlInlineQueryResult
requireURLTextSource
Link copied to clipboard
common
inline fun TextSource.requireURLTextSource(): URLTextSource
requireUser
Link copied to clipboard
common
inline fun Chat.requireUser(): User
requireUsernameChat
Link copied to clipboard
common
inline fun Chat.requireUsernameChat(): UsernameChat
requireUtilityBill
Link copied to clipboard
common
inline fun EncryptedPassportElement.requireUtilityBill(): UtilityBill
requireUtilityBillSecureValue
Link copied to clipboard
common
inline fun SecureValue.requireUtilityBillSecureValue(): UtilityBillSecureValue
requireVenueContent
Link copied to clipboard
common
inline fun ResendableContent.requireVenueContent(): VenueContent
requireVideoContent
Link copied to clipboard
common
inline fun ResendableContent.requireVideoContent(): VideoContent
requireVideoFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requireVideoFile(): VideoFile
requireVideoNoteContent
Link copied to clipboard
common
inline fun ResendableContent.requireVideoNoteContent(): VideoNoteContent
requireVideoNoteFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requireVideoNoteFile(): VideoNoteFile
requireVisualMediaGroupContent
Link copied to clipboard
common
requireVoiceChatEnded
Link copied to clipboard
common
inline fun ChatEvent.requireVoiceChatEnded(): VoiceChatEnded
requireVoiceChatEvent
Link copied to clipboard
common
inline fun ChatEvent.requireVoiceChatEvent(): VoiceChatEvent
requireVoiceChatParticipantsInvited
Link copied to clipboard
common
requireVoiceChatStarted
Link copied to clipboard
common
inline fun ChatEvent.requireVoiceChatStarted(): VoiceChatStarted
requireVoiceContent
Link copied to clipboard
common
inline fun ResendableContent.requireVoiceContent(): VoiceContent
requireVoiceFile
Link copied to clipboard
common
inline fun TelegramMediaFile.requireVoiceFile(): VoiceFile
requireWithContent
Link copied to clipboard
common
inline fun <T : MessageContent> ChannelContentMessage<*>.requireWithContent(): ChannelContentMessage<T>
inline fun <T : MessageContent> CommonMessage<*>.requireWithContent(): CommonMessage<T>
inline fun <T : MessageContent> ContentMessage<*>.requireWithContent(): ContentMessage<T>
inline fun <T : MessageContent> GroupContentMessage<*>.requireWithContent(): GroupContentMessage<T>
inline fun <T : MediaGroupContent> MediaGroupMessage<*>.requireWithContent(): MediaGroupMessage<T>
inline fun <T : MessageContent> PrivateContentMessage<*>.requireWithContent(): PrivateContentMessage<T>
inline fun <T : MessageContent> PublicContentMessage<*>.requireWithContent(): PublicContentMessage<T>
requireWithOptionalLanguageCode
Link copied to clipboard
common
inline fun Any.requireWithOptionalLanguageCode(): WithOptionalLanguageCode
requireWithUser
Link copied to clipboard
common
inline fun Any.requireWithUser(): WithUser
whenAddressSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenAddressSecureValue(block: (AddressSecureValue) -> T): T?
whenAdministratorChatMember
Link copied to clipboard
common
inline fun <T> ChatMember.whenAdministratorChatMember(block: (AdministratorChatMember) -> T): T?
whenAnimationContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenAnimationContent(block: (AnimationContent) -> T): T?
whenAnimationFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenAnimationFile(block: (AnimationFile) -> T): T?
whenAnonymousGroupContentMessage
Link copied to clipboard
common
inline fun <T> Message.whenAnonymousGroupContentMessage(block: (AnonymousGroupContentMessage<MessageContent>) -> T): T?
whenAnonymousGroupContentMessageImpl
Link copied to clipboard
common
inline fun <T> Message.whenAnonymousGroupContentMessageImpl(block: (AnonymousGroupContentMessageImpl<MessageContent>) -> T): T?
whenAudioContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenAudioContent(block: (AudioContent) -> T): T?
whenAudioFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenAudioFile(block: (AudioFile) -> T): T?
whenAudioMediaGroupContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenAudioMediaGroupContent(block: (AudioMediaGroupContent) -> T): T?
whenAudioMediaGroupMemberInputMedia
Link copied to clipboard
common
inline fun <T> InputMedia.whenAudioMediaGroupMemberInputMedia(block: (AudioMediaGroupMemberInputMedia) -> T): T?
whenBankStatement
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenBankStatement(block: (BankStatement) -> T): T?
whenBankStatementSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenBankStatementSecureValue(block: (BankStatementSecureValue) -> T): T?
whenBannedChatMember
Link copied to clipboard
common
inline fun <T> ChatMember.whenBannedChatMember(block: (BannedChatMember) -> T): T?
whenBaseEditMessageUpdate
Link copied to clipboard
common
inline fun <T> Update.whenBaseEditMessageUpdate(block: (BaseEditMessageUpdate) -> T): T?
whenBaseInlineQuery
Link copied to clipboard
common
inline fun <T> InlineQuery.whenBaseInlineQuery(block: (BaseInlineQuery) -> T): T?
whenBaseMessageUpdate
Link copied to clipboard
common
inline fun <T> Update.whenBaseMessageUpdate(block: (BaseMessageUpdate) -> T): T?
whenBaseSentMessageUpdate
Link copied to clipboard
common
inline fun <T> Update.whenBaseSentMessageUpdate(block: (BaseSentMessageUpdate) -> T): T?
whenBasketballDiceAnimationType
Link copied to clipboard
common
inline fun <T> DiceAnimationType.whenBasketballDiceAnimationType(block: (BasketballDiceAnimationType) -> T): T?
whenBoldTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenBoldTextSource(block: (BoldTextSource) -> T): T?
whenBot
Link copied to clipboard
common
inline fun <T> Chat.whenBot(block: (Bot) -> T): T?
whenBotCommandTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenBotCommandTextSource(block: (BotCommandTextSource) -> T): T?
whenBowlingDiceAnimationType
Link copied to clipboard
common
inline fun <T> DiceAnimationType.whenBowlingDiceAnimationType(block: (BowlingDiceAnimationType) -> T): T?
whenCallbackDataInlineKeyboardButton
Link copied to clipboard
common
whenCallbackGameInlineKeyboardButton
Link copied to clipboard
common
whenCallbackQueryUpdate
Link copied to clipboard
common
inline fun <T> Update.whenCallbackQueryUpdate(block: (CallbackQueryUpdate) -> T): T?
whenCashTagTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenCashTagTextSource(block: (CashTagTextSource) -> T): T?
whenChannelChat
Link copied to clipboard
common
inline fun <T> Chat.whenChannelChat(block: (ChannelChat) -> T): T?
whenChannelChatCreated
Link copied to clipboard
common
inline fun <T> ChatEvent.whenChannelChatCreated(block: (ChannelChatCreated) -> T): T?
whenChannelContentMessage
Link copied to clipboard
common
inline fun <T> Message.whenChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T?
whenChannelContentMessageImpl
Link copied to clipboard
common
inline fun <T> Message.whenChannelContentMessageImpl(block: (ChannelContentMessageImpl<MessageContent>) -> T): T?
whenChannelEvent
Link copied to clipboard
common
inline fun <T> ChatEvent.whenChannelEvent(block: (ChannelEvent) -> T): T?
whenChannelEventMessage
Link copied to clipboard
common
inline fun <T> Message.whenChannelEventMessage(block: (ChannelEventMessage<ChannelEvent>) -> T): T?
whenChannelMediaGroupMessage
Link copied to clipboard
common
inline fun <T> Message.whenChannelMediaGroupMessage(block: (ChannelMediaGroupMessage<MediaGroupContent>) -> T): T?
whenChannelPostMediaGroupUpdate
Link copied to clipboard
common
inline fun <T> Update.whenChannelPostMediaGroupUpdate(block: (ChannelPostMediaGroupUpdate) -> T): T?
whenChannelPostUpdate
Link copied to clipboard
common
inline fun <T> Update.whenChannelPostUpdate(block: (ChannelPostUpdate) -> T): T?
whenChatEventMessage
Link copied to clipboard
common
inline fun <T> Message.whenChatEventMessage(block: (ChatEventMessage<ChatEvent>) -> T): T?
whenChatMemberUpdatedUpdate
Link copied to clipboard
common
inline fun <T> Update.whenChatMemberUpdatedUpdate(block: (ChatMemberUpdatedUpdate) -> T): T?
whenChosenInlineResultUpdate
Link copied to clipboard
common
inline fun <T> Update.whenChosenInlineResultUpdate(block: (ChosenInlineResultUpdate) -> T): T?
whenCodeTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenCodeTextSource(block: (CodeTextSource) -> T): T?
whenCommonBot
Link copied to clipboard
common
inline fun <T> Chat.whenCommonBot(block: (CommonBot) -> T): T?
whenCommonChatMemberUpdatedUpdate
Link copied to clipboard
common
inline fun <T> Update.whenCommonChatMemberUpdatedUpdate(block: (CommonChatMemberUpdatedUpdate) -> T): T?
whenCommonEvent
Link copied to clipboard
common
inline fun <T> ChatEvent.whenCommonEvent(block: (CommonEvent) -> T): T?
whenCommonGroupContentMessage
Link copied to clipboard
common
inline fun <T> Message.whenCommonGroupContentMessage(block: (CommonGroupContentMessage<MessageContent>) -> T): T?
whenCommonGroupEventMessage
Link copied to clipboard
common
inline fun <T> Message.whenCommonGroupEventMessage(block: (CommonGroupEventMessage<GroupEvent>) -> T): T?
whenCommonMediaGroupMessage
Link copied to clipboard
common
inline fun <T> Message.whenCommonMediaGroupMessage(block: (CommonMediaGroupMessage<MediaGroupContent>) -> T): T?
whenCommonMessage
Link copied to clipboard
common
inline fun <T> Message.whenCommonMessage(block: (CommonMessage<MessageContent>) -> T): T?
whenCommonPassport
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenCommonPassport(block: (CommonPassport) -> T): T?
whenCommonPassportSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenCommonPassportSecureValue(block: (CommonPassportSecureValue) -> T): T?
whenCommonSupergroupEventMessage
Link copied to clipboard
common
inline fun <T> Message.whenCommonSupergroupEventMessage(block: (CommonSupergroupEventMessage<SupergroupEvent>) -> T): T?
whenCommonUser
Link copied to clipboard
common
inline fun <T> Chat.whenCommonUser(block: (CommonUser) -> T): T?
whenContactContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenContactContent(block: (ContactContent) -> T): T?
whenContentMessage
Link copied to clipboard
common
inline fun <T> Message.whenContentMessage(block: (ContentMessage<MessageContent>) -> T): T?
whenCreatorChatMember
Link copied to clipboard
common
inline fun <T> ChatMember.whenCreatorChatMember(block: (CreatorChatMember) -> T): T?
whenCubeDiceAnimationType
Link copied to clipboard
common
inline fun <T> DiceAnimationType.whenCubeDiceAnimationType(block: (CubeDiceAnimationType) -> T): T?
whenCustomDiceAnimationType
Link copied to clipboard
common
inline fun <T> DiceAnimationType.whenCustomDiceAnimationType(block: (CustomDiceAnimationType) -> T): T?
whenDartsDiceAnimationType
Link copied to clipboard
common
inline fun <T> DiceAnimationType.whenDartsDiceAnimationType(block: (DartsDiceAnimationType) -> T): T?
whenDataCallbackQuery
Link copied to clipboard
common
inline fun <T> CallbackQuery.whenDataCallbackQuery(block: (DataCallbackQuery) -> T): T?
whenDeleteChatPhoto
Link copied to clipboard
common
inline fun <T> ChatEvent.whenDeleteChatPhoto(block: (DeleteChatPhoto) -> T): T?
whenDescribedInlineQueryResult
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenDescribedInlineQueryResult(block: (DescribedInlineQueryResult) -> T): T?
whenDiceContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenDiceContent(block: (DiceContent) -> T): T?
whenDocumentContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenDocumentContent(block: (DocumentContent) -> T): T?
whenDocumentFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenDocumentFile(block: (DocumentFile) -> T): T?
whenDocumentMediaGroupContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenDocumentMediaGroupContent(block: (DocumentMediaGroupContent) -> T): T?
whenDocumentMediaGroupMemberInputMedia
Link copied to clipboard
common
inline fun <T> InputMedia.whenDocumentMediaGroupMemberInputMedia(block: (DocumentMediaGroupMemberInputMedia) -> T): T?
whenDriverLicense
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenDriverLicense(block: (DriverLicense) -> T): T?
whenDriverLicenseSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenDriverLicenseSecureValue(block: (DriverLicenseSecureValue) -> T): T?
whenDuratedInputMedia
Link copied to clipboard
common
inline fun <T> InputMedia.whenDuratedInputMedia(block: (DuratedInputMedia) -> T): T?
whenEditChannelPostMediaGroupUpdate
Link copied to clipboard
common
inline fun <T> Update.whenEditChannelPostMediaGroupUpdate(block: (EditChannelPostMediaGroupUpdate) -> T): T?
whenEditChannelPostUpdate
Link copied to clipboard
common
inline fun <T> Update.whenEditChannelPostUpdate(block: (EditChannelPostUpdate) -> T): T?
whenEditMediaGroupUpdate
Link copied to clipboard
common
inline fun <T> Update.whenEditMediaGroupUpdate(block: (EditMediaGroupUpdate) -> T): T?
whenEditMessageMediaGroupUpdate
Link copied to clipboard
common
inline fun <T> Update.whenEditMessageMediaGroupUpdate(block: (EditMessageMediaGroupUpdate) -> T): T?
whenEditMessageUpdate
Link copied to clipboard
common
inline fun <T> Update.whenEditMessageUpdate(block: (EditMessageUpdate) -> T): T?
whenEmail
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenEmail(block: (Email) -> T): T?
whenEMailTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenEMailTextSource(block: (EMailTextSource) -> T): T?
whenEncryptedAddress
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenEncryptedAddress(block: (EncryptedAddress) -> T): T?
whenEncryptedPassportElementWithData
Link copied to clipboard
common
whenEncryptedPassportElementWithEmail
Link copied to clipboard
common
whenEncryptedPassportElementWithSelfie
Link copied to clipboard
common
whenEncryptedPersonalDetails
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenEncryptedPersonalDetails(block: (EncryptedPersonalDetails) -> T): T?
whenExtendedBot
Link copied to clipboard
common
inline fun <T> Chat.whenExtendedBot(block: (ExtendedBot) -> T): T?
whenExtendedChannelChat
Link copied to clipboard
common
inline fun <T> Chat.whenExtendedChannelChat(block: (ExtendedChannelChat) -> T): T?
whenExtendedChat
Link copied to clipboard
common
inline fun <T> Chat.whenExtendedChat(block: (ExtendedChat) -> T): T?
whenExtendedGroupChat
Link copied to clipboard
common
inline fun <T> Chat.whenExtendedGroupChat(block: (ExtendedGroupChat) -> T): T?
whenExtendedPrivateChat
Link copied to clipboard
common
inline fun <T> Chat.whenExtendedPrivateChat(block: (ExtendedPrivateChat) -> T): T?
whenExtendedPublicChat
Link copied to clipboard
common
inline fun <T> Chat.whenExtendedPublicChat(block: (ExtendedPublicChat) -> T): T?
whenExtendedSupergroupChat
Link copied to clipboard
common
inline fun <T> Chat.whenExtendedSupergroupChat(block: (ExtendedSupergroupChat) -> T): T?
whenFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenFile(block: (File) -> T): T?
whenFileInlineQueryResult
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenFileInlineQueryResult(block: (FileInlineQueryResult) -> T): T?
whenFindLocationAction
Link copied to clipboard
common
inline fun <T> BotAction.whenFindLocationAction(block: (FindLocationAction) -> T): T?
whenFootballDiceAnimationType
Link copied to clipboard
common
inline fun <T> DiceAnimationType.whenFootballDiceAnimationType(block: (FootballDiceAnimationType) -> T): T?
whenForceReply
Link copied to clipboard
common
inline fun <T> KeyboardMarkup.whenForceReply(block: (ReplyForce) -> T): T?
whenFromChannelGroupContentMessage
Link copied to clipboard
common
inline fun <T> Message.whenFromChannelGroupContentMessage(block: (FromChannelGroupContentMessage<MessageContent>) -> T): T?
whenFromChannelGroupContentMessageImpl
Link copied to clipboard
common
whenFromUser
Link copied to clipboard
common
inline fun <T> Any.whenFromUser(block: (FromUser) -> T): T?
whenFromUserMessage
Link copied to clipboard
common
inline fun <T> Message.whenFromUserMessage(block: (FromUserMessage) -> T): T?
whenGameContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenGameContent(block: (GameContent) -> T): T?
whenGameShortNameCallbackQuery
Link copied to clipboard
common
inline fun <T> CallbackQuery.whenGameShortNameCallbackQuery(block: (GameShortNameCallbackQuery) -> T): T?
whenGroupChat
Link copied to clipboard
common
inline fun <T> Chat.whenGroupChat(block: (GroupChat) -> T): T?
whenGroupChatCreated
Link copied to clipboard
common
inline fun <T> ChatEvent.whenGroupChatCreated(block: (GroupChatCreated) -> T): T?
whenGroupContentMessage
Link copied to clipboard
common
inline fun <T> Message.whenGroupContentMessage(block: (GroupContentMessage<MessageContent>) -> T): T?
whenGroupEvent
Link copied to clipboard
common
inline fun <T> ChatEvent.whenGroupEvent(block: (GroupEvent) -> T): T?
whenGroupEventMessage
Link copied to clipboard
common
inline fun <T> Message.whenGroupEventMessage(block: (GroupEventMessage<GroupEvent>) -> T): T?
whenHashTagTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenHashTagTextSource(block: (HashTagTextSource) -> T): T?
whenIdentityCard
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenIdentityCard(block: (IdentityCard) -> T): T?
whenIdentityCardSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenIdentityCardSecureValue(block: (IdentityCardSecureValue) -> T): T?
whenIdentityWithReverseSideSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenIdentityWithReverseSideSecureValue(block: (IdentityWithReverseSideSecureValue) -> T): T?
whenInlineKeyboardMarkup
Link copied to clipboard
common
inline fun <T> KeyboardMarkup.whenInlineKeyboardMarkup(block: (InlineKeyboardMarkup) -> T): T?
whenInlineMessageIdCallbackQuery
Link copied to clipboard
common
inline fun <T> CallbackQuery.whenInlineMessageIdCallbackQuery(block: (InlineMessageIdCallbackQuery) -> T): T?
whenInlineMessageIdDataCallbackQuery
Link copied to clipboard
common
inline fun <T> CallbackQuery.whenInlineMessageIdDataCallbackQuery(block: (InlineMessageIdDataCallbackQuery) -> T): T?
whenInlineQueryResultArticle
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultArticle(block: (InlineQueryResultArticle) -> T): T?
whenInlineQueryResultAudio
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultAudio(block: (InlineQueryResultAudio) -> T): T?
whenInlineQueryResultAudioCached
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultAudioCached(block: (InlineQueryResultAudioCached) -> T): T?
whenInlineQueryResultAudioCommon
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultAudioCommon(block: (InlineQueryResultAudioCommon) -> T): T?
whenInlineQueryResultContact
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultContact(block: (InlineQueryResultContact) -> T): T?
whenInlineQueryResultDocument
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultDocument(block: (InlineQueryResultDocument) -> T): T?
whenInlineQueryResultDocumentCached
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultDocumentCached(block: (InlineQueryResultDocumentCached) -> T): T?
whenInlineQueryResultDocumentCommon
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultDocumentCommon(block: (InlineQueryResultDocumentCommon) -> T): T?
whenInlineQueryResultGame
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultGame(block: (InlineQueryResultGame) -> T): T?
whenInlineQueryResultGif
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultGif(block: (InlineQueryResultGif) -> T): T?
whenInlineQueryResultGifCached
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultGifCached(block: (InlineQueryResultGifCached) -> T): T?
whenInlineQueryResultGifCommon
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultGifCommon(block: (InlineQueryResultGifCommon) -> T): T?
whenInlineQueryResultLocation
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultLocation(block: (InlineQueryResultLocation) -> T): T?
whenInlineQueryResultMpeg4Gif
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4Gif(block: (InlineQueryResultMpeg4Gif) -> T): T?
whenInlineQueryResultMpeg4GifCached
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4GifCached(block: (InlineQueryResultMpeg4GifCached) -> T): T?
whenInlineQueryResultMpeg4GifCommon
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4GifCommon(block: (InlineQueryResultMpeg4GifCommon) -> T): T?
whenInlineQueryResultPhoto
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultPhoto(block: (InlineQueryResultPhoto) -> T): T?
whenInlineQueryResultPhotoCached
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultPhotoCached(block: (InlineQueryResultPhotoCached) -> T): T?
whenInlineQueryResultPhotoCommon
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultPhotoCommon(block: (InlineQueryResultPhotoCommon) -> T): T?
whenInlineQueryResultStickerCached
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultStickerCached(block: (InlineQueryResultStickerCached) -> T): T?
whenInlineQueryResultVenue
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultVenue(block: (InlineQueryResultVenue) -> T): T?
whenInlineQueryResultVideo
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultVideo(block: (InlineQueryResultVideo) -> T): T?
whenInlineQueryResultVideoCached
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultVideoCached(block: (InlineQueryResultVideoCached) -> T): T?
whenInlineQueryResultVideoCommon
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultVideoCommon(block: (InlineQueryResultVideoCommon) -> T): T?
whenInlineQueryResultVoice
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultVoice(block: (InlineQueryResultVoice) -> T): T?
whenInlineQueryResultVoiceCached
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultVoiceCached(block: (InlineQueryResultVoiceCached) -> T): T?
whenInlineQueryResultVoiceCommon
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenInlineQueryResultVoiceCommon(block: (InlineQueryResultVoiceCommon) -> T): T?
whenInlineQueryUpdate
Link copied to clipboard
common
inline fun <T> Update.whenInlineQueryUpdate(block: (InlineQueryUpdate) -> T): T?
whenInputContactMessageContent
Link copied to clipboard
common
inline fun <T> InputMessageContent.whenInputContactMessageContent(block: (InputContactMessageContent) -> T): T?
whenInputInvoiceMessageContent
Link copied to clipboard
common
inline fun <T> CommonSendInvoiceData.whenInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
inline fun <T> InputMessageContent.whenInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
whenInputLocationMessageContent
Link copied to clipboard
common
inline fun <T> InputMessageContent.whenInputLocationMessageContent(block: (InputLocationMessageContent) -> T): T?
whenInputMediaAnimation
Link copied to clipboard
common
inline fun <T> InputMedia.whenInputMediaAnimation(block: (InputMediaAnimation) -> T): T?
whenInputMediaAudio
Link copied to clipboard
common
inline fun <T> InputMedia.whenInputMediaAudio(block: (InputMediaAudio) -> T): T?
whenInputMediaDocument
Link copied to clipboard
common
inline fun <T> InputMedia.whenInputMediaDocument(block: (InputMediaDocument) -> T): T?
whenInputMediaPhoto
Link copied to clipboard
common
inline fun <T> InputMedia.whenInputMediaPhoto(block: (InputMediaPhoto) -> T): T?
whenInputMediaVideo
Link copied to clipboard
common
inline fun <T> InputMedia.whenInputMediaVideo(block: (InputMediaVideo) -> T): T?
whenInputTextMessageContent
Link copied to clipboard
common
inline fun <T> InputMessageContent.whenInputTextMessageContent(block: (InputTextMessageContent) -> T): T?
whenInputVenueMessageContent
Link copied to clipboard
common
inline fun <T> InputMessageContent.whenInputVenueMessageContent(block: (InputVenueMessageContent) -> T): T?
whenInternalPassport
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenInternalPassport(block: (InternalPassport) -> T): T?
whenInternalPassportSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenInternalPassportSecureValue(block: (InternalPassportSecureValue) -> T): T?
whenInvoiceContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenInvoiceContent(block: (InvoiceContent) -> T): T?
whenItalicTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenItalicTextSource(block: (ItalicTextSource) -> T): T?
whenKickedChatMember
Link copied to clipboard
common
inline fun <T> ChatMember.whenKickedChatMember(block: (KickedChatMember) -> T): T?
whenLeftChatMember
Link copied to clipboard
common
inline fun <T> ChatMember.whenLeftChatMember(block: (LeftChatMember) -> T): T?
inline fun <T> ChatEvent.whenLeftChatMember(block: (LeftChatMember) -> T): T?
whenLiveLocation
Link copied to clipboard
common
inline fun <T> Location.whenLiveLocation(block: (LiveLocation) -> T): T?
whenLiveLocationContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenLiveLocationContent(block: (LiveLocationContent) -> T): T?
whenLocationContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenLocationContent(block: (LocationContent) -> T): T?
whenLocationInlineQuery
Link copied to clipboard
common
inline fun <T> InlineQuery.whenLocationInlineQuery(block: (LocationInlineQuery) -> T): T?
whenLoginURLInlineKeyboardButton
Link copied to clipboard
common
inline fun <T> InlineKeyboardButton.whenLoginURLInlineKeyboardButton(block: (LoginURLInlineKeyboardButton) -> T): T?
whenMediaCollectionContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenMediaCollectionContent(block: (MediaCollectionContent<TelegramMediaFile>) -> T): T?
whenMediaContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenMediaContent(block: (MediaContent) -> T): T?
whenMediaGroupContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenMediaGroupContent(block: (MediaGroupContent) -> T): T?
whenMediaGroupMemberInputMedia
Link copied to clipboard
common
inline fun <T> InputMedia.whenMediaGroupMemberInputMedia(block: (MediaGroupMemberInputMedia) -> T): T?
whenMediaGroupMessage
Link copied to clipboard
common
inline fun <T> Message.whenMediaGroupMessage(block: (MediaGroupMessage<MediaGroupContent>) -> T): T?
whenMediaGroupUpdate
Link copied to clipboard
common
inline fun <T> Update.whenMediaGroupUpdate(block: (MediaGroupUpdate) -> T): T?
whenMemberChatMember
Link copied to clipboard
common
inline fun <T> ChatMember.whenMemberChatMember(block: (MemberChatMember) -> T): T?
whenMentionTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenMentionTextSource(block: (MentionTextSource) -> T): T?
whenMessageAutoDeleteTimerChanged
Link copied to clipboard
common
inline fun <T> ChatEvent.whenMessageAutoDeleteTimerChanged(block: (MessageAutoDeleteTimerChanged) -> T): T?
whenMessageCallbackQuery
Link copied to clipboard
common
inline fun <T> CallbackQuery.whenMessageCallbackQuery(block: (MessageCallbackQuery) -> T): T?
whenMessageContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenMessageContent(block: (MessageContent) -> T): T?
whenMessageDataCallbackQuery
Link copied to clipboard
common
inline fun <T> CallbackQuery.whenMessageDataCallbackQuery(block: (MessageDataCallbackQuery) -> T): T?
whenMessageGameShortNameCallbackQuery
Link copied to clipboard
common
inline fun <T> CallbackQuery.whenMessageGameShortNameCallbackQuery(block: (MessageGameShortNameCallbackQuery) -> T): T?
whenMessageMediaGroupUpdate
Link copied to clipboard
common
inline fun <T> Update.whenMessageMediaGroupUpdate(block: (MessageMediaGroupUpdate) -> T): T?
whenMessageUpdate
Link copied to clipboard
common
inline fun <T> Update.whenMessageUpdate(block: (MessageUpdate) -> T): T?
whenMimedMediaFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenMimedMediaFile(block: (MimedMediaFile) -> T): T?
whenMultilevelTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenMultilevelTextSource(block: (MultilevelTextSource) -> T): T?
whenMultipleAnswersPoll
Link copied to clipboard
common
inline fun <T> Poll.whenMultipleAnswersPoll(block: (MultipleAnswersPoll) -> T): T?
whenMyChatMemberUpdatedUpdate
Link copied to clipboard
common
inline fun <T> Update.whenMyChatMemberUpdatedUpdate(block: (MyChatMemberUpdatedUpdate) -> T): T?
whenNewChatMembers
Link copied to clipboard
common
inline fun <T> ChatEvent.whenNewChatMembers(block: (NewChatMembers) -> T): T?
whenNewChatPhoto
Link copied to clipboard
common
inline fun <T> ChatEvent.whenNewChatPhoto(block: (NewChatPhoto) -> T): T?
whenNewChatTitle
Link copied to clipboard
common
inline fun <T> ChatEvent.whenNewChatTitle(block: (NewChatTitle) -> T): T?
whenOptionallyTitledInlineQueryResult
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenOptionallyTitledInlineQueryResult(block: (OptionallyTitledInlineQueryResult) -> T): T?
whenOtherDocumentsSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenOtherDocumentsSecureValue(block: (OtherDocumentsSecureValue) -> T): T?
whenPassport
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenPassport(block: (Passport) -> T): T?
whenPassportElementErrorDataField
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportElementErrorDataField(block: (PassportElementErrorDataField) -> T): T?
whenPassportElementErrorFile
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportElementErrorFile(block: (PassportElementErrorFile) -> T): T?
whenPassportElementErrorFiles
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportElementErrorFiles(block: (PassportElementErrorFiles) -> T): T?
whenPassportElementErrorFrontSide
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportElementErrorFrontSide(block: (PassportElementErrorFrontSide) -> T): T?
whenPassportElementErrorReverseSide
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportElementErrorReverseSide(block: (PassportElementErrorReverseSide) -> T): T?
whenPassportElementErrorSelfie
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportElementErrorSelfie(block: (PassportElementErrorSelfie) -> T): T?
whenPassportElementErrorTranslationFile
Link copied to clipboard
common
common
whenPassportElementErrorUnspecified
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportElementErrorUnspecified(block: (PassportElementErrorUnspecified) -> T): T?
whenPassportElementFileError
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportElementFileError(block: (PassportElementFileError) -> T): T?
whenPassportElementFilesError
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportElementFilesError(block: (PassportElementFilesError) -> T): T?
whenPassportMessage
Link copied to clipboard
common
inline fun <T> Message.whenPassportMessage(block: (PassportMessage) -> T): T?
whenPassportMultipleElementsError
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportMultipleElementsError(block: (PassportMultipleElementsError) -> T): T?
whenPassportRegistration
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenPassportRegistration(block: (PassportRegistration) -> T): T?
whenPassportRegistrationSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenPassportRegistrationSecureValue(block: (PassportRegistrationSecureValue) -> T): T?
whenPassportSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenPassportSecureValue(block: (PassportSecureValue) -> T): T?
whenPassportSingleElementError
Link copied to clipboard
common
inline fun <T> PassportElementError.whenPassportSingleElementError(block: (PassportSingleElementError) -> T): T?
whenPathedFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenPathedFile(block: (PathedFile) -> T): T?
whenPayInlineKeyboardButton
Link copied to clipboard
common
inline fun <T> InlineKeyboardButton.whenPayInlineKeyboardButton(block: (PayInlineKeyboardButton) -> T): T?
whenPersonalDetailsSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenPersonalDetailsSecureValue(block: (PersonalDetailsSecureValue) -> T): T?
whenPhoneNumber
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenPhoneNumber(block: (PhoneNumber) -> T): T?
whenPhoneNumberTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenPhoneNumberTextSource(block: (PhoneNumberTextSource) -> T): T?
whenPhotoContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenPhotoContent(block: (PhotoContent) -> T): T?
whenPhotoSize
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenPhotoSize(block: (PhotoSize) -> T): T?
whenPinnedMessage
Link copied to clipboard
common
inline fun <T> ChatEvent.whenPinnedMessage(block: (PinnedMessage) -> T): T?
whenPlayableMediaFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenPlayableMediaFile(block: (PlayableMediaFile) -> T): T?
whenPollAnswerUpdate
Link copied to clipboard
common
inline fun <T> Update.whenPollAnswerUpdate(block: (PollAnswerUpdate) -> T): T?
whenPollContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenPollContent(block: (PollContent) -> T): T?
whenPollUpdate
Link copied to clipboard
common
inline fun <T> Update.whenPollUpdate(block: (PollUpdate) -> T): T?
whenPossiblyEditedMessage
Link copied to clipboard
common
inline fun <T> Message.whenPossiblyEditedMessage(block: (PossiblyEditedMessage) -> T): T?
whenPossiblyForwardedMessage
Link copied to clipboard
common
inline fun <T> Message.whenPossiblyForwardedMessage(block: (PossiblyForwardedMessage) -> T): T?
whenPossiblyPaymentMessage
Link copied to clipboard
common
inline fun <T> Message.whenPossiblyPaymentMessage(block: (PossiblyPaymentMessage) -> T): T?
whenPossiblyReplyMessage
Link copied to clipboard
common
inline fun <T> Message.whenPossiblyReplyMessage(block: (PossiblyReplyMessage) -> T): T?
whenPossiblySentViaBotCommonMessage
Link copied to clipboard
common
inline fun <T> Message.whenPossiblySentViaBotCommonMessage(block: (PossiblySentViaBotCommonMessage<MessageContent>) -> T): T?
whenPreCheckoutQueryUpdate
Link copied to clipboard
common
inline fun <T> Update.whenPreCheckoutQueryUpdate(block: (PreCheckoutQueryUpdate) -> T): T?
whenPreTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenPreTextSource(block: (PreTextSource) -> T): T?
whenPrivateChat
Link copied to clipboard
common
inline fun <T> Chat.whenPrivateChat(block: (PrivateChat) -> T): T?
whenPrivateContentMessage
Link copied to clipboard
common
inline fun <T> Message.whenPrivateContentMessage(block: (PrivateContentMessage<MessageContent>) -> T): T?
whenPrivateContentMessageImpl
Link copied to clipboard
common
inline fun <T> Message.whenPrivateContentMessageImpl(block: (PrivateContentMessageImpl<MessageContent>) -> T): T?
whenPrivateEventMessage
Link copied to clipboard
common
inline fun <T> Message.whenPrivateEventMessage(block: (PrivateEventMessage<PrivateEvent>) -> T): T?
whenProximityAlertTriggered
Link copied to clipboard
common
inline fun <T> ChatEvent.whenProximityAlertTriggered(block: (ProximityAlertTriggered) -> T): T?
whenPublicChat
Link copied to clipboard
common
inline fun <T> Chat.whenPublicChat(block: (PublicChat) -> T): T?
whenPublicChatEvent
Link copied to clipboard
common
inline fun <T> ChatEvent.whenPublicChatEvent(block: (PublicChatEvent) -> T): T?
whenPublicContentMessage
Link copied to clipboard
common
inline fun <T> Message.whenPublicContentMessage(block: (PublicContentMessage<MessageContent>) -> T): T?
whenQuizPoll
Link copied to clipboard
common
inline fun <T> Poll.whenQuizPoll(block: (QuizPoll) -> T): T?
whenRecordVideoAction
Link copied to clipboard
common
inline fun <T> BotAction.whenRecordVideoAction(block: (RecordVideoAction) -> T): T?
whenRecordVideoNoteAction
Link copied to clipboard
common
inline fun <T> BotAction.whenRecordVideoNoteAction(block: (RecordVideoNoteAction) -> T): T?
whenRecordVoiceAction
Link copied to clipboard
common
inline fun <T> BotAction.whenRecordVoiceAction(block: (RecordVoiceAction) -> T): T?
whenRegularPoll
Link copied to clipboard
common
inline fun <T> Poll.whenRegularPoll(block: (RegularPoll) -> T): T?
whenRegularTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenRegularTextSource(block: (RegularTextSource) -> T): T?
whenRentalAgreement
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenRentalAgreement(block: (RentalAgreement) -> T): T?
whenRentalAgreementSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenRentalAgreementSecureValue(block: (RentalAgreementSecureValue) -> T): T?
whenReplyKeyboardMarkup
Link copied to clipboard
common
inline fun <T> KeyboardMarkup.whenReplyKeyboardMarkup(block: (ReplyKeyboardMarkup) -> T): T?
whenReplyKeyboardRemove
Link copied to clipboard
common
inline fun <T> KeyboardMarkup.whenReplyKeyboardRemove(block: (ReplyKeyboardRemove) -> T): T?
whenRestrictedChatMember
Link copied to clipboard
common
inline fun <T> ChatMember.whenRestrictedChatMember(block: (RestrictedChatMember) -> T): T?
whenSecureValueIdentity
Link copied to clipboard
common
inline fun <T> SecureValue.whenSecureValueIdentity(block: (SecureValueIdentity) -> T): T?
whenSecureValueWithData
Link copied to clipboard
common
inline fun <T> SecureValue.whenSecureValueWithData(block: (SecureValueWithData) -> T): T?
whenSecureValueWithFiles
Link copied to clipboard
common
inline fun <T> SecureValue.whenSecureValueWithFiles(block: (SecureValueWithFiles) -> T): T?
whenSecureValueWithReverseSide
Link copied to clipboard
common
inline fun <T> SecureValue.whenSecureValueWithReverseSide(block: (SecureValueWithReverseSide) -> T): T?
whenSecureValueWithTranslations
Link copied to clipboard
common
inline fun <T> SecureValue.whenSecureValueWithTranslations(block: (SecureValueWithTranslations) -> T): T?
whenSendInvoice
Link copied to clipboard
common
inline fun <T> CommonSendInvoiceData.whenSendInvoice(block: (SendInvoice) -> T): T?
whenSentMediaGroupUpdate
Link copied to clipboard
common
inline fun <T> Update.whenSentMediaGroupUpdate(block: (SentMediaGroupUpdate) -> T): T?
whenShippingQueryUpdate
Link copied to clipboard
common
inline fun <T> Update.whenShippingQueryUpdate(block: (ShippingQueryUpdate) -> T): T?
whenSignedMessage
Link copied to clipboard
common
inline fun <T> Message.whenSignedMessage(block: (SignedMessage) -> T): T?
whenSizedInlineQueryResult
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenSizedInlineQueryResult(block: (SizedInlineQueryResult) -> T): T?
whenSizedInputMedia
Link copied to clipboard
common
inline fun <T> InputMedia.whenSizedInputMedia(block: (SizedInputMedia) -> T): T?
whenSizedMediaFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenSizedMediaFile(block: (SizedMediaFile) -> T): T?
whenSlotMachineDiceAnimationType
Link copied to clipboard
common
inline fun <T> DiceAnimationType.whenSlotMachineDiceAnimationType(block: (SlotMachineDiceAnimationType) -> T): T?
whenSpecialRightsChatMember
Link copied to clipboard
common
inline fun <T> ChatMember.whenSpecialRightsChatMember(block: (SpecialRightsChatMember) -> T): T?
whenStaticLocation
Link copied to clipboard
common
inline fun <T> Location.whenStaticLocation(block: (StaticLocation) -> T): T?
whenStaticLocationContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenStaticLocationContent(block: (StaticLocationContent) -> T): T?
whenSticker
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenSticker(block: (Sticker) -> T): T?
whenStickerContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenStickerContent(block: (StickerContent) -> T): T?
whenStrikethroughTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenStrikethroughTextSource(block: (StrikethroughTextSource) -> T): T?
whenSupergroupChat
Link copied to clipboard
common
inline fun <T> Chat.whenSupergroupChat(block: (SupergroupChat) -> T): T?
whenSupergroupChatCreated
Link copied to clipboard
common
inline fun <T> ChatEvent.whenSupergroupChatCreated(block: (SupergroupChatCreated) -> T): T?
whenSupergroupEvent
Link copied to clipboard
common
inline fun <T> ChatEvent.whenSupergroupEvent(block: (SupergroupEvent) -> T): T?
whenSupergroupEventMessage
Link copied to clipboard
common
inline fun <T> Message.whenSupergroupEventMessage(block: (SupergroupEventMessage<SupergroupEvent>) -> T): T?
whenSuperPublicChat
Link copied to clipboard
common
inline fun <T> Chat.whenSuperPublicChat(block: (SuperPublicChat) -> T): T?
common
whenTemporalRegistrationSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenTemporalRegistrationSecureValue(block: (TemporalRegistrationSecureValue) -> T): T?
whenTemporaryRegistration
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenTemporaryRegistration(block: (TemporaryRegistration) -> T): T?
whenTextContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenTextContent(block: (TextContent) -> T): T?
whenTextLinkTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenTextLinkTextSource(block: (TextLinkTextSource) -> T): T?
whenTextMentionTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenTextMentionTextSource(block: (TextMentionTextSource) -> T): T?
whenThumbedInlineQueryResult
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenThumbedInlineQueryResult(block: (ThumbedInlineQueryResult) -> T): T?
whenThumbedInputMedia
Link copied to clipboard
common
inline fun <T> InputMedia.whenThumbedInputMedia(block: (ThumbedInputMedia) -> T): T?
whenThumbedMediaFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenThumbedMediaFile(block: (ThumbedMediaFile) -> T): T?
common
whenThumbSizedInlineQueryResult
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenThumbSizedInlineQueryResult(block: (ThumbSizedInlineQueryResult) -> T): T?
whenTitledInlineQueryResult
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenTitledInlineQueryResult(block: (TitledInlineQueryResult) -> T): T?
whenTitledInputMedia
Link copied to clipboard
common
inline fun <T> InputMedia.whenTitledInputMedia(block: (TitledInputMedia) -> T): T?
whenTypingAction
Link copied to clipboard
common
inline fun <T> BotAction.whenTypingAction(block: (TypingAction) -> T): T?
whenUnderlineTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenUnderlineTextSource(block: (UnderlineTextSource) -> T): T?
whenUnknownCallbackQueryType
Link copied to clipboard
common
inline fun <T> CallbackQuery.whenUnknownCallbackQueryType(block: (UnknownCallbackQueryType) -> T): T?
whenUnknownChatType
Link copied to clipboard
common
inline fun <T> Chat.whenUnknownChatType(block: (UnknownChatType) -> T): T?
whenUnknownEncryptedPassportElement
Link copied to clipboard
common
whenUnknownInlineKeyboardButton
Link copied to clipboard
common
inline fun <T> InlineKeyboardButton.whenUnknownInlineKeyboardButton(block: (UnknownInlineKeyboardButton) -> T): T?
whenUnknownMessageType
Link copied to clipboard
common
inline fun <T> Message.whenUnknownMessageType(block: (UnknownMessageType) -> T): T?
whenUnknownPassportElementError
Link copied to clipboard
common
inline fun <T> PassportElementError.whenUnknownPassportElementError(block: (UnknownPassportElementError) -> T): T?
whenUnknownPollType
Link copied to clipboard
common
inline fun <T> Poll.whenUnknownPollType(block: (UnknownPollType) -> T): T?
whenUnknownUpdate
Link copied to clipboard
common
inline fun <T> Update.whenUnknownUpdate(block: (UnknownUpdate) -> T): T?
whenUploadDocumentAction
Link copied to clipboard
common
inline fun <T> BotAction.whenUploadDocumentAction(block: (UploadDocumentAction) -> T): T?
whenUploadPhotoAction
Link copied to clipboard
common
inline fun <T> BotAction.whenUploadPhotoAction(block: (UploadPhotoAction) -> T): T?
whenUploadVideoAction
Link copied to clipboard
common
inline fun <T> BotAction.whenUploadVideoAction(block: (UploadVideoAction) -> T): T?
whenUploadVideoNoteAction
Link copied to clipboard
common
inline fun <T> BotAction.whenUploadVideoNoteAction(block: (UploadVideoNoteAction) -> T): T?
whenUploadVoiceAction
Link copied to clipboard
common
inline fun <T> BotAction.whenUploadVoiceAction(block: (UploadVoiceAction) -> T): T?
whenURLInlineKeyboardButton
Link copied to clipboard
common
inline fun <T> InlineKeyboardButton.whenURLInlineKeyboardButton(block: (URLInlineKeyboardButton) -> T): T?
whenUrlInlineQueryResult
Link copied to clipboard
common
inline fun <T> InlineQueryResult.whenUrlInlineQueryResult(block: (UrlInlineQueryResult) -> T): T?
whenURLTextSource
Link copied to clipboard
common
inline fun <T> TextSource.whenURLTextSource(block: (URLTextSource) -> T): T?
whenUser
Link copied to clipboard
common
inline fun <T> Chat.whenUser(block: (User) -> T): T?
whenUsernameChat
Link copied to clipboard
common
inline fun <T> Chat.whenUsernameChat(block: (UsernameChat) -> T): T?
whenUtilityBill
Link copied to clipboard
common
inline fun <T> EncryptedPassportElement.whenUtilityBill(block: (UtilityBill) -> T): T?
whenUtilityBillSecureValue
Link copied to clipboard
common
inline fun <T> SecureValue.whenUtilityBillSecureValue(block: (UtilityBillSecureValue) -> T): T?
whenVenueContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenVenueContent(block: (VenueContent) -> T): T?
whenVideoContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenVideoContent(block: (VideoContent) -> T): T?
whenVideoFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenVideoFile(block: (VideoFile) -> T): T?
whenVideoNoteContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenVideoNoteContent(block: (VideoNoteContent) -> T): T?
whenVideoNoteFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenVideoNoteFile(block: (VideoNoteFile) -> T): T?
whenVisualMediaGroupContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenVisualMediaGroupContent(block: (VisualMediaGroupContent) -> T): T?
whenVisualMediaGroupMemberInputMedia
Link copied to clipboard
common
inline fun <T> InputMedia.whenVisualMediaGroupMemberInputMedia(block: (VisualMediaGroupMemberInputMedia) -> T): T?
whenVoiceChatEnded
Link copied to clipboard
common
inline fun <T> ChatEvent.whenVoiceChatEnded(block: (VoiceChatEnded) -> T): T?
whenVoiceChatEvent
Link copied to clipboard
common
inline fun <T> ChatEvent.whenVoiceChatEvent(block: (VoiceChatEvent) -> T): T?
whenVoiceChatParticipantsInvited
Link copied to clipboard
common
inline fun <T> ChatEvent.whenVoiceChatParticipantsInvited(block: (VoiceChatParticipantsInvited) -> T): T?
whenVoiceChatStarted
Link copied to clipboard
common
inline fun <T> ChatEvent.whenVoiceChatStarted(block: (VoiceChatStarted) -> T): T?
whenVoiceContent
Link copied to clipboard
common
inline fun <T> ResendableContent.whenVoiceContent(block: (VoiceContent) -> T): T?
whenVoiceFile
Link copied to clipboard
common
inline fun <T> TelegramMediaFile.whenVoiceFile(block: (VoiceFile) -> T): T?
whenWithOptionalLanguageCode
Link copied to clipboard
common
inline fun <T> Any.whenWithOptionalLanguageCode(block: (WithOptionalLanguageCode) -> T): T?
whenWithUser
Link copied to clipboard
common
inline fun <T> Any.whenWithUser(block: (WithUser) -> T): T?
withContent
Link copied to clipboard
common
inline fun <T : MessageContent> ChannelContentMessage<*>.withContent(): ChannelContentMessage<T>?
inline fun <T : MessageContent> CommonGroupContentMessage<*>.withContent(): CommonGroupContentMessage<T>?
inline fun <T : MessageContent> CommonMessage<*>.withContent(): CommonMessage<T>?
inline fun <T : MessageContent> ContentMessage<*>.withContent(): ContentMessage<T>?
inline fun <T : MessageContent> GroupContentMessage<*>.withContent(): GroupContentMessage<T>?
inline fun <T : MediaGroupContent> MediaGroupMessage<*>.withContent(): MediaGroupMessage<T>?
inline fun <T : MessageContent> PrivateContentMessage<*>.withContent(): PrivateContentMessage<T>?
inline fun <T : MessageContent> PublicContentMessage<*>.withContent(): PublicContentMessage<T>?
withoutSentViaBot
Link copied to clipboard
common
fun <MC : MessageContent, M : ContentMessage<MC>> Flow<M>.withoutSentViaBot(): Flow<M>

Filter the messages and checking that incoming CommonMessage not is PossiblySentViaBotCommonMessage or its PossiblySentViaBotCommonMessage.senderBot is null

Properties

asSlotMachineReelImage
Link copied to clipboard
common
val Int.asSlotMachineReelImage: SlotMachineReelImage
asSlotMachineReelImage
Link copied to clipboard
common
val String.asSlotMachineReelImage: SlotMachineReelImage