Package dev.inmo.tgbotapi.extensions.utils

Types

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

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.addressSecureValueOrNull(): AddressSecureValue?
Link copied to clipboard
inline fun SecureValue.addressSecureValueOrThrow(): AddressSecureValue
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.administratorChatMemberOrNull(): AdministratorChatMember?
Link copied to clipboard
inline fun WithUser.administratorChatMemberOrThrow(): AdministratorChatMember
Link copied to clipboard
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

Link copied to clipboard
inline fun TelegramMediaFile.animatedStickerOrNull(): AnimatedSticker?
Link copied to clipboard
inline fun TelegramMediaFile.animatedStickerOrThrow(): AnimatedSticker
Link copied to clipboard
inline fun ResendableContent.animationContentOrNull(): AnimationContent?
Link copied to clipboard
inline fun ResendableContent.animationContentOrThrow(): AnimationContent
Link copied to clipboard
inline fun TelegramMediaFile.animationFileOrNull(): AnimationFile?
Link copied to clipboard
inline fun TelegramMediaFile.animationFileOrThrow(): AnimationFile
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Chat.asAbleToAddInAttachmentMenuChat(): AbleToAddInAttachmentMenuChat?
Link copied to clipboard
inline fun SecureValue.asAddressSecureValue(): AddressSecureValue?
Link copied to clipboard
inline fun ChatMember.asAdministratorChatMember(): AdministratorChatMember?
Link copied to clipboard
inline fun TelegramMediaFile.asAnimatedSticker(): AnimatedSticker?
Link copied to clipboard
inline fun ResendableContent.asAnimationContent(): AnimationContent?
Link copied to clipboard
inline fun TelegramMediaFile.asAnimationFile(): AnimationFile?
Link copied to clipboard
inline fun ForwardInfo.asAnonymousForwardInfo(): ForwardInfo.ByAnonymous?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asAudioContent(): AudioContent?
Link copied to clipboard
inline fun TelegramMediaFile.asAudioFile(): AudioFile?
Link copied to clipboard
inline fun ResendableContent.asAudioMediaGroupContent(): AudioMediaGroupContent?
Link copied to clipboard
inline fun EncryptedPassportElement.asBankStatement(): BankStatement?
Link copied to clipboard
inline fun SecureValue.asBankStatementSecureValue(): BankStatementSecureValue?
Link copied to clipboard
inline fun ChatMember.asBannedChatMember(): BannedChatMember?
Link copied to clipboard
inline fun ChosenInlineResult.asBaseChosenInlineResult(): BaseChosenInlineResult?
Link copied to clipboard
inline fun Update.asBaseEditMessageUpdate(): BaseEditMessageUpdate?
Link copied to clipboard
inline fun InlineQuery.asBaseInlineQuery(): BaseInlineQuery?
Link copied to clipboard
inline fun Update.asBaseMessageUpdate(): BaseMessageUpdate?
Link copied to clipboard
inline fun Update.asBaseSentMessageUpdate(): BaseSentMessageUpdate?
Link copied to clipboard
Link copied to clipboard
inline fun TextSource.asBoldTextSource(): BoldTextSource?
Link copied to clipboard
inline fun Chat.asBot(): Bot?
Link copied to clipboard
inline fun TextSource.asBotCommandTextSource(): BotCommandTextSource?
Link copied to clipboard
Link copied to clipboard
inline fun Update.asCallbackQueryUpdate(): CallbackQueryUpdate?
Link copied to clipboard
inline fun TextSource.asCashTagTextSource(): CashTagTextSource?
Link copied to clipboard
inline fun Chat.asChannelChat(): ChannelChat?
Link copied to clipboard
inline fun ChatEvent.asChannelChatCreated(): ChannelChatCreated?
Link copied to clipboard
inline fun Message.asChannelContentMessage(): ChannelContentMessage<MessageContent>?
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.asChannelEvent(): ChannelEvent?
Link copied to clipboard
inline fun Message.asChannelEventMessage(): ChannelEventMessage<ChannelEvent>?
Link copied to clipboard
Link copied to clipboard
inline fun Update.asChannelPostMediaGroupUpdate(): ChannelPostMediaGroupUpdate?
Link copied to clipboard
inline fun Update.asChannelPostUpdate(): ChannelPostUpdate?
Link copied to clipboard
inline fun Message.asChatEventMessage(): ChatEventMessage<ChatEvent>?
Link copied to clipboard
inline fun ChatInviteLink.asChatInviteLinkUnlimited(): ChatInviteLinkUnlimited?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.asChatJoinRequestUpdate(): ChatJoinRequestUpdate?
Link copied to clipboard
inline fun Update.asChatMemberUpdatedUpdate(): ChatMemberUpdatedUpdate?
Link copied to clipboard
inline fun BotAction.asChooseStickerAction(): ChooseStickerAction?
Link copied to clipboard
inline fun Update.asChosenInlineResultUpdate(): ChosenInlineResultUpdate?
Link copied to clipboard
inline fun TextSource.asCodeTextSource(): CodeTextSource?
Link copied to clipboard
inline fun Chat.asCommonBot(): CommonBot?
Link copied to clipboard
inline fun Update.asCommonChatMemberUpdatedUpdate(): CommonChatMemberUpdatedUpdate?
Link copied to clipboard
inline fun ChatEvent.asCommonEvent(): CommonEvent?
Link copied to clipboard
Link copied to clipboard
inline fun Message.asCommonGroupEventMessage(): CommonGroupEventMessage<GroupEvent>?
Link copied to clipboard
Link copied to clipboard
inline fun Message.asCommonMessage(): CommonMessage<MessageContent>?
Link copied to clipboard
inline fun EncryptedPassportElement.asCommonPassport(): CommonPassport?
Link copied to clipboard
inline fun SecureValue.asCommonPassportSecureValue(): CommonPassportSecureValue?
Link copied to clipboard
Link copied to clipboard
inline fun Chat.asCommonUser(): CommonUser?
Link copied to clipboard
inline fun ResendableContent.asContactContent(): ContactContent?
Link copied to clipboard
inline fun Message.asContentMessage(): ContentMessage<MessageContent>?
Link copied to clipboard
inline fun CommonSendInvoiceData.asCreateInvoiceLink(): CreateInvoiceLink?
Link copied to clipboard
inline fun DiceAnimationType.asCubeDiceAnimationType(): CubeDiceAnimationType?
Link copied to clipboard
inline fun DiceAnimationType.asCustomDiceAnimationType(): CustomDiceAnimationType?
Link copied to clipboard
inline fun DiceAnimationType.asDartsDiceAnimationType(): DartsDiceAnimationType?
Link copied to clipboard
inline fun CallbackQuery.asDataCallbackQuery(): DataCallbackQuery?
Link copied to clipboard
inline fun ChatEvent.asDeleteChatPhoto(): DeleteChatPhoto?
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asDiceContent(): DiceContent?
Link copied to clipboard
inline fun ResendableContent.asDocumentContent(): DocumentContent?
Link copied to clipboard
inline fun TelegramMediaFile.asDocumentFile(): DocumentFile?
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asDriverLicense(): DriverLicense?
Link copied to clipboard
inline fun SecureValue.asDriverLicenseSecureValue(): DriverLicenseSecureValue?
Link copied to clipboard
inline fun TelegramMedia.asDuratedTelegramMedia(): DuratedTelegramMedia?
Link copied to clipboard
Link copied to clipboard
inline fun Update.asEditChannelPostUpdate(): EditChannelPostUpdate?
Link copied to clipboard
inline fun Update.asEditMediaGroupUpdate(): EditMediaGroupUpdate?
Link copied to clipboard
inline fun Update.asEditMessageMediaGroupUpdate(): EditMessageMediaGroupUpdate?
Link copied to clipboard
inline fun Update.asEditMessageUpdate(): EditMessageUpdate?
Link copied to clipboard
inline fun EncryptedPassportElement.asEmail(): Email?
Link copied to clipboard
inline fun TextSource.asEMailTextSource(): EMailTextSource?
Link copied to clipboard
inline fun EncryptedPassportElement.asEncryptedAddress(): EncryptedAddress?
Link copied to clipboard
Link copied to clipboard
inline fun ScheduledCloseInfo.asExactScheduledCloseInfo(): ExactScheduledCloseInfo?
Link copied to clipboard
inline fun Chat.asExtendedBot(): ExtendedBot?
Link copied to clipboard
inline fun Chat.asExtendedChannelChat(): ExtendedChannelChat?
Link copied to clipboard
inline fun Chat.asExtendedChat(): ExtendedChat?
Link copied to clipboard
inline fun Chat.asExtendedGroupChat(): ExtendedGroupChat?
Link copied to clipboard
inline fun Chat.asExtendedPrivateChat(): ExtendedPrivateChat?
Link copied to clipboard
inline fun Chat.asExtendedPublicChat(): ExtendedPublicChat?
Link copied to clipboard
inline fun Chat.asExtendedSupergroupChat(): ExtendedSupergroupChat?
Link copied to clipboard
inline fun TelegramMediaFile.asFile(): File?
Link copied to clipboard
inline fun InlineQueryResult.asFileInlineQueryResult(): FileInlineQueryResult?
Link copied to clipboard
inline fun BotAction.asFindLocationAction(): FindLocationAction?
Link copied to clipboard
Link copied to clipboard
inline fun KeyboardMarkup.asForceReply(): ReplyForce?
Link copied to clipboard
inline fun ForwardInfo.asForwardFromChannelInfo(): ForwardFromChannelInfo?
Link copied to clipboard
inline fun ForwardInfo.asForwardFromPublicChatInfo(): ForwardInfo.PublicChat?
Link copied to clipboard
inline fun ForwardInfo.asForwardFromSupergroupInfo(): ForwardFromSupergroupInfo?
Link copied to clipboard
Link copied to clipboard
inline fun Any.asFromUser(): FromUser?
Link copied to clipboard
inline fun Message.asFromUserMessage(): FromUserMessage?
Link copied to clipboard
inline fun ResendableContent.asGameContent(): GameContent?
Link copied to clipboard
Link copied to clipboard
inline fun Chat.asGroupChat(): GroupChat?
Link copied to clipboard
inline fun ChatEvent.asGroupChatCreated(): GroupChatCreated?
Link copied to clipboard
inline fun Message.asGroupContentMessage(): GroupContentMessage<MessageContent>?
Link copied to clipboard
inline fun ChatEvent.asGroupEvent(): GroupEvent?
Link copied to clipboard
inline fun Message.asGroupEventMessage(): GroupEventMessage<GroupEvent>?
Link copied to clipboard
inline fun TextSource.asHashTagTextSource(): HashTagTextSource?
Link copied to clipboard
inline fun EncryptedPassportElement.asIdentityCard(): IdentityCard?
Link copied to clipboard
inline fun SecureValue.asIdentityCardSecureValue(): IdentityCardSecureValue?
Link copied to clipboard
Link copied to clipboard
inline fun KeyboardMarkup.asInlineKeyboardMarkup(): InlineKeyboardMarkup?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultAudio(): InlineQueryResultAudio?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGame(): InlineQueryResultGame?
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultGif(): InlineQueryResultGif?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultPhoto(): InlineQueryResultPhoto?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVenue(): InlineQueryResultVenue?
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVideo(): InlineQueryResultVideo?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asInlineQueryResultVoice(): InlineQueryResultVoice?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.asInlineQueryUpdate(): InlineQueryUpdate?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asInternalPassport(): InternalPassport?
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asInvoiceContent(): InvoiceContent?
Link copied to clipboard
inline fun TextSource.asItalicTextSource(): ItalicTextSource?
Link copied to clipboard
inline fun ChatMember.asKickedChatMember(): KickedChatMember?
Link copied to clipboard
inline fun ChatMember.asLeftChatMember(): LeftChatMember?
inline fun ChatEvent.asLeftChatMember(): LeftChatMember?
Link copied to clipboard
inline fun Location.asLiveLocation(): LiveLocation?
Link copied to clipboard
inline fun ResendableContent.asLiveLocationContent(): LiveLocationContent?
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asLocationContent(): LocationContent?
Link copied to clipboard
inline fun InlineQuery.asLocationInlineQuery(): LocationInlineQuery?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asMediaContent(): MediaContent?
Link copied to clipboard
inline fun ResendableContent.asMediaGroupContent(): MediaGroupContent?
Link copied to clipboard
Link copied to clipboard
inline fun Message.asMediaGroupMessage(): MediaGroupMessage<MediaGroupContent>?
Link copied to clipboard
inline fun Update.asMediaGroupUpdate(): MediaGroupUpdate?
Link copied to clipboard
inline fun ChatMember.asMemberChatMember(): MemberChatMember?
Link copied to clipboard
inline fun TextSource.asMentionTextSource(): MentionTextSource?
Link copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.asMessageCallbackQuery(): MessageCallbackQuery?
Link copied to clipboard
inline fun ResendableContent.asMessageContent(): MessageContent?
Link copied to clipboard
inline fun CallbackQuery.asMessageDataCallbackQuery(): MessageDataCallbackQuery?
Link copied to clipboard
Link copied to clipboard
inline fun Update.asMessageMediaGroupUpdate(): MessageMediaGroupUpdate?
Link copied to clipboard
inline fun Update.asMessageUpdate(): MessageUpdate?
Link copied to clipboard
inline fun ChatEvent.asMigratedToSupergroup(): MigratedToSupergroup?
Link copied to clipboard
inline fun TelegramMediaFile.asMimedMediaFile(): MimedMediaFile?
Link copied to clipboard
inline fun TextSource.asMultilevelTextSource(): MultilevelTextSource?
Link copied to clipboard
inline fun Poll.asMultipleAnswersPoll(): MultipleAnswersPoll?
Link copied to clipboard
inline fun Update.asMyChatMemberUpdatedUpdate(): MyChatMemberUpdatedUpdate?
Link copied to clipboard
inline fun ChatEvent.asNewChatMembers(): NewChatMembers?
Link copied to clipboard
inline fun ChatEvent.asNewChatPhoto(): NewChatPhoto?
Link copied to clipboard
inline fun ChatEvent.asNewChatTitle(): NewChatTitle?
Link copied to clipboard
inline fun SecureValue.asOtherDocumentsSecureValue(): OtherDocumentsSecureValue?
Link copied to clipboard
inline fun ChatMember.asOwnerChatMember(): OwnerChatMember?
Link copied to clipboard
inline fun EncryptedPassportElement.asPassport(): Passport?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.asPassportMessage(): PassportMessage?
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.asPassportRegistration(): PassportRegistration?
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.asPassportSecureValue(): PassportSecureValue?
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.asPathedFile(): PathedFile?
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.asPersonalDetailsSecureValue(): PersonalDetailsSecureValue?
Link copied to clipboard
inline fun EncryptedPassportElement.asPhoneNumber(): PhoneNumber?
Link copied to clipboard
inline fun TextSource.asPhoneNumberTextSource(): PhoneNumberTextSource?
Link copied to clipboard
inline fun ResendableContent.asPhotoContent(): PhotoContent?
Link copied to clipboard
inline fun TelegramMediaFile.asPhotoSize(): PhotoSize?
Link copied to clipboard
inline fun ChatEvent.asPinnedMessage(): PinnedMessage?
Link copied to clipboard
inline fun TelegramMediaFile.asPlayableMediaFile(): PlayableMediaFile?
Link copied to clipboard
inline fun Update.asPollAnswerUpdate(): PollAnswerUpdate?
Link copied to clipboard
inline fun ResendableContent.asPollContent(): PollContent?
Link copied to clipboard
inline fun Update.asPollUpdate(): PollUpdate?
Link copied to clipboard
inline fun Message.asPossiblyEditedMessage(): PossiblyEditedMessage?
Link copied to clipboard
inline fun Message.asPossiblyForwardedMessage(): PossiblyForwardedMessage?
Link copied to clipboard
inline fun Message.asPossiblyPaymentMessage(): PossiblyPaymentMessage?
Link copied to clipboard
inline fun Chat.asPossiblyPremiumChat(): PossiblyPremiumChat?
Link copied to clipboard
inline fun Message.asPossiblyReplyMessage(): PossiblyReplyMessage?
Link copied to clipboard
Link copied to clipboard
inline fun Update.asPreCheckoutQueryUpdate(): PreCheckoutQueryUpdate?
Link copied to clipboard
inline fun TextSource.asPreTextSource(): PreTextSource?
Link copied to clipboard
inline fun ChatInviteLink.asPrimaryInviteLink(): PrimaryInviteLink?
Link copied to clipboard
inline fun Chat.asPrivateChat(): PrivateChat?
Link copied to clipboard
inline fun Message.asPrivateContentMessage(): PrivateContentMessage<MessageContent>?
Link copied to clipboard
Link copied to clipboard
inline fun Message.asPrivateEventMessage(): PrivateEventMessage<PrivateEvent>?
Link copied to clipboard
inline fun ChatEvent.asProximityAlertTriggered(): ProximityAlertTriggered?
Link copied to clipboard
inline fun Chat.asPublicChat(): PublicChat?
Link copied to clipboard
inline fun ChatEvent.asPublicChatEvent(): PublicChatEvent?
Link copied to clipboard
inline fun Message.asPublicContentMessage(): PublicContentMessage<MessageContent>?
Link copied to clipboard
inline fun Poll.asQuizPoll(): QuizPoll?
Link copied to clipboard
inline fun BotAction.asRecordVideoAction(): RecordVideoAction?
Link copied to clipboard
inline fun BotAction.asRecordVideoNoteAction(): RecordVideoNoteAction?
Link copied to clipboard
inline fun BotAction.asRecordVoiceAction(): RecordVoiceAction?
Link copied to clipboard
inline fun Poll.asRegularPoll(): RegularPoll?
Link copied to clipboard
inline fun TextSource.asRegularTextSource(): RegularTextSource?
Link copied to clipboard
inline fun EncryptedPassportElement.asRentalAgreement(): RentalAgreement?
Link copied to clipboard
inline fun SecureValue.asRentalAgreementSecureValue(): RentalAgreementSecureValue?
Link copied to clipboard
inline fun KeyboardMarkup.asReplyKeyboardMarkup(): ReplyKeyboardMarkup?
Link copied to clipboard
inline fun KeyboardMarkup.asReplyKeyboardRemove(): ReplyKeyboardRemove?
Link copied to clipboard
inline fun ChatMember.asRestrictedChatMember(): RestrictedChatMember?
Link copied to clipboard
inline fun ChatInviteLink.asSecondaryChatInviteLink(): SecondaryChatInviteLink?
Link copied to clipboard
inline fun SecureValue.asSecureValueIdentity(): SecureValueIdentity?
Link copied to clipboard
inline fun SecureValue.asSecureValueWithData(): SecureValueWithData?
Link copied to clipboard
inline fun SecureValue.asSecureValueWithFiles(): SecureValueWithFiles?
Link copied to clipboard
inline fun SecureValue.asSecureValueWithReverseSide(): SecureValueWithReverseSide?
Link copied to clipboard
Link copied to clipboard
inline fun CommonSendInvoiceData.asSendInvoice(): SendInvoice?
Link copied to clipboard
inline fun Update.asSentMediaGroupUpdate(): SentMediaGroupUpdate?
Link copied to clipboard
inline fun Update.asShippingQueryUpdate(): ShippingQueryUpdate?
Link copied to clipboard
inline fun Message.asSignedMessage(): SignedMessage?
Link copied to clipboard
inline fun TelegramMediaFile.asSimpleSticker(): SimpleSticker?
Link copied to clipboard
inline fun InlineQueryResult.asSizedInlineQueryResult(): SizedInlineQueryResult?
Link copied to clipboard
inline fun TelegramMediaFile.asSizedMediaFile(): SizedMediaFile?
Link copied to clipboard
inline fun TelegramMedia.asSizedTelegramMedia(): SizedTelegramMedia?
Link copied to clipboard
Link copied to clipboard
inline fun ChatMember.asSpecialRightsChatMember(): SpecialRightsChatMember?
Link copied to clipboard
inline fun Location.asStaticLocation(): StaticLocation?
Link copied to clipboard
inline fun ResendableContent.asStaticLocationContent(): StaticLocationContent?
Link copied to clipboard
inline fun TelegramMediaFile.asSticker(): Sticker?
Link copied to clipboard
inline fun ResendableContent.asStickerContent(): StickerContent?
Link copied to clipboard
inline fun TextSource.asStrikethroughTextSource(): StrikethroughTextSource?
Link copied to clipboard
inline fun ChatEvent.asSuccessfulPaymentEvent(): SuccessfulPaymentEvent?
Link copied to clipboard
inline fun Chat.asSupergroupChat(): SupergroupChat?
Link copied to clipboard
inline fun ChatEvent.asSupergroupChatCreated(): SupergroupChatCreated?
Link copied to clipboard
inline fun ChatEvent.asSupergroupEvent(): SupergroupEvent?
Link copied to clipboard
inline fun Message.asSupergroupEventMessage(): SupergroupEventMessage<SupergroupEvent>?
Link copied to clipboard
inline fun Chat.asSuperPublicChat(): SuperPublicChat?
Link copied to clipboard
inline fun TelegramMedia.asTelegramMediaAnimation(): TelegramMediaAnimation?
Link copied to clipboard
inline fun TelegramMedia.asTelegramMediaAudio(): TelegramMediaAudio?
Link copied to clipboard
inline fun TelegramMedia.asTelegramMediaDocument(): TelegramMediaDocument?
Link copied to clipboard
inline fun TelegramMedia.asTelegramMediaPhoto(): TelegramMediaPhoto?
Link copied to clipboard
inline fun TelegramMedia.asTelegramMediaVideo(): TelegramMediaVideo?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asTextContent(): TextContent?
Link copied to clipboard
inline fun MessageContent.asTextedInput(): TextedInput?
Link copied to clipboard
inline fun ResendableContent.asTextedMediaContent(): TextedMediaContent?
Link copied to clipboard
inline fun TextSource.asTextLinkTextSource(): TextLinkTextSource?
Link copied to clipboard
inline fun TextSource.asTextMentionTextSource(): TextMentionTextSource?
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.asThumbedMediaFile(): ThumbedMediaFile?
Link copied to clipboard
inline fun TelegramMedia.asThumbedTelegramMedia(): ThumbedTelegramMedia?
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asTitledInlineQueryResult(): TitledInlineQueryResult?
Link copied to clipboard
inline fun TelegramMedia.asTitledTelegramMedia(): TitledTelegramMedia?
Link copied to clipboard
inline fun BotAction.asTypingAction(): TypingAction?
Link copied to clipboard
inline fun TextSource.asUnderlineTextSource(): UnderlineTextSource?
Link copied to clipboard
inline fun CallbackQuery.asUnknownCallbackQueryType(): UnknownCallbackQueryType?
Link copied to clipboard
inline fun Chat.asUnknownChatType(): UnknownChatType?
Link copied to clipboard
Link copied to clipboard
inline fun Message.asUnknownMessageType(): UnknownMessageType?
Link copied to clipboard
Link copied to clipboard
inline fun Poll.asUnknownPollType(): UnknownPollType?
Link copied to clipboard
inline fun Update.asUnknownUpdate(): UnknownUpdate?
Link copied to clipboard
inline fun BotAction.asUploadDocumentAction(): UploadDocumentAction?
Link copied to clipboard
inline fun BotAction.asUploadPhotoAction(): UploadPhotoAction?
Link copied to clipboard
inline fun BotAction.asUploadVideoAction(): UploadVideoAction?
Link copied to clipboard
inline fun BotAction.asUploadVideoNoteAction(): UploadVideoNoteAction?
Link copied to clipboard
inline fun BotAction.asUploadVoiceAction(): UploadVoiceAction?
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.asUrlInlineQueryResult(): UrlInlineQueryResult?
Link copied to clipboard
inline fun TextSource.asURLTextSource(): URLTextSource?
Link copied to clipboard
inline fun Chat.asUser(): User?
Link copied to clipboard
inline fun ForwardInfo.asUserForwardInfo(): ForwardInfo.ByUser?
Link copied to clipboard
inline fun ChatEvent.asUserLoggedIn(): UserLoggedIn?
Link copied to clipboard
inline fun Chat.asUsernameChat(): UsernameChat?
Link copied to clipboard
inline fun EncryptedPassportElement.asUtilityBill(): UtilityBill?
Link copied to clipboard
inline fun SecureValue.asUtilityBillSecureValue(): UtilityBillSecureValue?
Link copied to clipboard
inline fun ResendableContent.asVenueContent(): VenueContent?
Link copied to clipboard
inline fun ChatEvent.asVideoChatEnded(): VideoChatEnded?
Link copied to clipboard
inline fun ChatEvent.asVideoChatEvent(): VideoChatEvent?
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.asVideoChatScheduled(): VideoChatScheduled?
Link copied to clipboard
inline fun ChatEvent.asVideoChatStarted(): VideoChatStarted?
Link copied to clipboard
inline fun ResendableContent.asVideoContent(): VideoContent?
Link copied to clipboard
inline fun TelegramMediaFile.asVideoFile(): VideoFile?
Link copied to clipboard
inline fun ResendableContent.asVideoNoteContent(): VideoNoteContent?
Link copied to clipboard
inline fun TelegramMediaFile.asVideoNoteFile(): VideoNoteFile?
Link copied to clipboard
inline fun TelegramMediaFile.asVideoSticker(): VideoSticker?
Link copied to clipboard
inline fun ResendableContent.asVisualMediaGroupContent(): VisualMediaGroupContent?
Link copied to clipboard
inline fun ResendableContent.asVoiceContent(): VoiceContent?
Link copied to clipboard
inline fun TelegramMediaFile.asVoiceFile(): VoiceFile?
Link copied to clipboard
inline fun InlineKeyboardButton.asWebAppKeyboardButton(): WebAppKeyboardButton?
Link copied to clipboard
inline fun Any.asWithOptionalLanguageCode(): WithOptionalLanguageCode?
Link copied to clipboard
inline fun Any.asWithUser(): WithUser?
Link copied to clipboard
inline fun ResendableContent.audioContentOrNull(): AudioContent?
Link copied to clipboard
inline fun ResendableContent.audioContentOrThrow(): AudioContent
Link copied to clipboard
inline fun TelegramMediaFile.audioFileOrNull(): AudioFile?
Link copied to clipboard
inline fun TelegramMediaFile.audioFileOrThrow(): AudioFile
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.bankStatementOrNull(): BankStatement?
Link copied to clipboard
inline fun EncryptedPassportElement.bankStatementOrThrow(): BankStatement
Link copied to clipboard
inline fun SecureValue.bankStatementSecureValueOrNull(): BankStatementSecureValue?
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.bannedChatMemberOrNull(): BannedChatMember?
Link copied to clipboard
inline fun WithUser.bannedChatMemberOrThrow(): BannedChatMember
Link copied to clipboard
inline fun WithUser.baseChosenInlineResultOrNull(): BaseChosenInlineResult?
Link copied to clipboard
inline fun WithUser.baseChosenInlineResultOrThrow(): BaseChosenInlineResult
Link copied to clipboard
inline fun Update.baseEditMessageUpdateOrNull(): BaseEditMessageUpdate?
Link copied to clipboard
inline fun Update.baseEditMessageUpdateOrThrow(): BaseEditMessageUpdate
Link copied to clipboard
inline fun WithUser.baseInlineQueryOrNull(): BaseInlineQuery?
Link copied to clipboard
inline fun WithUser.baseInlineQueryOrThrow(): BaseInlineQuery
Link copied to clipboard
inline fun Update.baseMessageUpdateOrNull(): BaseMessageUpdate?
Link copied to clipboard
inline fun Update.baseMessageUpdateOrThrow(): BaseMessageUpdate
Link copied to clipboard
inline fun Update.baseSentMessageUpdateOrNull(): BaseSentMessageUpdate?
Link copied to clipboard
inline fun Update.baseSentMessageUpdateOrThrow(): BaseSentMessageUpdate
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TextSource.boldTextSourceOrNull(): BoldTextSource?
Link copied to clipboard
inline fun TextSource.boldTextSourceOrThrow(): BoldTextSource
Link copied to clipboard
inline fun TextSource.botCommandTextSourceOrNull(): BotCommandTextSource?
Link copied to clipboard
inline fun TextSource.botCommandTextSourceOrThrow(): BotCommandTextSource
Link copied to clipboard
inline fun Chat.botOrNull(): Bot?
Link copied to clipboard
inline fun Chat.botOrThrow(): Bot
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ForwardInfo.byAnonymousOrNull(): ForwardInfo.ByAnonymous?
Link copied to clipboard
inline fun ForwardInfo.byAnonymousOrThrow(): ForwardInfo.ByAnonymous
Link copied to clipboard
inline fun ForwardInfo.byUserOrNull(): ForwardInfo.ByUser?
Link copied to clipboard
inline fun ForwardInfo.byUserOrThrow(): ForwardInfo.ByUser
Link copied to clipboard
fun Dice.calculateSlotMachineResult(): SlotMachineResult?
Link copied to clipboard
inline fun WithUser.callbackQueryOrNull(): CallbackQuery?
Link copied to clipboard
inline fun WithUser.callbackQueryOrThrow(): CallbackQuery
Link copied to clipboard
inline fun Update.callbackQueryUpdateOrNull(): CallbackQueryUpdate?
Link copied to clipboard
inline fun Update.callbackQueryUpdateOrThrow(): CallbackQueryUpdate
Link copied to clipboard
inline fun TextSource.cashTagTextSourceOrNull(): CashTagTextSource?
Link copied to clipboard
inline fun TextSource.cashTagTextSourceOrThrow(): CashTagTextSource
Link copied to clipboard
inline fun ChatEvent.channelChatCreatedOrNull(): ChannelChatCreated?
Link copied to clipboard
inline fun ChatEvent.channelChatCreatedOrThrow(): ChannelChatCreated
Link copied to clipboard
inline fun Chat.channelChatImplOrNull(): ChannelChatImpl?
Link copied to clipboard
inline fun Chat.channelChatImplOrThrow(): ChannelChatImpl
Link copied to clipboard
inline fun Chat.channelChatOrNull(): ChannelChat?
Link copied to clipboard
inline fun Chat.channelChatOrThrow(): ChannelChat
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.channelContentMessageOrNull(): ChannelContentMessage<MessageContent>?
Link copied to clipboard
Link copied to clipboard
inline fun Message.channelEventMessageOrNull(): ChannelEventMessage<ChannelEvent>?
Link copied to clipboard
inline fun Message.channelEventMessageOrThrow(): ChannelEventMessage<ChannelEvent>
Link copied to clipboard
inline fun ChatEvent.channelEventOrNull(): ChannelEvent?
Link copied to clipboard
inline fun ChatEvent.channelEventOrThrow(): ChannelEvent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.channelPostMediaGroupUpdateOrNull(): ChannelPostMediaGroupUpdate?
Link copied to clipboard
Link copied to clipboard
inline fun Update.channelPostUpdateOrNull(): ChannelPostUpdate?
Link copied to clipboard
inline fun Update.channelPostUpdateOrThrow(): ChannelPostUpdate
Link copied to clipboard
inline fun Message.chatEventMessageOrNull(): ChatEventMessage<ChatEvent>?
Link copied to clipboard
inline fun Message.chatEventMessageOrThrow(): ChatEventMessage<ChatEvent>
Link copied to clipboard
inline fun WithUser.chatInviteLinkOrNull(): ChatInviteLink?
Link copied to clipboard
inline fun WithUser.chatInviteLinkOrThrow(): ChatInviteLink
Link copied to clipboard
inline fun WithUser.chatInviteLinkUnlimitedOrNull(): ChatInviteLinkUnlimited?
Link copied to clipboard
inline fun WithUser.chatInviteLinkUnlimitedOrThrow(): ChatInviteLinkUnlimited
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.chatJoinRequestOrNull(): ChatJoinRequest?
Link copied to clipboard
inline fun WithUser.chatJoinRequestOrThrow(): ChatJoinRequest
Link copied to clipboard
inline fun Update.chatJoinRequestUpdateOrNull(): ChatJoinRequestUpdate?
Link copied to clipboard
inline fun Update.chatJoinRequestUpdateOrThrow(): ChatJoinRequestUpdate
Link copied to clipboard
inline fun WithUser.chatMemberOrNull(): ChatMember?
Link copied to clipboard
inline fun WithUser.chatMemberOrThrow(): ChatMember
Link copied to clipboard
inline fun Update.chatMemberUpdatedUpdateOrNull(): ChatMemberUpdatedUpdate?
Link copied to clipboard
inline fun Update.chatMemberUpdatedUpdateOrThrow(): ChatMemberUpdatedUpdate
Link copied to clipboard
inline fun BotAction.chooseStickerActionOrNull(): ChooseStickerAction?
Link copied to clipboard
inline fun BotAction.chooseStickerActionOrThrow(): ChooseStickerAction
Link copied to clipboard
inline fun WithUser.chosenInlineResultOrNull(): ChosenInlineResult?
Link copied to clipboard
inline fun WithUser.chosenInlineResultOrThrow(): ChosenInlineResult
Link copied to clipboard
inline fun Update.chosenInlineResultUpdateOrNull(): ChosenInlineResultUpdate?
Link copied to clipboard
inline fun Update.chosenInlineResultUpdateOrThrow(): ChosenInlineResultUpdate
Link copied to clipboard
inline fun TextSource.codeTextSourceOrNull(): CodeTextSource?
Link copied to clipboard
inline fun TextSource.codeTextSourceOrThrow(): CodeTextSource
Link copied to clipboard
inline fun Chat.commonBotOrNull(): CommonBot?
Link copied to clipboard
inline fun Chat.commonBotOrThrow(): CommonBot
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.commonEventOrNull(): CommonEvent?
Link copied to clipboard
inline fun ChatEvent.commonEventOrThrow(): CommonEvent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.commonMessageOrNull(): CommonMessage<MessageContent>?
Link copied to clipboard
inline fun Message.commonMessageOrThrow(): CommonMessage<MessageContent>
Link copied to clipboard
inline fun <C : MessageContent, T : ContentMessage<C>> Flow<T>.commonMessages(): Flow<CommonMessage<C>>

