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

Types

Link copied to clipboard
data class AnimationContent(media: AnimationFile, includedDocument: DocumentFile?, text: String?, textSources: TextSourcesList) : TextedMediaContent
Link copied to clipboard
data class AudioContent(media: AudioFile, text: String?, textSources: TextSourcesList) : AudioMediaGroupContent
Link copied to clipboard
interface AudioMediaGroupContent : MediaGroupContent
Link copied to clipboard
data class DocumentContent(media: DocumentFile, text: String?, textSources: TextSourcesList) : DocumentMediaGroupContent
Link copied to clipboard
interface DocumentMediaGroupContent : MediaGroupContent
Link copied to clipboard
interface MediaGroupContent : TextedMediaContent
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
interface TextedMediaContent : MediaContent, TextedInput
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
interface VisualMediaGroupContent : MediaGroupContent
Link copied to clipboard
data class VoiceContent(media: VoiceFile, text: String?, textSources: TextSourcesList) : TextedMediaContent

Functions

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