edit_inline_caption()¶
-
Client.
edit_inline_caption
()¶ Edit the caption of inline media messages.
- Parameters
inline_message_id (
str
) – Identifier of the inline message.caption (
str
) – New caption of the media message.parse_mode (
str
, optional) – By default, texts are parsed using both Markdown and HTML styles. You can combine both syntaxes together. Pass “markdown” or “md” to enable Markdown-style parsing only. Pass “html” to enable HTML-style parsing only. Pass None to completely disable style parsing.reply_markup (
InlineKeyboardMarkup
, optional) – An InlineKeyboardMarkup object.
- Returns
bool
– On success, True is returned.
Example
# Bots only app.edit_inline_caption(inline_message_id, "new media caption")