# com.github.insanusmokrassar.TelegramBotAPI.types.InputMedia - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.types.InputMedia

## Package com.github.insanusmokrassar.TelegramBotAPI.types.InputMedia

### Types

(common)

#### DuratedInputMedia

`interface DuratedInputMedia : InputMedia`

(common)

#### InputMedia

`interface InputMedia`

(common)

#### InputMediaAnimation

`data class InputMediaAnimation : InputMedia, SizedInputMedia, DuratedInputMedia, ThumbedInputMedia, CaptionedOutput`

(common)

#### InputMediaAudio

`data class InputMediaAudio : InputMedia, DuratedInputMedia, ThumbedInputMedia, TitledInputMedia, CaptionedOutput, Performerable`

(common)

#### InputMediaDocument

`data class InputMediaDocument : InputMedia, ThumbedInputMedia, CaptionedOutput`

(common)

#### InputMediaPhoto

`data class InputMediaPhoto : InputMedia, MediaGroupMemberInputMedia`

(common)

#### InputMediaVideo

`data class InputMediaVideo : InputMedia, SizedInputMedia, DuratedInputMedia, ThumbedInputMedia, MediaGroupMemberInputMedia`

(common)

#### MediaGroupMemberInputMedia

`interface MediaGroupMemberInputMedia : InputMedia, CaptionedOutput`

(common)

#### SizedInputMedia

`interface SizedInputMedia : InputMedia`

(common)

#### ThumbedInputMedia

`interface ThumbedInputMedia : InputMedia`

(common)

#### TitledInputMedia

`interface TitledInputMedia : InputMedia`

### Extensions for External Classes

(common)

#### kotlin.String

### Functions

(common)

#### toInputMediaPhoto

`fun PhotoSize.toInputMediaPhoto(caption: String? = null, parseMode: ParseMode? = null): InputMediaPhoto`