Package dev.inmo.tgbotapi.types.message.content.media

Types

AnimationContent
Link copied to clipboard
common
data class AnimationContent(media: AnimationFile, includedDocument: DocumentFile?, caption: String?, captionEntities: List<TextPart>) : MediaContent, CaptionedInput
AudioContent
Link copied to clipboard
common
data class AudioContent(media: AudioFile, caption: String?, captionEntities: List<TextPart>) : AudioMediaGroupContent
DocumentContent
Link copied to clipboard
common
data class DocumentContent(media: DocumentFile, caption: String?, captionEntities: List<TextPart>) : DocumentMediaGroupContent
PhotoContent
Link copied to clipboard
common
data class PhotoContent(mediaCollection: Photo, caption: String?, captionEntities: List<TextPart>) : MediaCollectionContent<PhotoSize> , VisualMediaGroupContent
StickerContent
Link copied to clipboard
common
data class StickerContent(media: Sticker) : MediaContent
VideoContent
Link copied to clipboard
common
data class VideoContent(media: VideoFile, caption: String?, captionEntities: List<TextPart>) : VisualMediaGroupContent
VideoNoteContent
Link copied to clipboard
common
data class VideoNoteContent(media: VideoNoteFile) : MediaContent
VoiceContent
Link copied to clipboard
common
data class VoiceContent(media: VoiceFile, caption: String?, captionEntities: List<TextPart>) : MediaContent, CaptionedInput

Functions

asDocumentContent
Link copied to clipboard
common
inline fun MediaContent.asDocumentContent(): DocumentContent