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

Types

AnimationContent
Link copied to clipboard
common
data class AnimationContent(media: AnimationFile, includedDocument: DocumentFile?, text: String?, textSources: TextSourcesList) : MediaContent, CaptionedInput, TextedInput
AudioContent
Link copied to clipboard
common
data class AudioContent(media: AudioFile, text: String?, textSources: TextSourcesList) : AudioMediaGroupContent
DocumentContent
Link copied to clipboard
common
data class DocumentContent(media: DocumentFile, text: String?, textSources: TextSourcesList) : DocumentMediaGroupContent
PhotoContent
Link copied to clipboard
common
data class PhotoContent(mediaCollection: Photo, text: String?, textSources: TextSourcesList) : 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, text: String?, textSources: TextSourcesList) : VisualMediaGroupContent
VideoNoteContent
Link copied to clipboard
common
data class VideoNoteContent(media: VideoNoteFile) : MediaContent
VoiceContent
Link copied to clipboard
common
data class VoiceContent(media: VoiceFile, text: String?, textSources: TextSourcesList) : MediaContent, CaptionedInput, TextedInput

Functions

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