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

Types

Link copied to clipboard
data class AnimationContent(media: AnimationFile, includedDocument: DocumentFile?, text: String?, textSources: TextSourcesList) : MediaContent, TextedInput
Link copied to clipboard
data class AudioContent(media: AudioFile, text: String?, textSources: TextSourcesList) : AudioMediaGroupContent
Link copied to clipboard
data class DocumentContent(media: DocumentFile, text: String?, textSources: TextSourcesList) : DocumentMediaGroupContent
Link copied to clipboard
data class PhotoContent(mediaCollection: Photo, text: String?, textSources: TextSourcesList) : MediaCollectionContent<PhotoSize> , VisualMediaGroupContent
Link copied to clipboard
data class StickerContent(media: Sticker) : MediaContent
Link copied to clipboard
data class VideoContent(media: VideoFile, text: String?, textSources: TextSourcesList) : VisualMediaGroupContent
Link copied to clipboard
data class VideoNoteContent(media: VideoNoteFile) : MediaContent
Link copied to clipboard
data class VoiceContent(media: VoiceFile, text: String?, textSources: TextSourcesList) : MediaContent, TextedInput

Functions

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