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

Types

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

Functions

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