Package dev. inmo. tgbotapi. types. message. content
Types
Link copied to clipboard
data class AnimationContent( val media: AnimationFile, val includedDocument: DocumentFile?, val text: String?, val textSources: TextSourcesList = emptyList()) : TextedMediaContent
Content copied to clipboard
Link copied to clipboard
data class AudioContent( val media: AudioFile, val text: String? = null, val textSources: TextSourcesList = emptyList()) : AudioMediaGroupContent
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class DocumentContent( val media: DocumentFile, val text: String? = null, val textSources: TextSourcesList = emptyList()) : DocumentMediaGroupContent
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class LiveLocationContent(val location: LiveLocation) : LocationContent
Content copied to clipboard
LocationContent which represents content with LiveLocation. In case you are tracking this content throw message changes, may evolve to StaticLocationContent
Link copied to clipboard
MessageContent with location. This interface contains copy method for cases when you do not want to use some class casts for copying of content
Link copied to clipboard
KSerializer for LocationContent
Link copied to clipboard
interface MediaCollectionContent<T : TelegramMediaFile> : MessageContent, MediaContent
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PhotoContent( val mediaCollection: Photo, val text: String? = null, val textSources: TextSourcesList = emptyList()) : MediaCollectionContent<PhotoSize> , VisualMediaGroupContent
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class StaticLocationContent(val location: StaticLocation) : LocationContent
Content copied to clipboard
Just a LocationContent with StaticLocation. It could be LiveLocationContent in previous time in case when somebody has sent LiveLocation in chat and then stop to broadcast location
Link copied to clipboard
Link copied to clipboard
data class TextContent(val text: String, val textSources: TextSourcesList = emptyList()) : MessageContent, TextedInput
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class VideoContent( val media: VideoFile, val text: String? = null, val textSources: TextSourcesList = emptyList()) : VisualMediaGroupContent
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class VoiceContent( val media: VoiceFile, val text: String? = null, val textSources: TextSourcesList = emptyList()) : TextedMediaContent
Content copied to clipboard