# CaptionedInput - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts / CaptionedInput

# CaptionedInput

(common) `interface CaptionedInput : Captioned` (source)

### Properties

(common)

#### captionEntities

Not full list of entities. This list WILL NOT contain TextParts with com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.RegularTextSource

`abstract val captionEntities: List<TextPart>`

### Extension Functions

(common)

#### fullEntitiesList

Convert its CaptionedInput.captionEntities to list of com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.TextSource with com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.RegularTextSource

`fun CaptionedInput.fullEntitiesList(): FullTextSourcesList`

(common)

#### toHtmlCaptions

`fun CaptionedInput.toHtmlCaptions(): List<String>`

(common)

#### toMarkdownCaptions

`fun CaptionedInput.toMarkdownCaptions(): List<String>`

(common)

#### toMarkdownV2Captions

`fun CaptionedInput.toMarkdownV2Captions(): List<String>`

### Inheritors

(common)

#### AnimationContent

`data class AnimationContent : MediaContent, CaptionedInput`

(common)

#### AudioContent

`data class AudioContent : MediaContent, CaptionedInput`

(common)

#### DocumentContent

`data class DocumentContent : MediaContent, CaptionedInput`

(common)

#### Game

`data class Game : Titled, CaptionedInput`

(common)

#### MediaGroupContent

`interface MediaGroupContent : MediaContent, CaptionedInput`

(common)

#### QuizPoll

`data class QuizPoll : Poll, CaptionedInput, ExplainedInput`

(common)

#### VoiceContent

`data class VoiceContent : MediaContent, CaptionedInput`