# editMessageMedia - docs

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

# editMessageMedia

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