# dev.inmo.tgbotapi.types.media

docs

# Package dev.inmo.tgbotapi.types.media

## Types

AudioMediaGroupMemberTelegramMedia
Link copied to clipboard
interface AudioMediaGroupMemberTelegramMedia : MediaGroupMemberTelegramMedia
Content copied to clipboard
DocumentMediaGroupMemberTelegramMedia
Link copied to clipboard
interface DocumentMediaGroupMemberTelegramMedia : MediaGroupMemberTelegramMedia
Content copied to clipboard
DuratedTelegramMedia
Link copied to clipboard
interface DuratedTelegramMedia : TelegramMedia
Content copied to clipboard
MediaGroupMemberTelegramMedia
Link copied to clipboard
interface MediaGroupMemberTelegramMedia : TelegramMedia, TextedOutput
Content copied to clipboard
MediaGroupMemberTelegramMediaSerializer
Link copied to clipboard
object MediaGroupMemberTelegramMediaSerializer : KSerializer< MediaGroupMemberTelegramMedia >
Content copied to clipboard
SizedTelegramMedia
Link copied to clipboard
interface SizedTelegramMedia : TelegramMedia
Content copied to clipboard
TelegramMedia
Link copied to clipboard
interface TelegramMedia
Content copied to clipboard
TelegramMediaAnimation
Link copied to clipboard
data class TelegramMediaAnimation : TelegramMedia, SizedTelegramMedia, DuratedTelegramMedia, ThumbedTelegramMedia, TextedOutput
Content copied to clipboard
TelegramMediaAudio
Link copied to clipboard
data class TelegramMediaAudio : TelegramMedia, AudioMediaGroupMemberTelegramMedia, DuratedTelegramMedia, ThumbedTelegramMedia, TitledTelegramMedia, Performerable
Content copied to clipboard
TelegramMediaDocument
Link copied to clipboard
data class TelegramMediaDocument : TelegramMedia, DocumentMediaGroupMemberTelegramMedia, ThumbedTelegramMedia
Content copied to clipboard

Represents a general file to be sent. See https://core.telegram.org/bots/api#inputmediadocument

TelegramMediaPhoto
Link copied to clipboard
data class TelegramMediaPhoto : TelegramMedia, VisualMediaGroupMemberTelegramMedia
Content copied to clipboard
TelegramMediaSerializer
Link copied to clipboard
object TelegramMediaSerializer : KSerializer< TelegramMedia >
Content copied to clipboard
TelegramMediaVideo
Link copied to clipboard
data class TelegramMediaVideo : TelegramMedia, SizedTelegramMedia, DuratedTelegramMedia, ThumbedTelegramMedia, VisualMediaGroupMemberTelegramMedia
Content copied to clipboard
ThumbedTelegramMedia
Link copied to clipboard
interface ThumbedTelegramMedia : TelegramMedia
Content copied to clipboard
TitledTelegramMedia
Link copied to clipboard
interface TitledTelegramMedia : TelegramMedia
Content copied to clipboard
VisualMediaGroupMemberTelegramMedia
Link copied to clipboard
interface VisualMediaGroupMemberTelegramMedia : MediaGroupMemberTelegramMedia
Content copied to clipboard

## Functions

TelegramMediaAnimation
Link copied to clipboard
fun TelegramMediaAnimation ( file: InputFile , entities: TextSourcesList , width: Int ? = null, height: Int ? = null, duration: Long ? = null, thumb: InputFile ? = null): TelegramMediaAnimation
Content copied to clipboard
fun TelegramMediaAnimation ( file: InputFile , text: String ? = null, parseMode: ParseMode ? = null, width: Int ? = null, height: Int ? = null, duration: Long ? = null, thumb: InputFile ? = null): TelegramMediaAnimation
Content copied to clipboard
TelegramMediaAudio
Link copied to clipboard
fun TelegramMediaAudio ( file: InputFile , entities: TextSourcesList , duration: Long ? = null, performer: String ? = null, title: String ? = null, thumb: InputFile ? = null): TelegramMediaAudio
Content copied to clipboard
fun TelegramMediaAudio ( file: InputFile , text: String ? = null, parseMode: ParseMode ? = null, duration: Long ? = null, performer: String ? = null, title: String ? = null, thumb: InputFile ? = null): TelegramMediaAudio
Content copied to clipboard
TelegramMediaDocument
Link copied to clipboard
fun TelegramMediaDocument ( file: InputFile , entities: TextSourcesList , thumb: InputFile ? = null, disableContentTypeDetection: Boolean ? = null): TelegramMediaDocument
Content copied to clipboard
fun TelegramMediaDocument ( file: InputFile , text: String ? = null, parseMode: ParseMode ? = null, thumb: InputFile ? = null, disableContentTypeDetection: Boolean ? = null): TelegramMediaDocument
Content copied to clipboard
TelegramMediaPhoto
Link copied to clipboard
fun TelegramMediaPhoto (file: InputFile , entities: TextSourcesList ): TelegramMediaPhoto
Content copied to clipboard
fun TelegramMediaPhoto ( file: InputFile , text: String ? = null, parseMode: ParseMode ? = null): TelegramMediaPhoto
Content copied to clipboard
TelegramMediaVideo
Link copied to clipboard
fun TelegramMediaVideo ( file: InputFile , entities: TextSourcesList , width: Int ? = null, height: Int ? = null, duration: Long ? = null, thumb: InputFile ? = null): TelegramMediaVideo
Content copied to clipboard
fun TelegramMediaVideo ( file: InputFile , text: String ? = null, parseMode: ParseMode ? = null, width: Int ? = null, height: Int ? = null, duration: Long ? = null, thumb: InputFile ? = null): TelegramMediaVideo
Content copied to clipboard
toTelegramMediaAudio
Link copied to clipboard
fun AudioFile . toTelegramMediaAudio (textSources: TextSourcesList = emptyList(), title: String ? = this.title): TelegramMediaAudio
Content copied to clipboard
fun AudioFile . toTelegramMediaAudio ( text: String ? = null, parseMode: ParseMode ? = null, title: String ? = this.title): TelegramMediaAudio
Content copied to clipboard
toTelegramMediaDocument
Link copied to clipboard
fun DocumentFile . toTelegramMediaDocument (textSources: TextSourcesList = emptyList()): TelegramMediaDocument
Content copied to clipboard
fun DocumentFile . toTelegramMediaDocument (text: String ? = null, parseMode: ParseMode ? = null): TelegramMediaDocument
Content copied to clipboard
toTelegramMediaPhoto
Link copied to clipboard
fun PhotoSize . toTelegramMediaPhoto (textSources: TextSourcesList = emptyList()): TelegramMediaPhoto
Content copied to clipboard
fun PhotoSize . toTelegramMediaPhoto (text: String ? = null, parseMode: ParseMode ? = null): TelegramMediaPhoto
Content copied to clipboard