# com.github.insanusmokrassar.TelegramBotAPI.extensions.api.edit.media - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.edit.media

## Package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.edit.media

### Functions

(common)

#### editMessageCaption

`suspend fun RequestsExecutor.editMessageCaption(inlineMessageId: InlineMessageIdentifier, media: InputMedia, replyMarkup: InlineKeyboardMarkup? = null): Boolean`

(common)

#### editMessageMedia

`suspend fun RequestsExecutor.editMessageMedia(chatId: ChatIdentifier, messageId: MessageIdentifier, media: InputMedia, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>`
`suspend fun RequestsExecutor.editMessageMedia(chat: Chat, messageId: MessageIdentifier, media: InputMedia, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>`
`suspend fun RequestsExecutor.editMessageMedia(message: ContentMessage<out MediaContent>, media: InputMedia, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>`