Shortcut for onlyCommonMessages

Link copied to clipboard
inline fun EncryptedPassportElement.commonPassportOrNull(): CommonPassport?
Link copied to clipboard
inline fun EncryptedPassportElement.commonPassportOrThrow(): CommonPassport
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Chat.commonUserOrNull(): CommonUser?
Link copied to clipboard
inline fun Chat.commonUserOrThrow(): CommonUser
Link copied to clipboard
inline fun ResendableContent.contactContentOrNull(): ContactContent?
Link copied to clipboard
inline fun ResendableContent.contactContentOrThrow(): ContactContent
Link copied to clipboard
inline fun Message.contentMessageOrNull(): ContentMessage<MessageContent>?
Link copied to clipboard
inline fun Message.contentMessageOrThrow(): ContentMessage<MessageContent>
Link copied to clipboard
inline fun CommonSendInvoiceData.createInvoiceLinkOrNull(): CreateInvoiceLink?
Link copied to clipboard
inline fun CommonSendInvoiceData.createInvoiceLinkOrThrow(): CreateInvoiceLink
Link copied to clipboard
inline fun DiceAnimationType.cubeDiceAnimationTypeOrNull(): CubeDiceAnimationType?
Link copied to clipboard
Link copied to clipboard
inline fun BotAction.customBotActionOrNull(): CustomBotAction?
Link copied to clipboard
inline fun BotAction.customBotActionOrThrow(): CustomBotAction
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.customEmojiStickerOrNull(): CustomEmojiSticker?
Link copied to clipboard
inline fun TelegramMediaFile.customEmojiStickerOrThrow(): CustomEmojiSticker
Link copied to clipboard
inline fun TextSource.customEmojiTextSourceOrNull(): CustomEmojiTextSource?
Link copied to clipboard
inline fun TextSource.customEmojiTextSourceOrThrow(): CustomEmojiTextSource
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.dataCallbackQueryOrNull(): DataCallbackQuery?
Link copied to clipboard
inline fun WithUser.dataCallbackQueryOrThrow(): DataCallbackQuery
Link copied to clipboard
inline fun ChatEvent.deleteChatPhotoOrNull(): DeleteChatPhoto?
Link copied to clipboard
inline fun ChatEvent.deleteChatPhotoOrThrow(): DeleteChatPhoto
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.diceContentOrNull(): DiceContent?
Link copied to clipboard
inline fun ResendableContent.diceContentOrThrow(): DiceContent
Link copied to clipboard
inline fun ResendableContent.documentContentOrNull(): DocumentContent?
Link copied to clipboard
inline fun ResendableContent.documentContentOrThrow(): DocumentContent
Link copied to clipboard
inline fun TelegramMediaFile.documentFileOrNull(): DocumentFile?
Link copied to clipboard
inline fun TelegramMediaFile.documentFileOrThrow(): DocumentFile
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.driverLicenseOrNull(): DriverLicense?
Link copied to clipboard
inline fun EncryptedPassportElement.driverLicenseOrThrow(): DriverLicense
Link copied to clipboard
inline fun SecureValue.driverLicenseSecureValueOrNull(): DriverLicenseSecureValue?
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.duratedTelegramMediaOrNull(): DuratedTelegramMedia?
Link copied to clipboard
inline fun TelegramMedia.duratedTelegramMediaOrThrow(): DuratedTelegramMedia
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.editChannelPostUpdateOrNull(): EditChannelPostUpdate?
Link copied to clipboard
inline fun Update.editChannelPostUpdateOrThrow(): EditChannelPostUpdate
Link copied to clipboard
inline fun Update.editMediaGroupUpdateOrNull(): EditMediaGroupUpdate?
Link copied to clipboard
inline fun Update.editMediaGroupUpdateOrThrow(): EditMediaGroupUpdate
Link copied to clipboard
inline fun Update.editMessageMediaGroupUpdateOrNull(): EditMessageMediaGroupUpdate?
Link copied to clipboard
Link copied to clipboard
inline fun Update.editMessageUpdateOrNull(): EditMessageUpdate?
Link copied to clipboard
inline fun Update.editMessageUpdateOrThrow(): EditMessageUpdate
Link copied to clipboard
inline fun EncryptedPassportElement.emailOrNull(): Email?
Link copied to clipboard
inline fun EncryptedPassportElement.emailOrThrow(): Email
Link copied to clipboard
inline fun TextSource.eMailTextSourceOrNull(): EMailTextSource?
Link copied to clipboard
inline fun TextSource.eMailTextSourceOrThrow(): EMailTextSource
Link copied to clipboard
inline fun EncryptedPassportElement.encryptedAddressOrNull(): EncryptedAddress?
Link copied to clipboard
inline fun EncryptedPassportElement.encryptedAddressOrThrow(): EncryptedAddress
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Chat.extendedBotOrNull(): ExtendedBot?
Link copied to clipboard
inline fun Chat.extendedBotOrThrow(): ExtendedBot
Link copied to clipboard
inline fun Chat.extendedChannelChatImplOrNull(): ExtendedChannelChatImpl?
Link copied to clipboard
inline fun Chat.extendedChannelChatImplOrThrow(): ExtendedChannelChatImpl
Link copied to clipboard
inline fun Chat.extendedChannelChatOrNull(): ExtendedChannelChat?
Link copied to clipboard
inline fun Chat.extendedChannelChatOrThrow(): ExtendedChannelChat
Link copied to clipboard
inline fun Chat.extendedChatOrNull(): ExtendedChat?
Link copied to clipboard
inline fun Chat.extendedChatOrThrow(): ExtendedChat
Link copied to clipboard
inline fun Chat.extendedGroupChatImplOrNull(): ExtendedGroupChatImpl?
Link copied to clipboard
inline fun Chat.extendedGroupChatImplOrThrow(): ExtendedGroupChatImpl
Link copied to clipboard
inline fun Chat.extendedGroupChatOrNull(): ExtendedGroupChat?
Link copied to clipboard
inline fun Chat.extendedGroupChatOrThrow(): ExtendedGroupChat
Link copied to clipboard
inline fun Chat.extendedPrivateChatImplOrNull(): ExtendedPrivateChatImpl?
Link copied to clipboard
inline fun Chat.extendedPrivateChatImplOrThrow(): ExtendedPrivateChatImpl
Link copied to clipboard
inline fun Chat.extendedPrivateChatOrNull(): ExtendedPrivateChat?
Link copied to clipboard
inline fun Chat.extendedPrivateChatOrThrow(): ExtendedPrivateChat
Link copied to clipboard
inline fun Chat.extendedPublicChatOrNull(): ExtendedPublicChat?
Link copied to clipboard
inline fun Chat.extendedPublicChatOrThrow(): ExtendedPublicChat
Link copied to clipboard
inline fun Chat.extendedSupergroupChatImplOrNull(): ExtendedSupergroupChatImpl?
Link copied to clipboard
inline fun Chat.extendedSupergroupChatImplOrThrow(): ExtendedSupergroupChatImpl
Link copied to clipboard
inline fun Chat.extendedSupergroupChatOrNull(): ExtendedSupergroupChat?
Link copied to clipboard
inline fun Chat.extendedSupergroupChatOrThrow(): ExtendedSupergroupChat
Link copied to clipboard
inline fun InlineQueryResult.fileInlineQueryResultOrNull(): FileInlineQueryResult?
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.fileOrNull(): File?
Link copied to clipboard
inline fun TelegramMediaFile.fileOrThrow(): File
Link copied to clipboard
inline fun BotAction.findLocationActionOrNull(): FindLocationAction?
Link copied to clipboard
inline fun BotAction.findLocationActionOrThrow(): FindLocationAction
Link copied to clipboard
fun <T, R> Flow<T>.flatMap(mapper: (T) -> Iterable<R>): Flow<R>
Link copied to clipboard
fun <T> Flow<Iterable<T>>.flatten(): Flow<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ForwardInfo.fromChannelOrNull(): ForwardInfo.PublicChat.FromChannel?
Link copied to clipboard
inline fun ForwardInfo.fromChannelOrThrow(): ForwardInfo.PublicChat.FromChannel
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.fromUserMessageOrNull(): FromUserMessage?
inline fun Message.fromUserMessageOrNull(): FromUserMessage?
Link copied to clipboard
inline fun WithUser.fromUserMessageOrThrow(): FromUserMessage
inline fun Message.fromUserMessageOrThrow(): FromUserMessage
Link copied to clipboard
inline fun WithUser.fromUserOrNull(): FromUser?
inline fun Any.fromUserOrNull(): FromUser?
Link copied to clipboard
inline fun WithUser.fromUserOrThrow(): FromUser
inline fun Any.fromUserOrThrow(): FromUser
Link copied to clipboard
inline fun ResendableContent.gameContentOrNull(): GameContent?
Link copied to clipboard
inline fun ResendableContent.gameContentOrThrow(): GameContent
Link copied to clipboard
inline fun WithUser.gameShortNameCallbackQueryOrNull(): GameShortNameCallbackQuery?
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.groupChatCreatedOrNull(): GroupChatCreated?
Link copied to clipboard
inline fun ChatEvent.groupChatCreatedOrThrow(): GroupChatCreated
Link copied to clipboard
inline fun Chat.groupChatImplOrNull(): GroupChatImpl?
Link copied to clipboard
inline fun Chat.groupChatImplOrThrow(): GroupChatImpl
Link copied to clipboard
inline fun Chat.groupChatOrNull(): GroupChat?
Link copied to clipboard
inline fun Chat.groupChatOrThrow(): GroupChat
Link copied to clipboard
inline fun Message.groupContentMessageOrNull(): GroupContentMessage<MessageContent>?
Link copied to clipboard
inline fun Message.groupContentMessageOrThrow(): GroupContentMessage<MessageContent>
Link copied to clipboard
inline fun WithUser.groupEventMessageOrNull(): GroupEventMessage<GroupEvent>?
inline fun Message.groupEventMessageOrNull(): GroupEventMessage<GroupEvent>?
Link copied to clipboard
inline fun WithUser.groupEventMessageOrThrow(): GroupEventMessage<GroupEvent>
inline fun Message.groupEventMessageOrThrow(): GroupEventMessage<GroupEvent>
Link copied to clipboard
inline fun ChatEvent.groupEventOrNull(): GroupEvent?
Link copied to clipboard
inline fun ChatEvent.groupEventOrThrow(): GroupEvent
Link copied to clipboard
inline fun TextSource.hashTagTextSourceOrNull(): HashTagTextSource?
Link copied to clipboard
inline fun TextSource.hashTagTextSourceOrThrow(): HashTagTextSource
Link copied to clipboard
inline fun EncryptedPassportElement.identityCardOrNull(): IdentityCard?
Link copied to clipboard
inline fun EncryptedPassportElement.identityCardOrThrow(): IdentityCard
Link copied to clipboard
inline fun SecureValue.identityCardSecureValueOrNull(): IdentityCardSecureValue?
Link copied to clipboard
inline fun SecureValue.identityCardSecureValueOrThrow(): IdentityCardSecureValue
Link copied to clipboard
inline fun <T> Chat.ifAbleToAddInAttachmentMenuChat(block: (AbleToAddInAttachmentMenuChat) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifAddressSecureValue(block: (AddressSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifAdministratorChatMember(block: (AdministratorChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifAdministratorChatMemberImpl(block: (AdministratorChatMemberImpl) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifAnimatedSticker(block: (AnimatedSticker) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifAnimationContent(block: (AnimationContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifAnimationFile(block: (AnimationFile) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifAnonymousGroupContentMessage(block: (AnonymousGroupContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifAnonymousGroupContentMessageImpl(block: (AnonymousGroupContentMessageImpl<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> ScheduledCloseInfo.ifApproximateScheduledCloseInfo(block: (ApproximateScheduledCloseInfo) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifAudioContent(block: (AudioContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifAudioFile(block: (AudioFile) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifAudioMediaGroupContent(block: (AudioMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifAudioMediaGroupMemberTelegramMedia(block: (AudioMediaGroupMemberTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifBankStatement(block: (BankStatement) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifBankStatementSecureValue(block: (BankStatementSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifBannedChatMember(block: (BannedChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifBaseChosenInlineResult(block: (BaseChosenInlineResult) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifBaseEditMessageUpdate(block: (BaseEditMessageUpdate) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifBaseInlineQuery(block: (BaseInlineQuery) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifBaseMessageUpdate(block: (BaseMessageUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifBaseSentMessageUpdate(block: (BaseSentMessageUpdate) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.ifBasketballDiceAnimationType(block: (BasketballDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifBoldTextSource(block: (BoldTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifBot(block: (Bot) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifBotCommandTextSource(block: (BotCommandTextSource) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.ifBowlingDiceAnimationType(block: (BowlingDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> ForwardInfo.ifByAnonymous(block: (ForwardInfo.ByAnonymous) -> T): T?
Link copied to clipboard
inline fun <T> ForwardInfo.ifByUser(block: (ForwardInfo.ByUser) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.ifCallbackDataInlineKeyboardButton(block: (CallbackDataInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.ifCallbackGameInlineKeyboardButton(block: (CallbackGameInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCallbackQuery(block: (CallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifCallbackQueryUpdate(block: (CallbackQueryUpdate) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifCashTagTextSource(block: (CashTagTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifChannelChat(block: (ChannelChat) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifChannelChatCreated(block: (ChannelChatCreated) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifChannelChatImpl(block: (ChannelChatImpl) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifChannelContentMessageImpl(block: (ChannelContentMessageImpl<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifChannelEvent(block: (ChannelEvent) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifChannelEventMessage(block: (ChannelEventMessage<ChannelEvent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifChannelMediaGroupMessage(block: (ChannelMediaGroupMessage<MediaGroupContent>) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifChannelPostMediaGroupUpdate(block: (ChannelPostMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifChannelPostUpdate(block: (ChannelPostUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifChatEventMessage(block: (ChatEventMessage<ChatEvent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatInviteLink(block: (ChatInviteLink) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatInviteLinkUnlimited(block: (ChatInviteLinkUnlimited) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatInviteLinkWithJoinRequest(block: (ChatInviteLinkWithJoinRequest) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatInviteLinkWithLimitedMembers(block: (ChatInviteLinkWithLimitedMembers) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatJoinRequest(block: (ChatJoinRequest) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifChatJoinRequestUpdate(block: (ChatJoinRequestUpdate) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatMember(block: (ChatMember) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifChatMemberUpdatedUpdate(block: (ChatMemberUpdatedUpdate) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifChooseStickerAction(block: (ChooseStickerAction) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChosenInlineResult(block: (ChosenInlineResult) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifChosenInlineResultUpdate(block: (ChosenInlineResultUpdate) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifCodeTextSource(block: (CodeTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifCommonBot(block: (CommonBot) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifCommonChatMemberUpdatedUpdate(block: (CommonChatMemberUpdatedUpdate) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifCommonEvent(block: (CommonEvent) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCommonGroupContentMessage(block: (CommonGroupContentMessage<MessageContent>) -> T): T?
inline fun <T> Message.ifCommonGroupContentMessage(block: (CommonGroupContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCommonGroupContentMessageImpl(block: (CommonGroupContentMessageImpl<MessageContent>) -> T): T?
inline fun <T> Message.ifCommonGroupContentMessageImpl(block: (CommonGroupContentMessageImpl<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCommonGroupEventMessage(block: (CommonGroupEventMessage<GroupEvent>) -> T): T?
inline fun <T> Message.ifCommonGroupEventMessage(block: (CommonGroupEventMessage<GroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCommonMediaGroupMessage(block: (CommonMediaGroupMessage<MediaGroupContent>) -> T): T?
inline fun <T> Message.ifCommonMediaGroupMessage(block: (CommonMediaGroupMessage<MediaGroupContent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifCommonMessage(block: (CommonMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifCommonPassport(block: (CommonPassport) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifCommonPassportSecureValue(block: (CommonPassportSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCommonSupergroupEventMessage(block: (CommonSupergroupEventMessage<SupergroupEvent>) -> T): T?
inline fun <T> Message.ifCommonSupergroupEventMessage(block: (CommonSupergroupEventMessage<SupergroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifCommonUser(block: (CommonUser) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifContactContent(block: (ContactContent) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifContentMessage(block: (ContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.ifCreateInvoiceLink(block: (CreateInvoiceLink) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.ifCubeDiceAnimationType(block: (CubeDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifCustomBotAction(block: (CustomBotAction) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.ifCustomDiceAnimationType(block: (CustomDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifCustomEmojiAnimatedSticker(block: (CustomEmojiAnimatedSticker) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifCustomEmojiSimpleSticker(block: (CustomEmojiSimpleSticker) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifCustomEmojiSticker(block: (CustomEmojiSticker) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifCustomEmojiTextSource(block: (CustomEmojiTextSource) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifCustomEmojiVideoSticker(block: (CustomEmojiVideoSticker) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.ifDartsDiceAnimationType(block: (DartsDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifDataCallbackQuery(block: (DataCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifDeleteChatPhoto(block: (DeleteChatPhoto) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifDescribedInlineQueryResult(block: (DescribedInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifDiceContent(block: (DiceContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifDocumentContent(block: (DocumentContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifDocumentFile(block: (DocumentFile) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifDocumentMediaGroupContent(block: (DocumentMediaGroupContent) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifDriverLicense(block: (DriverLicense) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifDriverLicenseSecureValue(block: (DriverLicenseSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifDuratedTelegramMedia(block: (DuratedTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifEditChannelPostMediaGroupUpdate(block: (EditChannelPostMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifEditChannelPostUpdate(block: (EditChannelPostUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifEditMediaGroupUpdate(block: (EditMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifEditMessageMediaGroupUpdate(block: (EditMessageMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifEditMessageUpdate(block: (EditMessageUpdate) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifEmail(block: (Email) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifEMailTextSource(block: (EMailTextSource) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifEncryptedAddress(block: (EncryptedAddress) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifEncryptedPersonalDetails(block: (EncryptedPersonalDetails) -> T): T?
Link copied to clipboard
inline fun <T> ScheduledCloseInfo.ifExactScheduledCloseInfo(block: (ExactScheduledCloseInfo) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedBot(block: (ExtendedBot) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedChannelChat(block: (ExtendedChannelChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedChannelChatImpl(block: (ExtendedChannelChatImpl) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedChat(block: (ExtendedChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedGroupChat(block: (ExtendedGroupChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedGroupChatImpl(block: (ExtendedGroupChatImpl) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedPrivateChat(block: (ExtendedPrivateChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedPrivateChatImpl(block: (ExtendedPrivateChatImpl) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedPublicChat(block: (ExtendedPublicChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedSupergroupChat(block: (ExtendedSupergroupChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifExtendedSupergroupChatImpl(block: (ExtendedSupergroupChatImpl) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifFile(block: (File) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifFileInlineQueryResult(block: (FileInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifFindLocationAction(block: (FindLocationAction) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.ifFootballDiceAnimationType(block: (FootballDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> ForwardInfo.ifFromChannel(block: (ForwardInfo.PublicChat.FromChannel) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifFromChannelGroupContentMessage(block: (FromChannelGroupContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> ForwardInfo.ifFromSupergroup(block: (ForwardInfo.PublicChat.FromSupergroup) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifFromUser(block: (FromUser) -> T): T?
inline fun <T> Any.ifFromUser(block: (FromUser) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifFromUserMessage(block: (FromUserMessage) -> T): T?
inline fun <T> Message.ifFromUserMessage(block: (FromUserMessage) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifGameContent(block: (GameContent) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifGameShortNameCallbackQuery(block: (GameShortNameCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifGroupChat(block: (GroupChat) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifGroupChatCreated(block: (GroupChatCreated) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifGroupChatImpl(block: (GroupChatImpl) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifGroupContentMessage(block: (GroupContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifGroupEvent(block: (GroupEvent) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifGroupEventMessage(block: (GroupEventMessage<GroupEvent>) -> T): T?
inline fun <T> Message.ifGroupEventMessage(block: (GroupEventMessage<GroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifHashTagTextSource(block: (HashTagTextSource) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifIdentityCard(block: (IdentityCard) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifIdentityCardSecureValue(block: (IdentityCardSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifIdentityWithReverseSideSecureValue(block: (IdentityWithReverseSideSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> KeyboardMarkup.ifInlineKeyboardMarkup(block: (InlineKeyboardMarkup) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifInlineMessageIdCallbackQuery(block: (InlineMessageIdCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifInlineMessageIdDataCallbackQuery(block: (InlineMessageIdDataCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifInlineQuery(block: (InlineQuery) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultArticle(block: (InlineQueryResultArticle) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultAudio(block: (InlineQueryResultAudio) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultAudioCached(block: (InlineQueryResultAudioCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultAudioCachedImpl(block: (InlineQueryResultAudioCachedImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultAudioCommon(block: (InlineQueryResultAudioCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultAudioImpl(block: (InlineQueryResultAudioImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultContact(block: (InlineQueryResultContact) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultDocument(block: (InlineQueryResultDocument) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultDocumentCached(block: (InlineQueryResultDocumentCached) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultDocumentCommon(block: (InlineQueryResultDocumentCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultDocumentImpl(block: (InlineQueryResultDocumentImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultGame(block: (InlineQueryResultGame) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultGif(block: (InlineQueryResultGif) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultGifCached(block: (InlineQueryResultGifCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultGifCachedImpl(block: (InlineQueryResultGifCachedImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultGifCommon(block: (InlineQueryResultGifCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultGifImpl(block: (InlineQueryResultGifImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultLocation(block: (InlineQueryResultLocation) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultMpeg4Gif(block: (InlineQueryResultMpeg4Gif) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultMpeg4GifCached(block: (InlineQueryResultMpeg4GifCached) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultMpeg4GifCommon(block: (InlineQueryResultMpeg4GifCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultMpeg4GifImpl(block: (InlineQueryResultMpeg4GifImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultPhoto(block: (InlineQueryResultPhoto) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultPhotoCached(block: (InlineQueryResultPhotoCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultPhotoCachedImpl(block: (InlineQueryResultPhotoCachedImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultPhotoCommon(block: (InlineQueryResultPhotoCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultPhotoImpl(block: (InlineQueryResultPhotoImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultStickerCached(block: (InlineQueryResultStickerCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVenue(block: (InlineQueryResultVenue) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVideo(block: (InlineQueryResultVideo) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVideoCached(block: (InlineQueryResultVideoCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVideoCachedImpl(block: (InlineQueryResultVideoCachedImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVideoCommon(block: (InlineQueryResultVideoCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVideoImpl(block: (InlineQueryResultVideoImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVoice(block: (InlineQueryResultVoice) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVoiceCached(block: (InlineQueryResultVoiceCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVoiceCachedImpl(block: (InlineQueryResultVoiceCachedImpl) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVoiceCommon(block: (InlineQueryResultVoiceCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifInlineQueryResultVoiceImpl(block: (InlineQueryResultVoiceImpl) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifInlineQueryUpdate(block: (InlineQueryUpdate) -> T): T?
Link copied to clipboard
inline fun <T> InputMessageContent.ifInputContactMessageContent(block: (InputContactMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.ifInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
inline fun <T> InputMessageContent.ifInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> InputMessageContent.ifInputLocationMessageContent(block: (InputLocationMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> InputMessageContent.ifInputTextMessageContent(block: (InputTextMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> InputMessageContent.ifInputVenueMessageContent(block: (InputVenueMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifInternalPassport(block: (InternalPassport) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifInternalPassportSecureValue(block: (InternalPassportSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifInvoiceContent(block: (InvoiceContent) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifItalicTextSource(block: (ItalicTextSource) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifKickedChatMember(block: (KickedChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLeftChatMember(block: (LeftChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLeftChatMemberEvent(block: (LeftChatMemberEvent) -> T): T?
inline fun <T> ChatEvent.ifLeftChatMemberEvent(block: (LeftChatMemberEvent) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLeftChatMemberImpl(block: (LeftChatMemberImpl) -> T): T?
Link copied to clipboard
inline fun <T> Location.ifLiveLocation(block: (LiveLocation) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifLiveLocationContent(block: (LiveLocationContent) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLocationChosenInlineResult(block: (LocationChosenInlineResult) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifLocationContent(block: (LocationContent) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLocationInlineQuery(block: (LocationInlineQuery) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.ifLoginURLInlineKeyboardButton(block: (LoginURLInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifMaskAnimatedSticker(block: (MaskAnimatedSticker) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifMaskSimpleSticker(block: (MaskSimpleSticker) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifMaskSticker(block: (MaskSticker) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifMaskVideoSticker(block: (MaskVideoSticker) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifMediaCollectionContent(block: (MediaCollectionContent<TelegramMediaFile>) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifMediaContent(block: (MediaContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifMediaGroupContent(block: (MediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifMediaGroupMemberTelegramMedia(block: (MediaGroupMemberTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifMediaGroupMessage(block: (MediaGroupMessage<MediaGroupContent>) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifMediaGroupUpdate(block: (MediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifMemberChatMember(block: (MemberChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifMemberChatMemberImpl(block: (MemberChatMemberImpl) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifMentionTextSource(block: (MentionTextSource) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifMessageAutoDeleteTimerChanged(block: (MessageAutoDeleteTimerChanged) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifMessageCallbackQuery(block: (MessageCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifMessageContent(block: (MessageContent) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifMessageDataCallbackQuery(block: (MessageDataCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifMessageGameShortNameCallbackQuery(block: (MessageGameShortNameCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifMessageMediaGroupUpdate(block: (MessageMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifMessageUpdate(block: (MessageUpdate) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifMigratedToSupergroup(block: (MigratedToSupergroup) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifMimedMediaFile(block: (MimedMediaFile) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifMultilevelTextSource(block: (MultilevelTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Poll.ifMultipleAnswersPoll(block: (MultipleAnswersPoll) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifMyChatMemberUpdatedUpdate(block: (MyChatMemberUpdatedUpdate) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifNewChatMembers(block: (NewChatMembers) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifNewChatPhoto(block: (NewChatPhoto) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifNewChatTitle(block: (NewChatTitle) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifOptionallyTitledInlineQueryResult(block: (OptionallyTitledInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifOtherDocumentsSecureValue(block: (OtherDocumentsSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifOwnerChatMember(block: (OwnerChatMember) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifPassport(block: (Passport) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportElementErrorDataField(block: (PassportElementErrorDataField) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportElementErrorFile(block: (PassportElementErrorFile) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportElementErrorFiles(block: (PassportElementErrorFiles) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportElementErrorFrontSide(block: (PassportElementErrorFrontSide) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportElementErrorReverseSide(block: (PassportElementErrorReverseSide) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportElementErrorSelfie(block: (PassportElementErrorSelfie) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportElementErrorUnspecified(block: (PassportElementErrorUnspecified) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportElementFileError(block: (PassportElementFileError) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportElementFilesError(block: (PassportElementFilesError) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifPassportFile(block: (PassportFile) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPassportMessage(block: (PassportMessage) -> T): T?
inline fun <T> Message.ifPassportMessage(block: (PassportMessage) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportMultipleElementsError(block: (PassportMultipleElementsError) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifPassportRegistration(block: (PassportRegistration) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifPassportRegistrationSecureValue(block: (PassportRegistrationSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifPassportSecureValue(block: (PassportSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifPassportSingleElementError(block: (PassportSingleElementError) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifPathedFile(block: (PathedFile) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.ifPayInlineKeyboardButton(block: (PayInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifPersonalDetailsSecureValue(block: (PersonalDetailsSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifPhoneNumber(block: (PhoneNumber) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifPhoneNumberTextSource(block: (PhoneNumberTextSource) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifPhotoContent(block: (PhotoContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifPhotoSize(block: (PhotoSize) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifPinnedMessage(block: (PinnedMessage) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifPlayableMediaFile(block: (PlayableMediaFile) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPollAnswer(block: (PollAnswer) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifPollAnswerUpdate(block: (PollAnswerUpdate) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifPollContent(block: (PollContent) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifPollUpdate(block: (PollUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifPossiblyEditedMessage(block: (PossiblyEditedMessage) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifPossiblyForwardedMessage(block: (PossiblyForwardedMessage) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifPossiblyPaymentMessage(block: (PossiblyPaymentMessage) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifPossiblyPremiumChat(block: (PossiblyPremiumChat) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifPossiblySentViaBotCommonMessage(block: (PossiblySentViaBotCommonMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPreCheckoutQuery(block: (PreCheckoutQuery) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifPreCheckoutQueryUpdate(block: (PreCheckoutQueryUpdate) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifPreTextSource(block: (PreTextSource) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPrimaryInviteLink(block: (PrimaryInviteLink) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifPrivateChat(block: (PrivateChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifPrivateChatImpl(block: (PrivateChatImpl) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPrivateContentMessage(block: (PrivateContentMessage<MessageContent>) -> T): T?
inline fun <T> Message.ifPrivateContentMessage(block: (PrivateContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPrivateContentMessageImpl(block: (PrivateContentMessageImpl<MessageContent>) -> T): T?
inline fun <T> Message.ifPrivateContentMessageImpl(block: (PrivateContentMessageImpl<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifPrivateEvent(block: (PrivateEvent) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifPrivateEventMessage(block: (PrivateEventMessage<PrivateEvent>) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifProximityAlertTriggered(block: (ProximityAlertTriggered) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifPublicChat(block: (PublicChat) -> T): T?
inline fun <T> ForwardInfo.ifPublicChat(block: (ForwardInfo.PublicChat) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifPublicChatEvent(block: (PublicChatEvent) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifPublicContentMessage(block: (PublicContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> Poll.ifQuizPoll(block: (QuizPoll) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifRecordVideoAction(block: (RecordVideoAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifRecordVideoNoteAction(block: (RecordVideoNoteAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifRecordVoiceAction(block: (RecordVoiceAction) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifRegularAnimatedSticker(block: (RegularAnimatedSticker) -> T): T?
Link copied to clipboard
inline fun <T> Poll.ifRegularPoll(block: (RegularPoll) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifRegularSimpleSticker(block: (RegularSimpleSticker) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifRegularSticker(block: (RegularSticker) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifRegularTextSource(block: (RegularTextSource) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifRegularVideoSticker(block: (RegularVideoSticker) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifRentalAgreement(block: (RentalAgreement) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifRentalAgreementSecureValue(block: (RentalAgreementSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> KeyboardMarkup.ifReplyForce(block: (ReplyForce) -> T): T?
Link copied to clipboard
inline fun <T> KeyboardMarkup.ifReplyKeyboardMarkup(block: (ReplyKeyboardMarkup) -> T): T?
Link copied to clipboard
inline fun <T> KeyboardMarkup.ifReplyKeyboardRemove(block: (ReplyKeyboardRemove) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifRestrictedChatMember(block: (RestrictedChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifSecondaryChatInviteLink(block: (SecondaryChatInviteLink) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifSecureValueIdentity(block: (SecureValueIdentity) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifSecureValueWithData(block: (SecureValueWithData) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifSecureValueWithFiles(block: (SecureValueWithFiles) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifSecureValueWithReverseSide(block: (SecureValueWithReverseSide) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifSecureValueWithTranslations(block: (SecureValueWithTranslations) -> T): T?
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.ifSendInvoice(block: (SendInvoice) -> T): T?
Link copied to clipboard
inline fun <T> ForwardInfo.ifSentByChannel(block: (ForwardInfo.PublicChat.SentByChannel) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifSentMediaGroupUpdate(block: (SentMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifShippingQuery(block: (ShippingQuery) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifShippingQueryUpdate(block: (ShippingQueryUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifSignedMessage(block: (SignedMessage) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifSizedInlineQueryResult(block: (SizedInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifSizedMediaFile(block: (SizedMediaFile) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifSizedTelegramMedia(block: (SizedTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.ifSlotMachineDiceAnimationType(block: (SlotMachineDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifSpecialRightsChatMember(block: (SpecialRightsChatMember) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifSpoilerTextSource(block: (SpoilerTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Location.ifStaticLocation(block: (StaticLocation) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifStaticLocationContent(block: (StaticLocationContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifSticker(block: (Sticker) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifStickerContent(block: (StickerContent) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifStrikethroughTextSource(block: (StrikethroughTextSource) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifSuccessfulPaymentEvent(block: (SuccessfulPaymentEvent) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifSupergroupChat(block: (SupergroupChat) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifSupergroupChatCreated(block: (SupergroupChatCreated) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifSupergroupChatImpl(block: (SupergroupChatImpl) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifSupergroupEvent(block: (SupergroupEvent) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifSupergroupEventMessage(block: (SupergroupEventMessage<SupergroupEvent>) -> T): T?
inline fun <T> Message.ifSupergroupEventMessage(block: (SupergroupEventMessage<SupergroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifSuperPublicChat(block: (SuperPublicChat) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> TelegramMedia.ifTelegramMediaAnimation(block: (TelegramMediaAnimation) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifTelegramMediaAudio(block: (TelegramMediaAudio) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifTelegramMediaDocument(block: (TelegramMediaDocument) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifTelegramMediaPhoto(block: (TelegramMediaPhoto) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifTelegramMediaVideo(block: (TelegramMediaVideo) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifTemporalRegistrationSecureValue(block: (TemporalRegistrationSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifTemporaryRegistration(block: (TemporaryRegistration) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifTextContent(block: (TextContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifTextedMediaContent(block: (TextedMediaContent) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifTextLinkTextSource(block: (TextLinkTextSource) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifTextMentionTextSource(block: (TextMentionTextSource) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifThumbedInlineQueryResult(block: (ThumbedInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifThumbedMediaFile(block: (ThumbedMediaFile) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifThumbedTelegramMedia(block: (ThumbedTelegramMedia) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.ifThumbSizedInlineQueryResult(block: (ThumbSizedInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifTitledInlineQueryResult(block: (TitledInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifTitledTelegramMedia(block: (TitledTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifTypingAction(block: (TypingAction) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifUnderlineTextSource(block: (UnderlineTextSource) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifUnknownCallbackQueryType(block: (UnknownCallbackQueryType) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifUnknownChatType(block: (UnknownChatType) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> Chat.ifUnknownExtendedChat(block: (UnknownExtendedChat) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.ifUnknownInlineKeyboardButton(block: (UnknownInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> Message.ifUnknownMessageType(block: (UnknownMessageType) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.ifUnknownPassportElementError(block: (UnknownPassportElementError) -> T): T?
Link copied to clipboard
inline fun <T> Poll.ifUnknownPollType(block: (UnknownPollType) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifUnknownSticker(block: (UnknownSticker) -> T): T?
Link copied to clipboard
inline fun <T> Update.ifUnknownUpdate(block: (UnknownUpdate) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifUploadDocumentAction(block: (UploadDocumentAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifUploadPhotoAction(block: (UploadPhotoAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifUploadVideoAction(block: (UploadVideoAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifUploadVideoNoteAction(block: (UploadVideoNoteAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.ifUploadVoiceAction(block: (UploadVoiceAction) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.ifURLInlineKeyboardButton(block: (URLInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.ifUrlInlineQueryResult(block: (UrlInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.ifURLTextSource(block: (URLTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifUser(block: (User) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifUserLoggedIn(block: (UserLoggedIn) -> T): T?
Link copied to clipboard
inline fun <T> Chat.ifUsernameChat(block: (UsernameChat) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifUtilityBill(block: (UtilityBill) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.ifUtilityBillSecureValue(block: (UtilityBillSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifVenueContent(block: (VenueContent) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifVideoChatEnded(block: (VideoChatEnded) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifVideoChatEvent(block: (VideoChatEvent) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifVideoChatParticipantsInvited(block: (VideoChatParticipantsInvited) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifVideoChatScheduled(block: (VideoChatScheduled) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifVideoChatStarted(block: (VideoChatStarted) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifVideoContent(block: (VideoContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifVideoFile(block: (VideoFile) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifVideoNoteContent(block: (VideoNoteContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifVideoNoteFile(block: (VideoNoteFile) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifVideoSticker(block: (VideoSticker) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifVisualMediaGroupContent(block: (VisualMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.ifVisualMediaGroupMemberTelegramMedia(block: (VisualMediaGroupMemberTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifVoiceContent(block: (VoiceContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.ifVoiceFile(block: (VoiceFile) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.ifWebAppData(block: (WebAppData) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.ifWebAppInlineKeyboardButton(block: (WebAppInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> Any.ifWithOptionalLanguageCode(block: (WithOptionalLanguageCode) -> T): T?
Link copied to clipboard
inline fun <T> Any.ifWithUser(block: (WithUser) -> T): T?
Link copied to clipboard
inline fun KeyboardMarkup.inlineKeyboardMarkupOrNull(): InlineKeyboardMarkup?
Link copied to clipboard
inline fun KeyboardMarkup.inlineKeyboardMarkupOrThrow(): InlineKeyboardMarkup
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.inlineQueryOrNull(): InlineQuery?
Link copied to clipboard
inline fun WithUser.inlineQueryOrThrow(): InlineQuery
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.inlineQueryResultGameOrNull(): InlineQueryResultGame?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.inlineQueryResultGifOrNull(): InlineQueryResultGif?
Link copied to clipboard
inline fun InlineQueryResult.inlineQueryResultGifOrThrow(): InlineQueryResultGif
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.inlineQueryUpdateOrNull(): InlineQueryUpdate?
Link copied to clipboard
inline fun Update.inlineQueryUpdateOrThrow(): InlineQueryUpdate
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.internalPassportOrNull(): InternalPassport?
Link copied to clipboard
inline fun EncryptedPassportElement.internalPassportOrThrow(): InternalPassport
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.invoiceContentOrNull(): InvoiceContent?
Link copied to clipboard
inline fun ResendableContent.invoiceContentOrThrow(): InvoiceContent
Link copied to clipboard
inline fun TextSource.italicTextSourceOrNull(): ItalicTextSource?
Link copied to clipboard
inline fun TextSource.italicTextSourceOrThrow(): ItalicTextSource
Link copied to clipboard
inline fun WithUser.kickedChatMemberOrNull(): KickedChatMember?
Link copied to clipboard
inline fun WithUser.kickedChatMemberOrThrow(): KickedChatMember
Link copied to clipboard
inline fun WithUser.leftChatMemberEventOrNull(): LeftChatMemberEvent?
inline fun ChatEvent.leftChatMemberEventOrNull(): LeftChatMemberEvent?
Link copied to clipboard
inline fun WithUser.leftChatMemberEventOrThrow(): LeftChatMemberEvent
inline fun ChatEvent.leftChatMemberEventOrThrow(): LeftChatMemberEvent
Link copied to clipboard
inline fun WithUser.leftChatMemberImplOrNull(): LeftChatMemberImpl?
Link copied to clipboard
inline fun WithUser.leftChatMemberImplOrThrow(): LeftChatMemberImpl
Link copied to clipboard
inline fun WithUser.leftChatMemberOrNull(): LeftChatMember?
Link copied to clipboard
inline fun WithUser.leftChatMemberOrThrow(): LeftChatMember
Link copied to clipboard
inline fun ResendableContent.liveLocationContentOrNull(): LiveLocationContent?
Link copied to clipboard
inline fun ResendableContent.liveLocationContentOrThrow(): LiveLocationContent
Link copied to clipboard
inline fun Location.liveLocationOrNull(): LiveLocation?
Link copied to clipboard
inline fun Location.liveLocationOrThrow(): LiveLocation
Link copied to clipboard
inline fun WithUser.locationChosenInlineResultOrNull(): LocationChosenInlineResult?
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.locationContentOrNull(): LocationContent?
Link copied to clipboard
inline fun ResendableContent.locationContentOrThrow(): LocationContent
Link copied to clipboard
inline fun WithUser.locationInlineQueryOrNull(): LocationInlineQuery?
Link copied to clipboard
inline fun WithUser.locationInlineQueryOrThrow(): LocationInlineQuery
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.maskAnimatedStickerOrNull(): MaskAnimatedSticker?
Link copied to clipboard
inline fun TelegramMediaFile.maskAnimatedStickerOrThrow(): MaskAnimatedSticker
Link copied to clipboard
inline fun TelegramMediaFile.maskSimpleStickerOrNull(): MaskSimpleSticker?
Link copied to clipboard
inline fun TelegramMediaFile.maskSimpleStickerOrThrow(): MaskSimpleSticker
Link copied to clipboard
inline fun TelegramMediaFile.maskStickerOrNull(): MaskSticker?
Link copied to clipboard
inline fun TelegramMediaFile.maskStickerOrThrow(): MaskSticker
Link copied to clipboard
inline fun TelegramMediaFile.maskVideoStickerOrNull(): MaskVideoSticker?
Link copied to clipboard
inline fun TelegramMediaFile.maskVideoStickerOrThrow(): MaskVideoSticker
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.mediaContentOrNull(): MediaContent?
Link copied to clipboard
inline fun ResendableContent.mediaContentOrThrow(): MediaContent
Link copied to clipboard
inline fun ResendableContent.mediaGroupContentOrNull(): MediaGroupContent?
Link copied to clipboard
inline fun ResendableContent.mediaGroupContentOrThrow(): MediaGroupContent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.mediaGroupMessageOrNull(): MediaGroupMessage<MediaGroupContent>?
Link copied to clipboard
inline fun Message.mediaGroupMessageOrThrow(): MediaGroupMessage<MediaGroupContent>
Link copied to clipboard
inline fun Update.mediaGroupUpdateOrNull(): MediaGroupUpdate?
Link copied to clipboard
inline fun Update.mediaGroupUpdateOrThrow(): MediaGroupUpdate
Link copied to clipboard
inline fun WithUser.memberChatMemberImplOrNull(): MemberChatMemberImpl?
Link copied to clipboard
inline fun WithUser.memberChatMemberImplOrThrow(): MemberChatMemberImpl
Link copied to clipboard
inline fun WithUser.memberChatMemberOrNull(): MemberChatMember?
Link copied to clipboard
inline fun WithUser.memberChatMemberOrThrow(): MemberChatMember
Link copied to clipboard
inline fun TextSource.mentionTextSourceOrNull(): MentionTextSource?
Link copied to clipboard
inline fun TextSource.mentionTextSourceOrThrow(): MentionTextSource
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.messageCallbackQueryOrNull(): MessageCallbackQuery?
Link copied to clipboard
inline fun WithUser.messageCallbackQueryOrThrow(): MessageCallbackQuery
Link copied to clipboard
inline fun ResendableContent.messageContentOrNull(): MessageContent?
Link copied to clipboard
inline fun ResendableContent.messageContentOrThrow(): MessageContent
Link copied to clipboard
inline fun WithUser.messageDataCallbackQueryOrNull(): MessageDataCallbackQuery?
Link copied to clipboard
inline fun WithUser.messageDataCallbackQueryOrThrow(): MessageDataCallbackQuery
Link copied to clipboard
inline fun Update.messageMediaGroupUpdateOrNull(): MessageMediaGroupUpdate?
Link copied to clipboard
inline fun Update.messageMediaGroupUpdateOrThrow(): MessageMediaGroupUpdate
Link copied to clipboard
inline fun Update.messageUpdateOrNull(): MessageUpdate?
Link copied to clipboard
inline fun Update.messageUpdateOrThrow(): MessageUpdate
Link copied to clipboard
inline fun ChatEvent.migratedToSupergroupOrNull(): MigratedToSupergroup?
Link copied to clipboard
inline fun ChatEvent.migratedToSupergroupOrThrow(): MigratedToSupergroup
Link copied to clipboard
inline fun TelegramMediaFile.mimedMediaFileOrNull(): MimedMediaFile?
Link copied to clipboard
inline fun TelegramMediaFile.mimedMediaFileOrThrow(): MimedMediaFile
Link copied to clipboard
inline fun TextSource.multilevelTextSourceOrNull(): MultilevelTextSource?
Link copied to clipboard
inline fun TextSource.multilevelTextSourceOrThrow(): MultilevelTextSource
Link copied to clipboard
inline fun Poll.multipleAnswersPollOrNull(): MultipleAnswersPoll?
Link copied to clipboard
inline fun Poll.multipleAnswersPollOrThrow(): MultipleAnswersPoll
Link copied to clipboard
inline fun Update.myChatMemberUpdatedUpdateOrNull(): MyChatMemberUpdatedUpdate?
Link copied to clipboard
inline fun Update.myChatMemberUpdatedUpdateOrThrow(): MyChatMemberUpdatedUpdate
Link copied to clipboard
inline fun ChatEvent.newChatMembersOrNull(): NewChatMembers?
Link copied to clipboard
inline fun ChatEvent.newChatMembersOrThrow(): NewChatMembers
Link copied to clipboard
inline fun ChatEvent.newChatPhotoOrNull(): NewChatPhoto?
Link copied to clipboard
inline fun ChatEvent.newChatPhotoOrThrow(): NewChatPhoto
Link copied to clipboard
inline fun ChatEvent.newChatTitleOrNull(): NewChatTitle?
Link copied to clipboard
inline fun ChatEvent.newChatTitleOrThrow(): NewChatTitle
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyAnimationContentMessages(): Flow<ContentMessage<AnimationContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyAudioContentMessages(): Flow<ContentMessage<AudioContent>>
Link copied to clipboard
fun <C : MessageContent, T : ContentMessage<C>> Flow<T>.onlyCommonMessages(): Flow<CommonMessage<C>>

Simple factory to convert ContentMessage to a CommonMessage

Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyContactContentMessages(): Flow<ContentMessage<ContactContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyDiceContentMessages(): Flow<ContentMessage<DiceContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyDocumentContentMessages(): Flow<ContentMessage<DocumentContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyGameContentMessages(): Flow<ContentMessage<GameContent>>
Link copied to clipboard
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyInvoiceContentMessages(): Flow<ContentMessage<InvoiceContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyLocationContentMessages(): Flow<ContentMessage<LocationContent>>
Link copied to clipboard
fun <T : CallbackQuery> Flow<T>.onlyMessageDataCallbackQueries(): Flow<MessageDataCallbackQuery>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyPhotoContentMessages(): Flow<ContentMessage<PhotoContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyPollContentMessages(): Flow<ContentMessage<PollContent>>
Link copied to clipboard
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

Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyStickerContentMessages(): Flow<ContentMessage<StickerContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyTextContentMessages(): Flow<ContentMessage<TextContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVenueContentMessages(): Flow<ContentMessage<VenueContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVideoContentMessages(): Flow<ContentMessage<VideoContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVideoNoteContentMessages(): Flow<ContentMessage<VideoNoteContent>>
Link copied to clipboard
fun Flow<ContentMessage<*>>.onlyVoiceContentMessages(): Flow<ContentMessage<VoiceContent>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.ownerChatMemberOrNull(): OwnerChatMember?
Link copied to clipboard
inline fun WithUser.ownerChatMemberOrThrow(): OwnerChatMember
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.passportFileOrNull(): PassportFile?
Link copied to clipboard
inline fun TelegramMediaFile.passportFileOrThrow(): PassportFile
Link copied to clipboard
inline fun WithUser.passportMessageOrNull(): PassportMessage?
inline fun Message.passportMessageOrNull(): PassportMessage?
Link copied to clipboard
inline fun WithUser.passportMessageOrThrow(): PassportMessage
inline fun Message.passportMessageOrThrow(): PassportMessage
Link copied to clipboard
inline fun EncryptedPassportElement.passportOrNull(): Passport?
Link copied to clipboard
inline fun EncryptedPassportElement.passportOrThrow(): Passport
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.passportSecureValueOrNull(): PassportSecureValue?
Link copied to clipboard
inline fun SecureValue.passportSecureValueOrThrow(): PassportSecureValue
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.pathedFileOrNull(): PathedFile?
Link copied to clipboard
inline fun TelegramMediaFile.pathedFileOrThrow(): PathedFile
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.phoneNumberOrNull(): PhoneNumber?
Link copied to clipboard
inline fun EncryptedPassportElement.phoneNumberOrThrow(): PhoneNumber
Link copied to clipboard
inline fun TextSource.phoneNumberTextSourceOrNull(): PhoneNumberTextSource?
Link copied to clipboard
inline fun TextSource.phoneNumberTextSourceOrThrow(): PhoneNumberTextSource
Link copied to clipboard
inline fun ResendableContent.photoContentOrNull(): PhotoContent?
Link copied to clipboard
inline fun ResendableContent.photoContentOrThrow(): PhotoContent
Link copied to clipboard
inline fun TelegramMediaFile.photoSizeOrNull(): PhotoSize?
Link copied to clipboard
inline fun TelegramMediaFile.photoSizeOrThrow(): PhotoSize
Link copied to clipboard
inline fun ChatEvent.pinnedMessageOrNull(): PinnedMessage?
Link copied to clipboard
inline fun ChatEvent.pinnedMessageOrThrow(): PinnedMessage
Link copied to clipboard
inline fun TelegramMediaFile.playableMediaFileOrNull(): PlayableMediaFile?
Link copied to clipboard
inline fun TelegramMediaFile.playableMediaFileOrThrow(): PlayableMediaFile
Link copied to clipboard
inline fun WithUser.pollAnswerOrNull(): PollAnswer?
Link copied to clipboard
inline fun WithUser.pollAnswerOrThrow(): PollAnswer
Link copied to clipboard
inline fun Update.pollAnswerUpdateOrNull(): PollAnswerUpdate?
Link copied to clipboard
inline fun Update.pollAnswerUpdateOrThrow(): PollAnswerUpdate
Link copied to clipboard
inline fun ResendableContent.pollContentOrNull(): PollContent?
Link copied to clipboard
inline fun ResendableContent.pollContentOrThrow(): PollContent
Link copied to clipboard
inline fun Update.pollUpdateOrNull(): PollUpdate?
Link copied to clipboard
inline fun Update.pollUpdateOrThrow(): PollUpdate
Link copied to clipboard
inline fun Message.possiblyEditedMessageOrNull(): PossiblyEditedMessage?
Link copied to clipboard
inline fun Message.possiblyEditedMessageOrThrow(): PossiblyEditedMessage
Link copied to clipboard
inline fun Message.possiblyForwardedMessageOrNull(): PossiblyForwardedMessage?
Link copied to clipboard
inline fun Message.possiblyForwardedMessageOrThrow(): PossiblyForwardedMessage
Link copied to clipboard
inline fun Message.possiblyPaymentMessageOrNull(): PossiblyPaymentMessage?
Link copied to clipboard
inline fun Message.possiblyPaymentMessageOrThrow(): PossiblyPaymentMessage
Link copied to clipboard
inline fun Chat.possiblyPremiumChatOrNull(): PossiblyPremiumChat?
Link copied to clipboard
inline fun Chat.possiblyPremiumChatOrThrow(): PossiblyPremiumChat
Link copied to clipboard
inline fun WithUser.preCheckoutQueryOrNull(): PreCheckoutQuery?
Link copied to clipboard
inline fun WithUser.preCheckoutQueryOrThrow(): PreCheckoutQuery
Link copied to clipboard
inline fun Update.preCheckoutQueryUpdateOrNull(): PreCheckoutQueryUpdate?
Link copied to clipboard
inline fun Update.preCheckoutQueryUpdateOrThrow(): PreCheckoutQueryUpdate
Link copied to clipboard
inline fun TextSource.preTextSourceOrNull(): PreTextSource?
Link copied to clipboard
inline fun TextSource.preTextSourceOrThrow(): PreTextSource
Link copied to clipboard
inline fun WithUser.primaryInviteLinkOrNull(): PrimaryInviteLink?
Link copied to clipboard
inline fun WithUser.primaryInviteLinkOrThrow(): PrimaryInviteLink
Link copied to clipboard
inline fun Chat.privateChatImplOrNull(): PrivateChatImpl?
Link copied to clipboard
inline fun Chat.privateChatImplOrThrow(): PrivateChatImpl
Link copied to clipboard
inline fun Chat.privateChatOrNull(): PrivateChat?
Link copied to clipboard
inline fun Chat.privateChatOrThrow(): PrivateChat
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.privateEventMessageOrNull(): PrivateEventMessage<PrivateEvent>?
Link copied to clipboard
inline fun Message.privateEventMessageOrThrow(): PrivateEventMessage<PrivateEvent>
Link copied to clipboard
inline fun ChatEvent.privateEventOrNull(): PrivateEvent?
Link copied to clipboard
inline fun ChatEvent.privateEventOrThrow(): PrivateEvent
Link copied to clipboard
inline fun ChatEvent.proximityAlertTriggeredOrNull(): ProximityAlertTriggered?
Link copied to clipboard
inline fun ChatEvent.proximityAlertTriggeredOrThrow(): ProximityAlertTriggered
Link copied to clipboard
inline fun ChatEvent.publicChatEventOrNull(): PublicChatEvent?
Link copied to clipboard
inline fun ChatEvent.publicChatEventOrThrow(): PublicChatEvent
Link copied to clipboard
inline fun Chat.publicChatOrNull(): PublicChat?
inline fun ForwardInfo.publicChatOrNull(): ForwardInfo.PublicChat?
Link copied to clipboard
inline fun Chat.publicChatOrThrow(): PublicChat
inline fun ForwardInfo.publicChatOrThrow(): ForwardInfo.PublicChat
Link copied to clipboard
inline fun Message.publicContentMessageOrNull(): PublicContentMessage<MessageContent>?
Link copied to clipboard
Link copied to clipboard
inline fun Poll.quizPollOrNull(): QuizPoll?
Link copied to clipboard
inline fun Poll.quizPollOrThrow(): QuizPoll
Link copied to clipboard
inline fun BotAction.recordVideoActionOrNull(): RecordVideoAction?
Link copied to clipboard
inline fun BotAction.recordVideoActionOrThrow(): RecordVideoAction
Link copied to clipboard
inline fun BotAction.recordVideoNoteActionOrNull(): RecordVideoNoteAction?
Link copied to clipboard
inline fun BotAction.recordVideoNoteActionOrThrow(): RecordVideoNoteAction
Link copied to clipboard
inline fun BotAction.recordVoiceActionOrNull(): RecordVoiceAction?
Link copied to clipboard
inline fun BotAction.recordVoiceActionOrThrow(): RecordVoiceAction
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Poll.regularPollOrNull(): RegularPoll?
Link copied to clipboard
inline fun Poll.regularPollOrThrow(): RegularPoll
Link copied to clipboard
inline fun TelegramMediaFile.regularSimpleStickerOrNull(): RegularSimpleSticker?
Link copied to clipboard
inline fun TelegramMediaFile.regularSimpleStickerOrThrow(): RegularSimpleSticker
Link copied to clipboard
inline fun TelegramMediaFile.regularStickerOrNull(): RegularSticker?
Link copied to clipboard
inline fun TelegramMediaFile.regularStickerOrThrow(): RegularSticker
Link copied to clipboard
inline fun TextSource.regularTextSourceOrNull(): RegularTextSource?
Link copied to clipboard
inline fun TextSource.regularTextSourceOrThrow(): RegularTextSource
Link copied to clipboard
inline fun TelegramMediaFile.regularVideoStickerOrNull(): RegularVideoSticker?
Link copied to clipboard
inline fun TelegramMediaFile.regularVideoStickerOrThrow(): RegularVideoSticker
Link copied to clipboard
inline fun EncryptedPassportElement.rentalAgreementOrNull(): RentalAgreement?
Link copied to clipboard
inline fun EncryptedPassportElement.rentalAgreementOrThrow(): RentalAgreement
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun KeyboardMarkup.replyForceOrNull(): ReplyForce?
Link copied to clipboard
inline fun KeyboardMarkup.replyForceOrThrow(): ReplyForce
Link copied to clipboard
inline fun KeyboardMarkup.replyKeyboardMarkupOrNull(): ReplyKeyboardMarkup?
Link copied to clipboard
inline fun KeyboardMarkup.replyKeyboardMarkupOrThrow(): ReplyKeyboardMarkup
Link copied to clipboard
inline fun KeyboardMarkup.replyKeyboardRemoveOrNull(): ReplyKeyboardRemove?
Link copied to clipboard
inline fun KeyboardMarkup.replyKeyboardRemoveOrThrow(): ReplyKeyboardRemove
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireAddressSecureValue(): AddressSecureValue
Link copied to clipboard
inline fun ChatMember.requireAdministratorChatMember(): AdministratorChatMember
Link copied to clipboard
inline fun TelegramMediaFile.requireAnimatedSticker(): AnimatedSticker
Link copied to clipboard
inline fun ResendableContent.requireAnimationContent(): AnimationContent
Link copied to clipboard
inline fun TelegramMediaFile.requireAnimationFile(): AnimationFile
Link copied to clipboard
inline fun ForwardInfo.requireAnonymousForwardInfo(): ForwardInfo.ByAnonymous
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireAudioContent(): AudioContent
Link copied to clipboard
inline fun TelegramMediaFile.requireAudioFile(): AudioFile
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireBankStatement(): BankStatement
Link copied to clipboard
Link copied to clipboard
inline fun ChatMember.requireBannedChatMember(): BannedChatMember
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireBaseEditMessageUpdate(): BaseEditMessageUpdate
Link copied to clipboard
inline fun InlineQuery.requireBaseInlineQuery(): BaseInlineQuery
Link copied to clipboard
inline fun Update.requireBaseMessageUpdate(): BaseMessageUpdate
Link copied to clipboard
inline fun Update.requireBaseSentMessageUpdate(): BaseSentMessageUpdate
Link copied to clipboard
Link copied to clipboard
inline fun TextSource.requireBoldTextSource(): BoldTextSource
Link copied to clipboard
inline fun Chat.requireBot(): Bot
Link copied to clipboard
inline fun TextSource.requireBotCommandTextSource(): BotCommandTextSource
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireCallbackQueryUpdate(): CallbackQueryUpdate
Link copied to clipboard
inline fun TextSource.requireCashTagTextSource(): CashTagTextSource
Link copied to clipboard
inline fun Chat.requireChannelChat(): ChannelChat
Link copied to clipboard
inline fun ChatEvent.requireChannelChatCreated(): ChannelChatCreated
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.requireChannelEvent(): ChannelEvent
Link copied to clipboard
inline fun Message.requireChannelEventMessage(): ChannelEventMessage<ChannelEvent>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireChannelPostUpdate(): ChannelPostUpdate
Link copied to clipboard
inline fun Message.requireChatEventMessage(): ChatEventMessage<ChatEvent>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireChatJoinRequestUpdate(): ChatJoinRequestUpdate
Link copied to clipboard
inline fun Update.requireChatMemberUpdatedUpdate(): ChatMemberUpdatedUpdate
Link copied to clipboard
inline fun BotAction.requireChooseStickerAction(): ChooseStickerAction
Link copied to clipboard
inline fun Update.requireChosenInlineResultUpdate(): ChosenInlineResultUpdate
Link copied to clipboard
inline fun TextSource.requireCodeTextSource(): CodeTextSource
Link copied to clipboard
inline fun Chat.requireCommonBot(): CommonBot
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.requireCommonEvent(): CommonEvent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireCommonMessage(): CommonMessage<MessageContent>
Link copied to clipboard
inline fun EncryptedPassportElement.requireCommonPassport(): CommonPassport
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Chat.requireCommonUser(): CommonUser
Link copied to clipboard
inline fun ResendableContent.requireContactContent(): ContactContent
Link copied to clipboard
inline fun Message.requireContentMessage(): ContentMessage<MessageContent>
Link copied to clipboard
inline fun CommonSendInvoiceData.requireCreateInvoiceLink(): CreateInvoiceLink
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.requireDataCallbackQuery(): DataCallbackQuery
Link copied to clipboard
inline fun ChatEvent.requireDeleteChatPhoto(): DeleteChatPhoto
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireDiceContent(): DiceContent
Link copied to clipboard
inline fun ResendableContent.requireDocumentContent(): DocumentContent
Link copied to clipboard
inline fun TelegramMediaFile.requireDocumentFile(): DocumentFile
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireDriverLicense(): DriverLicense
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireDuratedTelegramMedia(): DuratedTelegramMedia
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireEditChannelPostUpdate(): EditChannelPostUpdate
Link copied to clipboard
inline fun Update.requireEditMediaGroupUpdate(): EditMediaGroupUpdate
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireEditMessageUpdate(): EditMessageUpdate
Link copied to clipboard
inline fun EncryptedPassportElement.requireEmail(): Email
Link copied to clipboard
inline fun TextSource.requireEMailTextSource(): EMailTextSource
Link copied to clipboard
inline fun EncryptedPassportElement.requireEncryptedAddress(): EncryptedAddress
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Chat.requireExtendedBot(): ExtendedBot
Link copied to clipboard
inline fun Chat.requireExtendedChannelChat(): ExtendedChannelChat
Link copied to clipboard
inline fun Chat.requireExtendedChat(): ExtendedChat
Link copied to clipboard
inline fun Chat.requireExtendedGroupChat(): ExtendedGroupChat
Link copied to clipboard
inline fun Chat.requireExtendedPrivateChat(): ExtendedPrivateChat
Link copied to clipboard
inline fun Chat.requireExtendedPublicChat(): ExtendedPublicChat
Link copied to clipboard
inline fun Chat.requireExtendedSupergroupChat(): ExtendedSupergroupChat
Link copied to clipboard
inline fun TelegramMediaFile.requireFile(): File
Link copied to clipboard
Link copied to clipboard
inline fun BotAction.requireFindLocationAction(): FindLocationAction
Link copied to clipboard
Link copied to clipboard
inline fun KeyboardMarkup.requireForceReply(): ReplyForce
Link copied to clipboard
inline fun ForwardInfo.requireForwardFromChannelInfo(): ForwardFromChannelInfo
Link copied to clipboard
Link copied to clipboard
inline fun ForwardInfo.requireForwardFromSupergroupInfo(): ForwardFromSupergroupInfo
Link copied to clipboard
inline fun Any.requireFromUser(): FromUser
Link copied to clipboard
inline fun Message.requireFromUserMessage(): FromUserMessage
Link copied to clipboard
inline fun ResendableContent.requireGameContent(): GameContent
Link copied to clipboard
Link copied to clipboard
inline fun Chat.requireGroupChat(): GroupChat
Link copied to clipboard
inline fun ChatEvent.requireGroupChatCreated(): GroupChatCreated
Link copied to clipboard
inline fun Message.requireGroupContentMessage(): GroupContentMessage<MessageContent>
Link copied to clipboard
inline fun ChatEvent.requireGroupEvent(): GroupEvent
Link copied to clipboard
inline fun Message.requireGroupEventMessage(): GroupEventMessage<GroupEvent>
Link copied to clipboard
inline fun TextSource.requireHashTagTextSource(): HashTagTextSource
Link copied to clipboard
inline fun EncryptedPassportElement.requireIdentityCard(): IdentityCard
Link copied to clipboard
inline fun SecureValue.requireIdentityCardSecureValue(): IdentityCardSecureValue
Link copied to clipboard
inline fun KeyboardMarkup.requireInlineKeyboardMarkup(): InlineKeyboardMarkup
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireInlineQueryResultGif(): InlineQueryResultGif
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireInlineQueryUpdate(): InlineQueryUpdate
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requireInternalPassport(): InternalPassport
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireInvoiceContent(): InvoiceContent
Link copied to clipboard
inline fun TextSource.requireItalicTextSource(): ItalicTextSource
Link copied to clipboard
inline fun ChatMember.requireKickedChatMember(): KickedChatMember
Link copied to clipboard
inline fun ChatMember.requireLeftChatMember(): LeftChatMember
inline fun ChatEvent.requireLeftChatMember(): LeftChatMember
Link copied to clipboard
inline fun Location.requireLiveLocation(): LiveLocation
Link copied to clipboard
inline fun ResendableContent.requireLiveLocationContent(): LiveLocationContent
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireLocationContent(): LocationContent
Link copied to clipboard
inline fun InlineQuery.requireLocationInlineQuery(): LocationInlineQuery
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireMediaContent(): MediaContent
Link copied to clipboard
inline fun ResendableContent.requireMediaGroupContent(): MediaGroupContent
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireMediaGroupMessage(): MediaGroupMessage<MediaGroupContent>
Link copied to clipboard
inline fun Update.requireMediaGroupUpdate(): MediaGroupUpdate
Link copied to clipboard
inline fun ChatMember.requireMemberChatMember(): MemberChatMember
Link copied to clipboard
inline fun TextSource.requireMentionTextSource(): MentionTextSource
Link copied to clipboard
Link copied to clipboard
inline fun CallbackQuery.requireMessageCallbackQuery(): MessageCallbackQuery
Link copied to clipboard
inline fun ResendableContent.requireMessageContent(): MessageContent
Link copied to clipboard
Link copied to clipboard
inline fun Update.requireMessageMediaGroupUpdate(): MessageMediaGroupUpdate
Link copied to clipboard
inline fun Update.requireMessageUpdate(): MessageUpdate
Link copied to clipboard
inline fun ChatEvent.requireMigratedToSupergroup(): MigratedToSupergroup
Link copied to clipboard
inline fun TelegramMediaFile.requireMimedMediaFile(): MimedMediaFile
Link copied to clipboard
inline fun TextSource.requireMultilevelTextSource(): MultilevelTextSource
Link copied to clipboard
inline fun Poll.requireMultipleAnswersPoll(): MultipleAnswersPoll
Link copied to clipboard
inline fun Update.requireMyChatMemberUpdatedUpdate(): MyChatMemberUpdatedUpdate
Link copied to clipboard
inline fun ChatEvent.requireNewChatMembers(): NewChatMembers
Link copied to clipboard
inline fun ChatEvent.requireNewChatPhoto(): NewChatPhoto
Link copied to clipboard
inline fun ChatEvent.requireNewChatTitle(): NewChatTitle
Link copied to clipboard
Link copied to clipboard
inline fun ChatMember.requireOwnerChatMember(): OwnerChatMember
Link copied to clipboard
inline fun EncryptedPassportElement.requirePassport(): Passport
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requirePassportMessage(): PassportMessage
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.requirePassportSecureValue(): PassportSecureValue
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.requirePathedFile(): PathedFile
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun EncryptedPassportElement.requirePhoneNumber(): PhoneNumber
Link copied to clipboard
inline fun TextSource.requirePhoneNumberTextSource(): PhoneNumberTextSource
Link copied to clipboard
inline fun ResendableContent.requirePhotoContent(): PhotoContent
Link copied to clipboard
inline fun TelegramMediaFile.requirePhotoSize(): PhotoSize
Link copied to clipboard
inline fun ChatEvent.requirePinnedMessage(): PinnedMessage
Link copied to clipboard
inline fun TelegramMediaFile.requirePlayableMediaFile(): PlayableMediaFile
Link copied to clipboard
inline fun Update.requirePollAnswerUpdate(): PollAnswerUpdate
Link copied to clipboard
inline fun ResendableContent.requirePollContent(): PollContent
Link copied to clipboard
inline fun Update.requirePollUpdate(): PollUpdate
Link copied to clipboard
inline fun Message.requirePossiblyEditedMessage(): PossiblyEditedMessage
Link copied to clipboard
inline fun Message.requirePossiblyForwardedMessage(): PossiblyForwardedMessage
Link copied to clipboard
inline fun Message.requirePossiblyPaymentMessage(): PossiblyPaymentMessage
Link copied to clipboard
inline fun Chat.requirePossiblyPremiumChat(): PossiblyPremiumChat
Link copied to clipboard
inline fun Message.requirePossiblyReplyMessage(): PossiblyReplyMessage
Link copied to clipboard
inline fun Update.requirePreCheckoutQueryUpdate(): PreCheckoutQueryUpdate
Link copied to clipboard
inline fun TextSource.requirePreTextSource(): PreTextSource
Link copied to clipboard
inline fun ChatInviteLink.requirePrimaryInviteLink(): PrimaryInviteLink
Link copied to clipboard
inline fun Chat.requirePrivateChat(): PrivateChat
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.requirePrivateEventMessage(): PrivateEventMessage<PrivateEvent>
Link copied to clipboard
inline fun ChatEvent.requireProximityAlertTriggered(): ProximityAlertTriggered
Link copied to clipboard
inline fun Chat.requirePublicChat(): PublicChat
Link copied to clipboard
inline fun ChatEvent.requirePublicChatEvent(): PublicChatEvent
Link copied to clipboard
Link copied to clipboard
inline fun Poll.requireQuizPoll(): QuizPoll
Link copied to clipboard
inline fun BotAction.requireRecordVideoAction(): RecordVideoAction
Link copied to clipboard
inline fun BotAction.requireRecordVideoNoteAction(): RecordVideoNoteAction
Link copied to clipboard
inline fun BotAction.requireRecordVoiceAction(): RecordVoiceAction
Link copied to clipboard
inline fun Poll.requireRegularPoll(): RegularPoll
Link copied to clipboard
inline fun TextSource.requireRegularTextSource(): RegularTextSource
Link copied to clipboard
inline fun EncryptedPassportElement.requireRentalAgreement(): RentalAgreement
Link copied to clipboard
Link copied to clipboard
inline fun KeyboardMarkup.requireReplyKeyboardMarkup(): ReplyKeyboardMarkup
Link copied to clipboard
inline fun KeyboardMarkup.requireReplyKeyboardRemove(): ReplyKeyboardRemove
Link copied to clipboard
inline fun ChatMember.requireRestrictedChatMember(): RestrictedChatMember
Link copied to clipboard
Link copied to clipboard
inline fun SecureValue.requireSecureValueIdentity(): SecureValueIdentity
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithData(): SecureValueWithData
Link copied to clipboard
inline fun SecureValue.requireSecureValueWithFiles(): SecureValueWithFiles
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun CommonSendInvoiceData.requireSendInvoice(): SendInvoice
Link copied to clipboard
inline fun Update.requireSentMediaGroupUpdate(): SentMediaGroupUpdate
Link copied to clipboard
inline fun Update.requireShippingQueryUpdate(): ShippingQueryUpdate
Link copied to clipboard
inline fun Message.requireSignedMessage(): SignedMessage
Link copied to clipboard
inline fun TelegramMediaFile.requireSimpleSticker(): SimpleSticker
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.requireSizedMediaFile(): SizedMediaFile
Link copied to clipboard
inline fun TelegramMedia.requireSizedTelegramMedia(): SizedTelegramMedia
Link copied to clipboard
Link copied to clipboard
inline fun ChatMember.requireSpecialRightsChatMember(): SpecialRightsChatMember
Link copied to clipboard
inline fun Location.requireStaticLocation(): StaticLocation
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.requireSticker(): Sticker
Link copied to clipboard
inline fun ResendableContent.requireStickerContent(): StickerContent
Link copied to clipboard
inline fun TextSource.requireStrikethroughTextSource(): StrikethroughTextSource
Link copied to clipboard
inline fun ChatEvent.requireSuccessfulPaymentEvent(): SuccessfulPaymentEvent
Link copied to clipboard
inline fun Chat.requireSupergroupChat(): SupergroupChat
Link copied to clipboard
inline fun ChatEvent.requireSupergroupChatCreated(): SupergroupChatCreated
Link copied to clipboard
inline fun ChatEvent.requireSupergroupEvent(): SupergroupEvent
Link copied to clipboard
Link copied to clipboard
inline fun Chat.requireSuperPublicChat(): SuperPublicChat
Link copied to clipboard
inline fun TelegramMedia.requireTelegramMediaAnimation(): TelegramMediaAnimation
Link copied to clipboard
inline fun TelegramMedia.requireTelegramMediaAudio(): TelegramMediaAudio
Link copied to clipboard
inline fun TelegramMedia.requireTelegramMediaDocument(): TelegramMediaDocument
Link copied to clipboard
inline fun TelegramMedia.requireTelegramMediaPhoto(): TelegramMediaPhoto
Link copied to clipboard
inline fun TelegramMedia.requireTelegramMediaVideo(): TelegramMediaVideo
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireTextContent(): TextContent
Link copied to clipboard
inline fun MessageContent.requireTextedInput(): TextedInput
Link copied to clipboard
inline fun ResendableContent.requireTextedMediaContent(): TextedMediaContent
Link copied to clipboard
inline fun TextSource.requireTextLinkTextSource(): TextLinkTextSource
Link copied to clipboard
inline fun TextSource.requireTextMentionTextSource(): TextMentionTextSource
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.requireThumbedMediaFile(): ThumbedMediaFile
Link copied to clipboard
inline fun TelegramMedia.requireThumbedTelegramMedia(): ThumbedTelegramMedia
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.requireTitledTelegramMedia(): TitledTelegramMedia
Link copied to clipboard
inline fun BotAction.requireTypingAction(): TypingAction
Link copied to clipboard
inline fun TextSource.requireUnderlineTextSource(): UnderlineTextSource
Link copied to clipboard
Link copied to clipboard
inline fun Chat.requireUnknownChatType(): UnknownChatType
Link copied to clipboard
Link copied to clipboard
inline fun Message.requireUnknownMessageType(): UnknownMessageType
Link copied to clipboard
Link copied to clipboard
inline fun Poll.requireUnknownPollType(): UnknownPollType
Link copied to clipboard
inline fun Update.requireUnknownUpdate(): UnknownUpdate
Link copied to clipboard
inline fun BotAction.requireUploadDocumentAction(): UploadDocumentAction
Link copied to clipboard
inline fun BotAction.requireUploadPhotoAction(): UploadPhotoAction
Link copied to clipboard
inline fun BotAction.requireUploadVideoAction(): UploadVideoAction
Link copied to clipboard
inline fun BotAction.requireUploadVideoNoteAction(): UploadVideoNoteAction
Link copied to clipboard
inline fun BotAction.requireUploadVoiceAction(): UploadVoiceAction
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.requireUrlInlineQueryResult(): UrlInlineQueryResult
Link copied to clipboard
inline fun TextSource.requireURLTextSource(): URLTextSource
Link copied to clipboard
inline fun Chat.requireUser(): User
Link copied to clipboard
inline fun ForwardInfo.requireUserForwardInfo(): ForwardInfo.ByUser
Link copied to clipboard
inline fun ChatEvent.requireUserLoggedIn(): UserLoggedIn
Link copied to clipboard
inline fun Chat.requireUsernameChat(): UsernameChat
Link copied to clipboard
inline fun EncryptedPassportElement.requireUtilityBill(): UtilityBill
Link copied to clipboard
inline fun SecureValue.requireUtilityBillSecureValue(): UtilityBillSecureValue
Link copied to clipboard
inline fun ResendableContent.requireVenueContent(): VenueContent
Link copied to clipboard
inline fun ChatEvent.requireVideoChatEnded(): VideoChatEnded
Link copied to clipboard
inline fun ChatEvent.requireVideoChatEvent(): VideoChatEvent
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.requireVideoChatScheduled(): VideoChatScheduled
Link copied to clipboard
inline fun ChatEvent.requireVideoChatStarted(): VideoChatStarted
Link copied to clipboard
inline fun ResendableContent.requireVideoContent(): VideoContent
Link copied to clipboard
inline fun TelegramMediaFile.requireVideoFile(): VideoFile
Link copied to clipboard
inline fun ResendableContent.requireVideoNoteContent(): VideoNoteContent
Link copied to clipboard
inline fun TelegramMediaFile.requireVideoNoteFile(): VideoNoteFile
Link copied to clipboard
inline fun TelegramMediaFile.requireVideoSticker(): VideoSticker
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireVoiceContent(): VoiceContent
Link copied to clipboard
inline fun TelegramMediaFile.requireVoiceFile(): VoiceFile
Link copied to clipboard
Link copied to clipboard
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>
Link copied to clipboard
inline fun <T : ChannelEvent> ChannelEventMessage<*>.requireWithEvent(): ChannelEventMessage<T>
inline fun <T : GroupEvent> CommonGroupEventMessage<*>.requireWithEvent(): CommonGroupEventMessage<T>
inline fun <T : PrivateEvent> PrivateEventMessage<*>.requireWithEvent(): PrivateEventMessage<T>
inline fun <T : ChatEvent> ChatEventMessage<*>.requireWithEvent(): ChatEventMessage<T>
inline fun <T : GroupEvent> GroupEventMessage<*>.requireWithEvent(): GroupEventMessage<T>
inline fun <T : SupergroupEvent> SupergroupEventMessage<*>.requireWithEvent(): SupergroupEventMessage<T>
Link copied to clipboard
inline fun Any.requireWithOptionalLanguageCode(): WithOptionalLanguageCode
Link copied to clipboard
inline fun Any.requireWithUser(): WithUser
Link copied to clipboard
inline fun WithUser.restrictedChatMemberOrNull(): RestrictedChatMember?
Link copied to clipboard
inline fun WithUser.restrictedChatMemberOrThrow(): RestrictedChatMember
Link copied to clipboard
inline fun WithUser.secondaryChatInviteLinkOrNull(): SecondaryChatInviteLink?
Link copied to clipboard
inline fun WithUser.secondaryChatInviteLinkOrThrow(): SecondaryChatInviteLink
Link copied to clipboard
inline fun SecureValue.secureValueIdentityOrNull(): SecureValueIdentity?
Link copied to clipboard
inline fun SecureValue.secureValueIdentityOrThrow(): SecureValueIdentity
Link copied to clipboard
inline fun SecureValue.secureValueWithDataOrNull(): SecureValueWithData?
Link copied to clipboard
inline fun SecureValue.secureValueWithDataOrThrow(): SecureValueWithData
Link copied to clipboard
inline fun SecureValue.secureValueWithFilesOrNull(): SecureValueWithFiles?
Link copied to clipboard
inline fun SecureValue.secureValueWithFilesOrThrow(): SecureValueWithFiles
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun CommonSendInvoiceData.sendInvoiceOrNull(): SendInvoice?
Link copied to clipboard
inline fun CommonSendInvoiceData.sendInvoiceOrThrow(): SendInvoice
Link copied to clipboard
inline fun ForwardInfo.sentByChannelOrNull(): ForwardInfo.PublicChat.SentByChannel?
Link copied to clipboard
Link copied to clipboard
inline fun Update.sentMediaGroupUpdateOrNull(): SentMediaGroupUpdate?
Link copied to clipboard
inline fun Update.sentMediaGroupUpdateOrThrow(): SentMediaGroupUpdate
Link copied to clipboard
inline fun WithUser.shippingQueryOrNull(): ShippingQuery?
Link copied to clipboard
inline fun WithUser.shippingQueryOrThrow(): ShippingQuery
Link copied to clipboard
inline fun Update.shippingQueryUpdateOrNull(): ShippingQueryUpdate?
Link copied to clipboard
inline fun Update.shippingQueryUpdateOrThrow(): ShippingQueryUpdate
Link copied to clipboard
inline fun Message.signedMessageOrNull(): SignedMessage?
Link copied to clipboard
inline fun Message.signedMessageOrThrow(): SignedMessage
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.sizedMediaFileOrNull(): SizedMediaFile?
Link copied to clipboard
inline fun TelegramMediaFile.sizedMediaFileOrThrow(): SizedMediaFile
Link copied to clipboard
inline fun TelegramMedia.sizedTelegramMediaOrNull(): SizedTelegramMedia?
Link copied to clipboard
inline fun TelegramMedia.sizedTelegramMediaOrThrow(): SizedTelegramMedia
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.specialRightsChatMemberOrNull(): SpecialRightsChatMember?
Link copied to clipboard
inline fun WithUser.specialRightsChatMemberOrThrow(): SpecialRightsChatMember
Link copied to clipboard
inline fun TextSource.spoilerTextSourceOrNull(): SpoilerTextSource?
Link copied to clipboard
inline fun TextSource.spoilerTextSourceOrThrow(): SpoilerTextSource
Link copied to clipboard
inline fun ResendableContent.staticLocationContentOrNull(): StaticLocationContent?
Link copied to clipboard
Link copied to clipboard
inline fun Location.staticLocationOrNull(): StaticLocation?
Link copied to clipboard
inline fun Location.staticLocationOrThrow(): StaticLocation
Link copied to clipboard
inline fun ResendableContent.stickerContentOrNull(): StickerContent?
Link copied to clipboard
inline fun ResendableContent.stickerContentOrThrow(): StickerContent
Link copied to clipboard
inline fun TelegramMediaFile.stickerOrNull(): Sticker?
Link copied to clipboard
inline fun TelegramMediaFile.stickerOrThrow(): Sticker
Link copied to clipboard
inline fun TextSource.strikethroughTextSourceOrNull(): StrikethroughTextSource?
Link copied to clipboard
inline fun TextSource.strikethroughTextSourceOrThrow(): StrikethroughTextSource
Link copied to clipboard
inline fun ChatEvent.successfulPaymentEventOrNull(): SuccessfulPaymentEvent?
Link copied to clipboard
inline fun ChatEvent.successfulPaymentEventOrThrow(): SuccessfulPaymentEvent
Link copied to clipboard
inline fun ChatEvent.supergroupChatCreatedOrNull(): SupergroupChatCreated?
Link copied to clipboard
inline fun ChatEvent.supergroupChatCreatedOrThrow(): SupergroupChatCreated
Link copied to clipboard
inline fun Chat.supergroupChatImplOrNull(): SupergroupChatImpl?
Link copied to clipboard
inline fun Chat.supergroupChatImplOrThrow(): SupergroupChatImpl
Link copied to clipboard
inline fun Chat.supergroupChatOrNull(): SupergroupChat?
Link copied to clipboard
inline fun Chat.supergroupChatOrThrow(): SupergroupChat
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.supergroupEventOrNull(): SupergroupEvent?
Link copied to clipboard
inline fun ChatEvent.supergroupEventOrThrow(): SupergroupEvent
Link copied to clipboard
inline fun Chat.superPublicChatOrNull(): SuperPublicChat?
Link copied to clipboard
inline fun Chat.superPublicChatOrThrow(): SuperPublicChat
Link copied to clipboard
inline fun TelegramMedia.telegramMediaAnimationOrNull(): TelegramMediaAnimation?
Link copied to clipboard
inline fun TelegramMedia.telegramMediaAnimationOrThrow(): TelegramMediaAnimation
Link copied to clipboard
inline fun TelegramMedia.telegramMediaAudioOrNull(): TelegramMediaAudio?
Link copied to clipboard
inline fun TelegramMedia.telegramMediaAudioOrThrow(): TelegramMediaAudio
Link copied to clipboard
inline fun TelegramMedia.telegramMediaDocumentOrNull(): TelegramMediaDocument?
Link copied to clipboard
inline fun TelegramMedia.telegramMediaDocumentOrThrow(): TelegramMediaDocument
Link copied to clipboard
inline fun TelegramMedia.telegramMediaPhotoOrNull(): TelegramMediaPhoto?
Link copied to clipboard
inline fun TelegramMedia.telegramMediaPhotoOrThrow(): TelegramMediaPhoto
Link copied to clipboard
inline fun TelegramMedia.telegramMediaVideoOrNull(): TelegramMediaVideo?
Link copied to clipboard
inline fun TelegramMedia.telegramMediaVideoOrThrow(): TelegramMediaVideo
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.textContentOrNull(): TextContent?
Link copied to clipboard
inline fun ResendableContent.textContentOrThrow(): TextContent
Link copied to clipboard
inline fun ResendableContent.textedMediaContentOrNull(): TextedMediaContent?
Link copied to clipboard
inline fun ResendableContent.textedMediaContentOrThrow(): TextedMediaContent
Link copied to clipboard
inline fun TextSource.textLinkTextSourceOrNull(): TextLinkTextSource?
Link copied to clipboard
inline fun TextSource.textLinkTextSourceOrThrow(): TextLinkTextSource
Link copied to clipboard
inline fun TextSource.textMentionTextSourceOrNull(): TextMentionTextSource?
Link copied to clipboard
inline fun TextSource.textMentionTextSourceOrThrow(): TextMentionTextSource
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMediaFile.thumbedMediaFileOrNull(): ThumbedMediaFile?
Link copied to clipboard
inline fun TelegramMediaFile.thumbedMediaFileOrThrow(): ThumbedMediaFile
Link copied to clipboard
inline fun TelegramMedia.thumbedTelegramMediaOrNull(): ThumbedTelegramMedia?
Link copied to clipboard
inline fun TelegramMedia.thumbedTelegramMediaOrThrow(): ThumbedTelegramMedia
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TelegramMedia.titledTelegramMediaOrNull(): TitledTelegramMedia?
Link copied to clipboard
inline fun TelegramMedia.titledTelegramMediaOrThrow(): TitledTelegramMedia
Link copied to clipboard
inline fun BotAction.typingActionOrNull(): TypingAction?
Link copied to clipboard
inline fun BotAction.typingActionOrThrow(): TypingAction
Link copied to clipboard
inline fun TextSource.underlineTextSourceOrNull(): UnderlineTextSource?
Link copied to clipboard
inline fun TextSource.underlineTextSourceOrThrow(): UnderlineTextSource
Link copied to clipboard
inline fun WithUser.unknownCallbackQueryTypeOrNull(): UnknownCallbackQueryType?
Link copied to clipboard
inline fun WithUser.unknownCallbackQueryTypeOrThrow(): UnknownCallbackQueryType
Link copied to clipboard
inline fun Chat.unknownChatTypeOrNull(): UnknownChatType?
Link copied to clipboard
inline fun Chat.unknownChatTypeOrThrow(): UnknownChatType
Link copied to clipboard
inline fun Chat.unknownExtendedChatOrNull(): UnknownExtendedChat?
Link copied to clipboard
inline fun Chat.unknownExtendedChatOrThrow(): UnknownExtendedChat
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Message.unknownMessageTypeOrNull(): UnknownMessageType?
Link copied to clipboard
inline fun Message.unknownMessageTypeOrThrow(): UnknownMessageType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Poll.unknownPollTypeOrNull(): UnknownPollType?
Link copied to clipboard
inline fun Poll.unknownPollTypeOrThrow(): UnknownPollType
Link copied to clipboard
inline fun TelegramMediaFile.unknownStickerOrNull(): UnknownSticker?
Link copied to clipboard
inline fun TelegramMediaFile.unknownStickerOrThrow(): UnknownSticker
Link copied to clipboard
inline fun Update.unknownUpdateOrNull(): UnknownUpdate?
Link copied to clipboard
inline fun Update.unknownUpdateOrThrow(): UnknownUpdate
Link copied to clipboard
inline fun BotAction.uploadDocumentActionOrNull(): UploadDocumentAction?
Link copied to clipboard
inline fun BotAction.uploadDocumentActionOrThrow(): UploadDocumentAction
Link copied to clipboard
inline fun BotAction.uploadPhotoActionOrNull(): UploadPhotoAction?
Link copied to clipboard
inline fun BotAction.uploadPhotoActionOrThrow(): UploadPhotoAction
Link copied to clipboard
inline fun BotAction.uploadVideoActionOrNull(): UploadVideoAction?
Link copied to clipboard
inline fun BotAction.uploadVideoActionOrThrow(): UploadVideoAction
Link copied to clipboard
inline fun BotAction.uploadVideoNoteActionOrNull(): UploadVideoNoteAction?
Link copied to clipboard
inline fun BotAction.uploadVideoNoteActionOrThrow(): UploadVideoNoteAction
Link copied to clipboard
inline fun BotAction.uploadVoiceActionOrNull(): UploadVoiceAction?
Link copied to clipboard
inline fun BotAction.uploadVoiceActionOrThrow(): UploadVoiceAction
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun InlineQueryResult.urlInlineQueryResultOrNull(): UrlInlineQueryResult?
Link copied to clipboard
inline fun InlineQueryResult.urlInlineQueryResultOrThrow(): UrlInlineQueryResult
Link copied to clipboard
inline fun TextSource.uRLTextSourceOrNull(): URLTextSource?
Link copied to clipboard
inline fun TextSource.uRLTextSourceOrThrow(): URLTextSource
Link copied to clipboard
inline fun ChatEvent.userLoggedInOrNull(): UserLoggedIn?
Link copied to clipboard
inline fun ChatEvent.userLoggedInOrThrow(): UserLoggedIn
Link copied to clipboard
inline fun Chat.usernameChatOrNull(): UsernameChat?
Link copied to clipboard
inline fun Chat.usernameChatOrThrow(): UsernameChat
Link copied to clipboard
inline fun Chat.userOrNull(): User?
Link copied to clipboard
inline fun Chat.userOrThrow(): User
Link copied to clipboard
inline fun EncryptedPassportElement.utilityBillOrNull(): UtilityBill?
Link copied to clipboard
inline fun EncryptedPassportElement.utilityBillOrThrow(): UtilityBill
Link copied to clipboard
inline fun SecureValue.utilityBillSecureValueOrNull(): UtilityBillSecureValue?
Link copied to clipboard
inline fun SecureValue.utilityBillSecureValueOrThrow(): UtilityBillSecureValue
Link copied to clipboard
inline fun ResendableContent.venueContentOrNull(): VenueContent?
Link copied to clipboard
inline fun ResendableContent.venueContentOrThrow(): VenueContent
Link copied to clipboard
inline fun ChatEvent.videoChatEndedOrNull(): VideoChatEnded?
Link copied to clipboard
inline fun ChatEvent.videoChatEndedOrThrow(): VideoChatEnded
Link copied to clipboard
inline fun ChatEvent.videoChatEventOrNull(): VideoChatEvent?
Link copied to clipboard
inline fun ChatEvent.videoChatEventOrThrow(): VideoChatEvent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ChatEvent.videoChatScheduledOrNull(): VideoChatScheduled?
Link copied to clipboard
inline fun ChatEvent.videoChatScheduledOrThrow(): VideoChatScheduled
Link copied to clipboard
inline fun ChatEvent.videoChatStartedOrNull(): VideoChatStarted?
Link copied to clipboard
inline fun ChatEvent.videoChatStartedOrThrow(): VideoChatStarted
Link copied to clipboard
inline fun ResendableContent.videoContentOrNull(): VideoContent?
Link copied to clipboard
inline fun ResendableContent.videoContentOrThrow(): VideoContent
Link copied to clipboard
inline fun TelegramMediaFile.videoFileOrNull(): VideoFile?
Link copied to clipboard
inline fun TelegramMediaFile.videoFileOrThrow(): VideoFile
Link copied to clipboard
inline fun ResendableContent.videoNoteContentOrNull(): VideoNoteContent?
Link copied to clipboard
inline fun ResendableContent.videoNoteContentOrThrow(): VideoNoteContent
Link copied to clipboard
inline fun TelegramMediaFile.videoNoteFileOrNull(): VideoNoteFile?
Link copied to clipboard
inline fun TelegramMediaFile.videoNoteFileOrThrow(): VideoNoteFile
Link copied to clipboard
inline fun TelegramMediaFile.videoStickerOrNull(): VideoSticker?
Link copied to clipboard
inline fun TelegramMediaFile.videoStickerOrThrow(): VideoSticker
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.voiceContentOrNull(): VoiceContent?
Link copied to clipboard
inline fun ResendableContent.voiceContentOrThrow(): VoiceContent
Link copied to clipboard
inline fun TelegramMediaFile.voiceFileOrNull(): VoiceFile?
Link copied to clipboard
inline fun TelegramMediaFile.voiceFileOrThrow(): VoiceFile
Link copied to clipboard
inline fun ChatEvent.webAppDataOrNull(): WebAppData?
Link copied to clipboard
inline fun ChatEvent.webAppDataOrThrow(): WebAppData
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Chat.whenAbleToAddInAttachmentMenuChat(block: (AbleToAddInAttachmentMenuChat) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenAddressSecureValue(block: (AddressSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> ChatMember.whenAdministratorChatMember(block: (AdministratorChatMember) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenAnimatedSticker(block: (AnimatedSticker) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenAnimationContent(block: (AnimationContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenAnimationFile(block: (AnimationFile) -> T): T?
Link copied to clipboard
inline fun <T> ForwardInfo.whenAnonymousForwardInfo(block: (ForwardInfo.ByAnonymous) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenAnonymousGroupContentMessage(block: (AnonymousGroupContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenAnonymousGroupContentMessageImpl(block: (AnonymousGroupContentMessageImpl<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> ScheduledCloseInfo.whenApproximateScheduledCloseInfo(block: (ApproximateScheduledCloseInfo) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenAudioContent(block: (AudioContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenAudioFile(block: (AudioFile) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenAudioMediaGroupContent(block: (AudioMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenAudioMediaGroupMemberTelegramMedia(block: (AudioMediaGroupMemberTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenBankStatement(block: (BankStatement) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenBankStatementSecureValue(block: (BankStatementSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> ChatMember.whenBannedChatMember(block: (BannedChatMember) -> T): T?
Link copied to clipboard
inline fun <T> ChosenInlineResult.whenBaseChosenInlineResult(block: (BaseChosenInlineResult) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenBaseEditMessageUpdate(block: (BaseEditMessageUpdate) -> T): T?
Link copied to clipboard
inline fun <T> InlineQuery.whenBaseInlineQuery(block: (BaseInlineQuery) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenBaseMessageUpdate(block: (BaseMessageUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenBaseSentMessageUpdate(block: (BaseSentMessageUpdate) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.whenBasketballDiceAnimationType(block: (BasketballDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenBoldTextSource(block: (BoldTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenBot(block: (Bot) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenBotCommandTextSource(block: (BotCommandTextSource) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.whenBowlingDiceAnimationType(block: (BowlingDiceAnimationType) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Update.whenCallbackQueryUpdate(block: (CallbackQueryUpdate) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenCashTagTextSource(block: (CashTagTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenChannelChat(block: (ChannelChat) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenChannelChatCreated(block: (ChannelChatCreated) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> ChatEvent.whenChannelEvent(block: (ChannelEvent) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenChannelEventMessage(block: (ChannelEventMessage<ChannelEvent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenChannelMediaGroupMessage(block: (ChannelMediaGroupMessage<MediaGroupContent>) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenChannelPostMediaGroupUpdate(block: (ChannelPostMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenChannelPostUpdate(block: (ChannelPostUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenChatEventMessage(block: (ChatEventMessage<ChatEvent>) -> T): T?
Link copied to clipboard
inline fun <T> ChatInviteLink.whenChatInviteLinkUnlimited(block: (ChatInviteLinkUnlimited) -> T): T?
Link copied to clipboard
inline fun <T> ChatInviteLink.whenChatInviteLinkWithJoinRequest(block: (ChatInviteLinkWithJoinRequest) -> T): T?
Link copied to clipboard
inline fun <T> ChatInviteLink.whenChatInviteLinkWithLimitedMembers(block: (ChatInviteLinkWithLimitedMembers) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenChatJoinRequestUpdate(block: (ChatJoinRequestUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenChatMemberUpdatedUpdate(block: (ChatMemberUpdatedUpdate) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenChooseStickerAction(block: (ChooseStickerAction) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenChosenInlineResultUpdate(block: (ChosenInlineResultUpdate) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenCodeTextSource(block: (CodeTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenCommonBot(block: (CommonBot) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenCommonChatMemberUpdatedUpdate(block: (CommonChatMemberUpdatedUpdate) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenCommonEvent(block: (CommonEvent) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenCommonGroupContentMessage(block: (CommonGroupContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenCommonGroupEventMessage(block: (CommonGroupEventMessage<GroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenCommonMediaGroupMessage(block: (CommonMediaGroupMessage<MediaGroupContent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenCommonMessage(block: (CommonMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenCommonPassport(block: (CommonPassport) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenCommonPassportSecureValue(block: (CommonPassportSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenCommonSupergroupEventMessage(block: (CommonSupergroupEventMessage<SupergroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenCommonUser(block: (CommonUser) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenContactContent(block: (ContactContent) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenContentMessage(block: (ContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenCreateInvoiceLink(block: (CreateInvoiceLink) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.whenCubeDiceAnimationType(block: (CubeDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.whenCustomDiceAnimationType(block: (CustomDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.whenDartsDiceAnimationType(block: (DartsDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> CallbackQuery.whenDataCallbackQuery(block: (DataCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenDeleteChatPhoto(block: (DeleteChatPhoto) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenDescribedInlineQueryResult(block: (DescribedInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenDiceContent(block: (DiceContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenDocumentContent(block: (DocumentContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenDocumentFile(block: (DocumentFile) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenDocumentMediaGroupContent(block: (DocumentMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenDriverLicense(block: (DriverLicense) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenDriverLicenseSecureValue(block: (DriverLicenseSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenDuratedTelegramMedia(block: (DuratedTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenEditChannelPostMediaGroupUpdate(block: (EditChannelPostMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenEditChannelPostUpdate(block: (EditChannelPostUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenEditMediaGroupUpdate(block: (EditMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenEditMessageMediaGroupUpdate(block: (EditMessageMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenEditMessageUpdate(block: (EditMessageUpdate) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEmail(block: (Email) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenEMailTextSource(block: (EMailTextSource) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedAddress(block: (EncryptedAddress) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEncryptedPersonalDetails(block: (EncryptedPersonalDetails) -> T): T?
Link copied to clipboard
inline fun <T> ScheduledCloseInfo.whenExactScheduledCloseInfo(block: (ExactScheduledCloseInfo) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenExtendedBot(block: (ExtendedBot) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenExtendedChannelChat(block: (ExtendedChannelChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenExtendedChat(block: (ExtendedChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenExtendedGroupChat(block: (ExtendedGroupChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenExtendedPrivateChat(block: (ExtendedPrivateChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenExtendedPublicChat(block: (ExtendedPublicChat) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenExtendedSupergroupChat(block: (ExtendedSupergroupChat) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenFile(block: (File) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenFileInlineQueryResult(block: (FileInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenFindLocationAction(block: (FindLocationAction) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.whenFootballDiceAnimationType(block: (FootballDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenForceReply(block: (ReplyForce) -> T): T?
Link copied to clipboard
inline fun <T> ForwardInfo.whenForwardFromChannelInfo(block: (ForwardFromChannelInfo) -> T): T?
Link copied to clipboard
inline fun <T> ForwardInfo.whenForwardFromPublicChatInfo(block: (ForwardInfo.PublicChat) -> T): T?
Link copied to clipboard
inline fun <T> ForwardInfo.whenForwardFromSupergroupInfo(block: (ForwardFromSupergroupInfo) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenFromChannelGroupContentMessage(block: (FromChannelGroupContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> Any.whenFromUser(block: (FromUser) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenFromUserMessage(block: (FromUserMessage) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenGameContent(block: (GameContent) -> T): T?
Link copied to clipboard
inline fun <T> CallbackQuery.whenGameShortNameCallbackQuery(block: (GameShortNameCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenGroupChat(block: (GroupChat) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenGroupChatCreated(block: (GroupChatCreated) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenGroupContentMessage(block: (GroupContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenGroupEvent(block: (GroupEvent) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenGroupEventMessage(block: (GroupEventMessage<GroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenHashTagTextSource(block: (HashTagTextSource) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenIdentityCard(block: (IdentityCard) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenIdentityCardSecureValue(block: (IdentityCardSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenIdentityWithReverseSideSecureValue(block: (IdentityWithReverseSideSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenInlineKeyboardMarkup(block: (InlineKeyboardMarkup) -> T): T?
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdCallbackQuery(block: (InlineMessageIdCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> CallbackQuery.whenInlineMessageIdDataCallbackQuery(block: (InlineMessageIdDataCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultArticle(block: (InlineQueryResultArticle) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudio(block: (InlineQueryResultAudio) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudioCached(block: (InlineQueryResultAudioCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultAudioCommon(block: (InlineQueryResultAudioCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultContact(block: (InlineQueryResultContact) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocument(block: (InlineQueryResultDocument) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocumentCached(block: (InlineQueryResultDocumentCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultDocumentCommon(block: (InlineQueryResultDocumentCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGame(block: (InlineQueryResultGame) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGif(block: (InlineQueryResultGif) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGifCached(block: (InlineQueryResultGifCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultGifCommon(block: (InlineQueryResultGifCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultLocation(block: (InlineQueryResultLocation) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4Gif(block: (InlineQueryResultMpeg4Gif) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4GifCached(block: (InlineQueryResultMpeg4GifCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultMpeg4GifCommon(block: (InlineQueryResultMpeg4GifCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhoto(block: (InlineQueryResultPhoto) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhotoCached(block: (InlineQueryResultPhotoCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultPhotoCommon(block: (InlineQueryResultPhotoCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultStickerCached(block: (InlineQueryResultStickerCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVenue(block: (InlineQueryResultVenue) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideo(block: (InlineQueryResultVideo) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideoCached(block: (InlineQueryResultVideoCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVideoCommon(block: (InlineQueryResultVideoCommon) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoice(block: (InlineQueryResultVoice) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoiceCached(block: (InlineQueryResultVoiceCached) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenInlineQueryResultVoiceCommon(block: (InlineQueryResultVoiceCommon) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenInlineQueryUpdate(block: (InlineQueryUpdate) -> T): T?
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputContactMessageContent(block: (InputContactMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
inline fun <T> InputMessageContent.whenInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputLocationMessageContent(block: (InputLocationMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputTextMessageContent(block: (InputTextMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> InputMessageContent.whenInputVenueMessageContent(block: (InputVenueMessageContent) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenInternalPassport(block: (InternalPassport) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenInternalPassportSecureValue(block: (InternalPassportSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenInvoiceContent(block: (InvoiceContent) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenItalicTextSource(block: (ItalicTextSource) -> T): T?
Link copied to clipboard
inline fun <T> ChatMember.whenKickedChatMember(block: (KickedChatMember) -> T): T?
Link copied to clipboard
inline fun <T> ChatMember.whenLeftChatMember(block: (LeftChatMember) -> T): T?
inline fun <T> ChatEvent.whenLeftChatMember(block: (LeftChatMember) -> T): T?
Link copied to clipboard
inline fun <T> Location.whenLiveLocation(block: (LiveLocation) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenLiveLocationContent(block: (LiveLocationContent) -> T): T?
Link copied to clipboard
inline fun <T> ChosenInlineResult.whenLocationChosenInlineResult(block: (LocationChosenInlineResult) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenLocationContent(block: (LocationContent) -> T): T?
Link copied to clipboard
inline fun <T> InlineQuery.whenLocationInlineQuery(block: (LocationInlineQuery) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenLoginURLInlineKeyboardButton(block: (LoginURLInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaCollectionContent(block: (MediaCollectionContent<TelegramMediaFile>) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaContent(block: (MediaContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenMediaGroupContent(block: (MediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenMediaGroupMemberTelegramMedia(block: (MediaGroupMemberTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenMediaGroupMessage(block: (MediaGroupMessage<MediaGroupContent>) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenMediaGroupUpdate(block: (MediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> ChatMember.whenMemberChatMember(block: (MemberChatMember) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenMentionTextSource(block: (MentionTextSource) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenMessageAutoDeleteTimerChanged(block: (MessageAutoDeleteTimerChanged) -> T): T?
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageCallbackQuery(block: (MessageCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenMessageContent(block: (MessageContent) -> T): T?
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageDataCallbackQuery(block: (MessageDataCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> CallbackQuery.whenMessageGameShortNameCallbackQuery(block: (MessageGameShortNameCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenMessageMediaGroupUpdate(block: (MessageMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenMessageUpdate(block: (MessageUpdate) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenMigratedToSupergroup(block: (MigratedToSupergroup) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenMimedMediaFile(block: (MimedMediaFile) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenMultilevelTextSource(block: (MultilevelTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Poll.whenMultipleAnswersPoll(block: (MultipleAnswersPoll) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenMyChatMemberUpdatedUpdate(block: (MyChatMemberUpdatedUpdate) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatMembers(block: (NewChatMembers) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatPhoto(block: (NewChatPhoto) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenNewChatTitle(block: (NewChatTitle) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenOptionallyTitledInlineQueryResult(block: (OptionallyTitledInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenOtherDocumentsSecureValue(block: (OtherDocumentsSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> ChatMember.whenOwnerChatMember(block: (OwnerChatMember) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPassport(block: (Passport) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorDataField(block: (PassportElementErrorDataField) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFile(block: (PassportElementErrorFile) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFiles(block: (PassportElementErrorFiles) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorFrontSide(block: (PassportElementErrorFrontSide) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorReverseSide(block: (PassportElementErrorReverseSide) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorSelfie(block: (PassportElementErrorSelfie) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementErrorUnspecified(block: (PassportElementErrorUnspecified) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementFileError(block: (PassportElementFileError) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportElementFilesError(block: (PassportElementFilesError) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenPassportMessage(block: (PassportMessage) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportMultipleElementsError(block: (PassportMultipleElementsError) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPassportRegistration(block: (PassportRegistration) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenPassportRegistrationSecureValue(block: (PassportRegistrationSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenPassportSecureValue(block: (PassportSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenPassportSingleElementError(block: (PassportSingleElementError) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPathedFile(block: (PathedFile) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenPayInlineKeyboardButton(block: (PayInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenPersonalDetailsSecureValue(block: (PersonalDetailsSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPhoneNumber(block: (PhoneNumber) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenPhoneNumberTextSource(block: (PhoneNumberTextSource) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenPhotoContent(block: (PhotoContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPhotoSize(block: (PhotoSize) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenPinnedMessage(block: (PinnedMessage) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenPlayableMediaFile(block: (PlayableMediaFile) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenPollAnswerUpdate(block: (PollAnswerUpdate) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenPollContent(block: (PollContent) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenPollUpdate(block: (PollUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenPossiblyEditedMessage(block: (PossiblyEditedMessage) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenPossiblyForwardedMessage(block: (PossiblyForwardedMessage) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenPossiblyPaymentMessage(block: (PossiblyPaymentMessage) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenPossiblyPremiumChat(block: (PossiblyPremiumChat) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenPossiblyReplyMessage(block: (PossiblyReplyMessage) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenPossiblySentViaBotCommonMessage(block: (PossiblySentViaBotCommonMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenPreCheckoutQueryUpdate(block: (PreCheckoutQueryUpdate) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenPreTextSource(block: (PreTextSource) -> T): T?
Link copied to clipboard
inline fun <T> ChatInviteLink.whenPrimaryInviteLink(block: (PrimaryInviteLink) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenPrivateChat(block: (PrivateChat) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenPrivateContentMessage(block: (PrivateContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenPrivateContentMessageImpl(block: (PrivateContentMessageImpl<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenPrivateEventMessage(block: (PrivateEventMessage<PrivateEvent>) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenProximityAlertTriggered(block: (ProximityAlertTriggered) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenPublicChat(block: (PublicChat) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenPublicChatEvent(block: (PublicChatEvent) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenPublicContentMessage(block: (PublicContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> Poll.whenQuizPoll(block: (QuizPoll) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenRecordVideoAction(block: (RecordVideoAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenRecordVideoNoteAction(block: (RecordVideoNoteAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenRecordVoiceAction(block: (RecordVoiceAction) -> T): T?
Link copied to clipboard
inline fun <T> Poll.whenRegularPoll(block: (RegularPoll) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenRegularTextSource(block: (RegularTextSource) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenRentalAgreement(block: (RentalAgreement) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenRentalAgreementSecureValue(block: (RentalAgreementSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenReplyKeyboardMarkup(block: (ReplyKeyboardMarkup) -> T): T?
Link copied to clipboard
inline fun <T> KeyboardMarkup.whenReplyKeyboardRemove(block: (ReplyKeyboardRemove) -> T): T?
Link copied to clipboard
inline fun <T> ChatMember.whenRestrictedChatMember(block: (RestrictedChatMember) -> T): T?
Link copied to clipboard
inline fun <T> ChatInviteLink.whenSecondaryChatInviteLink(block: (SecondaryChatInviteLink) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueIdentity(block: (SecureValueIdentity) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithData(block: (SecureValueWithData) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithFiles(block: (SecureValueWithFiles) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithReverseSide(block: (SecureValueWithReverseSide) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenSecureValueWithTranslations(block: (SecureValueWithTranslations) -> T): T?
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenSendInvoice(block: (SendInvoice) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenSentMediaGroupUpdate(block: (SentMediaGroupUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenShippingQueryUpdate(block: (ShippingQueryUpdate) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenSignedMessage(block: (SignedMessage) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenSimpleSticker(block: (SimpleSticker) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenSizedInlineQueryResult(block: (SizedInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenSizedMediaFile(block: (SizedMediaFile) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenSizedTelegramMedia(block: (SizedTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> DiceAnimationType.whenSlotMachineDiceAnimationType(block: (SlotMachineDiceAnimationType) -> T): T?
Link copied to clipboard
inline fun <T> ChatMember.whenSpecialRightsChatMember(block: (SpecialRightsChatMember) -> T): T?
Link copied to clipboard
inline fun <T> Location.whenStaticLocation(block: (StaticLocation) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenStaticLocationContent(block: (StaticLocationContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenSticker(block: (Sticker) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenStickerContent(block: (StickerContent) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenStrikethroughTextSource(block: (StrikethroughTextSource) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenSuccessfulPaymentEvent(block: (SuccessfulPaymentEvent) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenSupergroupChat(block: (SupergroupChat) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenSupergroupChatCreated(block: (SupergroupChatCreated) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenSupergroupEvent(block: (SupergroupEvent) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenSupergroupEventMessage(block: (SupergroupEventMessage<SupergroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenSuperPublicChat(block: (SuperPublicChat) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenTelegramMediaAnimation(block: (TelegramMediaAnimation) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenTelegramMediaAudio(block: (TelegramMediaAudio) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenTelegramMediaDocument(block: (TelegramMediaDocument) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenTelegramMediaPhoto(block: (TelegramMediaPhoto) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenTelegramMediaVideo(block: (TelegramMediaVideo) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenTemporalRegistrationSecureValue(block: (TemporalRegistrationSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenTemporaryRegistration(block: (TemporaryRegistration) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenTextContent(block: (TextContent) -> T): T?
Link copied to clipboard
inline fun <T> MessageContent.whenTextedInput(block: (TextedInput) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenTextedMediaContent(block: (TextedMediaContent) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenTextLinkTextSource(block: (TextLinkTextSource) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenTextMentionTextSource(block: (TextMentionTextSource) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbedInlineQueryResult(block: (ThumbedInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenThumbedMediaFile(block: (ThumbedMediaFile) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenThumbedTelegramMedia(block: (ThumbedTelegramMedia) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> InlineQueryResult.whenThumbSizedInlineQueryResult(block: (ThumbSizedInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenTitledInlineQueryResult(block: (TitledInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenTitledTelegramMedia(block: (TitledTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenTypingAction(block: (TypingAction) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenUnderlineTextSource(block: (UnderlineTextSource) -> T): T?
Link copied to clipboard
inline fun <T> CallbackQuery.whenUnknownCallbackQueryType(block: (UnknownCallbackQueryType) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenUnknownChatType(block: (UnknownChatType) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenUnknownInlineKeyboardButton(block: (UnknownInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> Message.whenUnknownMessageType(block: (UnknownMessageType) -> T): T?
Link copied to clipboard
inline fun <T> PassportElementError.whenUnknownPassportElementError(block: (UnknownPassportElementError) -> T): T?
Link copied to clipboard
inline fun <T> Poll.whenUnknownPollType(block: (UnknownPollType) -> T): T?
Link copied to clipboard
inline fun <T> Update.whenUnknownUpdate(block: (UnknownUpdate) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenUploadDocumentAction(block: (UploadDocumentAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenUploadPhotoAction(block: (UploadPhotoAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenUploadVideoAction(block: (UploadVideoAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenUploadVideoNoteAction(block: (UploadVideoNoteAction) -> T): T?
Link copied to clipboard
inline fun <T> BotAction.whenUploadVoiceAction(block: (UploadVoiceAction) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenURLInlineKeyboardButton(block: (URLInlineKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> InlineQueryResult.whenUrlInlineQueryResult(block: (UrlInlineQueryResult) -> T): T?
Link copied to clipboard
inline fun <T> TextSource.whenURLTextSource(block: (URLTextSource) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenUser(block: (User) -> T): T?
Link copied to clipboard
inline fun <T> ForwardInfo.whenUserForwardInfo(block: (ForwardInfo.ByUser) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenUserLoggedIn(block: (UserLoggedIn) -> T): T?
Link copied to clipboard
inline fun <T> Chat.whenUsernameChat(block: (UsernameChat) -> T): T?
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenUtilityBill(block: (UtilityBill) -> T): T?
Link copied to clipboard
inline fun <T> SecureValue.whenUtilityBillSecureValue(block: (UtilityBillSecureValue) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenVenueContent(block: (VenueContent) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenVideoChatEnded(block: (VideoChatEnded) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenVideoChatEvent(block: (VideoChatEvent) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenVideoChatParticipantsInvited(block: (VideoChatParticipantsInvited) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenVideoChatScheduled(block: (VideoChatScheduled) -> T): T?
Link copied to clipboard
inline fun <T> ChatEvent.whenVideoChatStarted(block: (VideoChatStarted) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenVideoContent(block: (VideoContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVideoFile(block: (VideoFile) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenVideoNoteContent(block: (VideoNoteContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVideoNoteFile(block: (VideoNoteFile) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVideoSticker(block: (VideoSticker) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenVisualMediaGroupContent(block: (VisualMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMedia.whenVisualMediaGroupMemberTelegramMedia(block: (VisualMediaGroupMemberTelegramMedia) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenVoiceContent(block: (VoiceContent) -> T): T?
Link copied to clipboard
inline fun <T> TelegramMediaFile.whenVoiceFile(block: (VoiceFile) -> T): T?
Link copied to clipboard
inline fun <T> InlineKeyboardButton.whenWebAppKeyboardButton(block: (WebAppKeyboardButton) -> T): T?
Link copied to clipboard
inline fun <T> Any.whenWithOptionalLanguageCode(block: (WithOptionalLanguageCode) -> T): T?
Link copied to clipboard
inline fun <T> Any.whenWithUser(block: (WithUser) -> T): T?
Link copied to clipboard
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>?
Link copied to clipboard
inline fun <T : MessageContent> ChannelContentMessage<*>.withContentOrNull(): ChannelContentMessage<T>?
inline fun <T : MessageContent> CommonMessage<*>.withContentOrNull(): CommonMessage<T>?
inline fun <T : MessageContent> ContentMessage<*>.withContentOrNull(): ContentMessage<T>?
inline fun <T : MessageContent> GroupContentMessage<*>.withContentOrNull(): GroupContentMessage<T>?
inline fun <T : MediaGroupContent> MediaGroupMessage<*>.withContentOrNull(): MediaGroupMessage<T>?
inline fun <T : MessageContent> PrivateContentMessage<*>.withContentOrNull(): PrivateContentMessage<T>?
inline fun <T : MessageContent> PublicContentMessage<*>.withContentOrNull(): PublicContentMessage<T>?
Link copied to clipboard
inline fun <T : MessageContent> ChannelContentMessage<*>.withContentOrThrow(): ChannelContentMessage<T>
inline fun <T : MessageContent> CommonMessage<*>.withContentOrThrow(): CommonMessage<T>
inline fun <T : MessageContent> ContentMessage<*>.withContentOrThrow(): ContentMessage<T>
inline fun <T : MessageContent> GroupContentMessage<*>.withContentOrThrow(): GroupContentMessage<T>
inline fun <T : MediaGroupContent> MediaGroupMessage<*>.withContentOrThrow(): MediaGroupMessage<T>
inline fun <T : MessageContent> PrivateContentMessage<*>.withContentOrThrow(): PrivateContentMessage<T>
inline fun <T : MessageContent> PublicContentMessage<*>.withContentOrThrow(): PublicContentMessage<T>
Link copied to clipboard
inline fun <T : ChannelEvent> ChannelEventMessage<*>.withEvent(): ChannelEventMessage<T>?
inline fun <T : GroupEvent> CommonGroupEventMessage<*>.withEvent(): CommonGroupEventMessage<T>?
inline fun <T : SupergroupEvent> CommonSupergroupEventMessage<*>.withEvent(): CommonSupergroupEventMessage<T>?
inline fun <T : PrivateEvent> PrivateEventMessage<*>.withEvent(): PrivateEventMessage<T>?
inline fun <T : ChatEvent> ChatEventMessage<*>.withEvent(): ChatEventMessage<T>?
inline fun <T : GroupEvent> GroupEventMessage<*>.withEvent(): GroupEventMessage<T>?
inline fun <T : SupergroupEvent> SupergroupEventMessage<*>.withEvent(): SupergroupEventMessage<T>?
Link copied to clipboard
inline fun Any.withOptionalLanguageCodeOrNull(): WithOptionalLanguageCode?
Link copied to clipboard
inline fun Any.withOptionalLanguageCodeOrThrow(): WithOptionalLanguageCode
Link copied to clipboard
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

Link copied to clipboard
inline fun Any.withUserOrNull(): WithUser?
Link copied to clipboard
inline fun Any.withUserOrThrow(): WithUser

Properties

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