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