# TelegramMediaFile - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.types.files.abstracts / TelegramMediaFile

# TelegramMediaFile

(common) `interface TelegramMediaFile` (source)

Declare common part of media files in Telegram. Note: it is not representation of JVM `File` type

### Properties

(common)

#### fileId

`abstract val fileId: FileId`

(common)

#### fileSize

`abstract val fileSize: Long?`

(common)

#### fileUniqueId

`abstract val fileUniqueId: FileUniqueId`

### Inheritors

(common)

#### AnimationFile

`data class AnimationFile : TelegramMediaFile, MimedMediaFile, ThumbedMediaFile, PlayableMediaFile, CustomNamedMediaFile, SizedMediaFile`

(common)

#### AudioFile

`data class AudioFile : TelegramMediaFile, MimedMediaFile, ThumbedMediaFile, PlayableMediaFile, TitledMediaFile, Performerable`

(common)

#### DocumentFile

`data class DocumentFile : TelegramMediaFile, MimedMediaFile, ThumbedMediaFile, CustomNamedMediaFile`

(common)

#### File

`data class File : TelegramMediaFile`

(common)

#### MimedMediaFile

`interface MimedMediaFile : TelegramMediaFile, MimeTyped`

(common)

#### PathedFile

`data class PathedFile : TelegramMediaFile`

(common)

#### PlayableMediaFile

`interface PlayableMediaFile : TelegramMediaFile`

(common)

#### SizedMediaFile

`interface SizedMediaFile : TelegramMediaFile`

(common)

#### Sticker

`data class Sticker : TelegramMediaFile, SizedMediaFile, ThumbedMediaFile`

(common)

#### ThumbedMediaFile

`interface ThumbedMediaFile : TelegramMediaFile`

(common)

#### VideoFile

`data class VideoFile : TelegramMediaFile, MimedMediaFile, ThumbedMediaFile, PlayableMediaFile, SizedMediaFile`

(common)

#### VideoNoteFile

`data class VideoNoteFile : TelegramMediaFile, ThumbedMediaFile, PlayableMediaFile, SizedMediaFile`

(common)

#### VoiceFile

`data class VoiceFile : TelegramMediaFile, MimedMediaFile, PlayableMediaFile`