Package dev. inmo. tgbotapi. types. message. content. media
Types
AnimationContent
Link copied to clipboard
data class AnimationContent(media: AnimationFile, includedDocument: DocumentFile?, caption: String?, captionEntities: List<TextPart>) : MediaContent, CaptionedInput
Content copied to clipboard
AudioContent
Link copied to clipboard
data class AudioContent(media: AudioFile, caption: String?, captionEntities: List<TextPart>) : AudioMediaGroupContent
Content copied to clipboard
DocumentContent
Link copied to clipboard
data class DocumentContent(media: DocumentFile, caption: String?, captionEntities: List<TextPart>) : DocumentMediaGroupContent
Content copied to clipboard
PhotoContent
Link copied to clipboard
data class PhotoContent(mediaCollection: Photo, caption: String?, captionEntities: List<TextPart>) : MediaCollectionContent<PhotoSize> , VisualMediaGroupContent
Content copied to clipboard
StickerContent
Link copied to clipboard
VideoContent
Link copied to clipboard
data class VideoContent(media: VideoFile, caption: String?, captionEntities: List<TextPart>) : VisualMediaGroupContent
Content copied to clipboard
VideoNoteContent
Link copied to clipboard
VoiceContent
Link copied to clipboard
data class VoiceContent(media: VoiceFile, caption: String?, captionEntities: List<TextPart>) : MediaContent, CaptionedInput
Content copied to clipboard
Functions
asDocumentContent
Link copied to clipboard