ResendableContent

interface ResendableContent

Functions

Link copied to clipboard
abstract fun createResend(    chatId: ChatIdentifier,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageIdentifier? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Request<out Message>

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard
inline fun ResendableContent.animationContentOrNull(): AnimationContent?
Link copied to clipboard
inline fun ResendableContent.animationContentOrThrow(): AnimationContent
Link copied to clipboard
inline fun ResendableContent.asAnimationContent(): AnimationContent?
Link copied to clipboard
inline fun ResendableContent.asAudioContent(): AudioContent?
Link copied to clipboard
inline fun ResendableContent.asAudioMediaGroupContent(): AudioMediaGroupContent?
Link copied to clipboard
inline fun ResendableContent.asContactContent(): ContactContent?
Link copied to clipboard
inline fun ResendableContent.asDiceContent(): DiceContent?
Link copied to clipboard
inline fun ResendableContent.asDocumentContent(): DocumentContent?
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.asGameContent(): GameContent?
Link copied to clipboard
inline fun ResendableContent.asInvoiceContent(): InvoiceContent?
Link copied to clipboard
inline fun ResendableContent.asLiveLocationContent(): LiveLocationContent?
Link copied to clipboard
inline fun ResendableContent.asLocationContent(): LocationContent?
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
inline fun ResendableContent.asMessageContent(): MessageContent?
Link copied to clipboard
inline fun ResendableContent.asPhotoContent(): PhotoContent?
Link copied to clipboard
inline fun ResendableContent.asPollContent(): PollContent?
Link copied to clipboard
inline fun ResendableContent.asStaticLocationContent(): StaticLocationContent?
Link copied to clipboard
inline fun ResendableContent.asStickerContent(): StickerContent?
Link copied to clipboard
inline fun ResendableContent.asTextContent(): TextContent?
Link copied to clipboard
inline fun ResendableContent.asTextedMediaContent(): TextedMediaContent?
Link copied to clipboard
inline fun ResendableContent.asVenueContent(): VenueContent?
Link copied to clipboard
inline fun ResendableContent.asVideoContent(): VideoContent?
Link copied to clipboard
inline fun ResendableContent.asVideoNoteContent(): VideoNoteContent?
Link copied to clipboard
inline fun ResendableContent.asVisualMediaGroupContent(): VisualMediaGroupContent?
Link copied to clipboard
inline fun ResendableContent.asVoiceContent(): VoiceContent?
Link copied to clipboard
inline fun ResendableContent.audioContentOrNull(): AudioContent?
Link copied to clipboard
inline fun ResendableContent.audioContentOrThrow(): AudioContent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.contactContentOrNull(): ContactContent?
Link copied to clipboard
inline fun ResendableContent.contactContentOrThrow(): ContactContent
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
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.gameContentOrNull(): GameContent?
Link copied to clipboard
inline fun ResendableContent.gameContentOrThrow(): GameContent
Link copied to clipboard
inline fun <T> ResendableContent.ifAnimationContent(block: (AnimationContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifAudioContent(block: (AudioContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifAudioMediaGroupContent(block: (AudioMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifContactContent(block: (ContactContent) -> 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> ResendableContent.ifDocumentMediaGroupContent(block: (DocumentMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifGameContent(block: (GameContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifInvoiceContent(block: (InvoiceContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifLiveLocationContent(block: (LiveLocationContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifLocationContent(block: (LocationContent) -> 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> ResendableContent.ifMessageContent(block: (MessageContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifPhotoContent(block: (PhotoContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifPollContent(block: (PollContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifStaticLocationContent(block: (StaticLocationContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifStickerContent(block: (StickerContent) -> 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> ResendableContent.ifVenueContent(block: (VenueContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifVideoContent(block: (VideoContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifVideoNoteContent(block: (VideoNoteContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifVisualMediaGroupContent(block: (VisualMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.ifVoiceContent(block: (VoiceContent) -> T): T?
Link copied to clipboard
inline fun ResendableContent.invoiceContentOrNull(): InvoiceContent?
Link copied to clipboard
inline fun ResendableContent.invoiceContentOrThrow(): InvoiceContent
Link copied to clipboard
inline fun ResendableContent.liveLocationContentOrNull(): LiveLocationContent?
Link copied to clipboard
inline fun ResendableContent.liveLocationContentOrThrow(): LiveLocationContent
Link copied to clipboard
inline fun ResendableContent.locationContentOrNull(): LocationContent?
Link copied to clipboard
inline fun ResendableContent.locationContentOrThrow(): LocationContent
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
inline fun ResendableContent.messageContentOrNull(): MessageContent?
Link copied to clipboard
inline fun ResendableContent.messageContentOrThrow(): MessageContent
Link copied to clipboard
inline fun ResendableContent.photoContentOrNull(): PhotoContent?
Link copied to clipboard
inline fun ResendableContent.photoContentOrThrow(): PhotoContent
Link copied to clipboard
inline fun ResendableContent.pollContentOrNull(): PollContent?
Link copied to clipboard
inline fun ResendableContent.pollContentOrThrow(): PollContent
Link copied to clipboard
inline fun ResendableContent.requireAnimationContent(): AnimationContent
Link copied to clipboard
inline fun ResendableContent.requireAudioContent(): AudioContent
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireContactContent(): ContactContent
Link copied to clipboard
inline fun ResendableContent.requireDiceContent(): DiceContent
Link copied to clipboard
inline fun ResendableContent.requireDocumentContent(): DocumentContent
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireGameContent(): GameContent
Link copied to clipboard
inline fun ResendableContent.requireInvoiceContent(): InvoiceContent
Link copied to clipboard
inline fun ResendableContent.requireLiveLocationContent(): LiveLocationContent
Link copied to clipboard
inline fun ResendableContent.requireLocationContent(): LocationContent
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
inline fun ResendableContent.requireMessageContent(): MessageContent
Link copied to clipboard
inline fun ResendableContent.requirePhotoContent(): PhotoContent
Link copied to clipboard
inline fun ResendableContent.requirePollContent(): PollContent
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireStickerContent(): StickerContent
Link copied to clipboard
inline fun ResendableContent.requireTextContent(): TextContent
Link copied to clipboard
inline fun ResendableContent.requireTextedMediaContent(): TextedMediaContent
Link copied to clipboard
inline fun ResendableContent.requireVenueContent(): VenueContent
Link copied to clipboard
inline fun ResendableContent.requireVideoContent(): VideoContent
Link copied to clipboard
inline fun ResendableContent.requireVideoNoteContent(): VideoNoteContent
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.requireVoiceContent(): VoiceContent
Link copied to clipboard
inline fun ResendableContent.staticLocationContentOrNull(): StaticLocationContent?
Link copied to clipboard
Link copied to clipboard
inline fun ResendableContent.stickerContentOrNull(): StickerContent?
Link copied to clipboard
inline fun ResendableContent.stickerContentOrThrow(): StickerContent
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 ResendableContent.venueContentOrNull(): VenueContent?
Link copied to clipboard
inline fun ResendableContent.venueContentOrThrow(): VenueContent
Link copied to clipboard
inline fun ResendableContent.videoContentOrNull(): VideoContent?
Link copied to clipboard
inline fun ResendableContent.videoContentOrThrow(): VideoContent
Link copied to clipboard
inline fun ResendableContent.videoNoteContentOrNull(): VideoNoteContent?
Link copied to clipboard
inline fun ResendableContent.videoNoteContentOrThrow(): VideoNoteContent
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 <T> ResendableContent.whenAnimationContent(block: (AnimationContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenAudioContent(block: (AudioContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenAudioMediaGroupContent(block: (AudioMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenContactContent(block: (ContactContent) -> 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> ResendableContent.whenDocumentMediaGroupContent(block: (DocumentMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenGameContent(block: (GameContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenInvoiceContent(block: (InvoiceContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenLiveLocationContent(block: (LiveLocationContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenLocationContent(block: (LocationContent) -> 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> ResendableContent.whenMessageContent(block: (MessageContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenPhotoContent(block: (PhotoContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenPollContent(block: (PollContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenStaticLocationContent(block: (StaticLocationContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenStickerContent(block: (StickerContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenTextContent(block: (TextContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenTextedMediaContent(block: (TextedMediaContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenVenueContent(block: (VenueContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenVideoContent(block: (VideoContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenVideoNoteContent(block: (VideoNoteContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenVisualMediaGroupContent(block: (VisualMediaGroupContent) -> T): T?
Link copied to clipboard
inline fun <T> ResendableContent.whenVoiceContent(block: (VoiceContent) -> T): T?