Use this method to edit captions of messages sent by the bot or via the bot (for
inline bots). On success, if edited message is sent by the bot, the edited
Message is returned, otherwise
True is returned.
Values inside $content:
Parameters |
Type |
Required |
Description |
chat_id |
Integer or String |
No |
Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername ) |
message_id |
Integer |
No |
Required if inline_message_id is not specified. Unique identifier of the sent message |
inline_message_id |
String |
No |
Required if chat_id and message_id are not specified. Identifier of the inline message |
caption |
String |
Optional |
New caption of the message |
reply_markup |
InlineKeyboardMarkup |
Optional |
A JSON-serialized object for an inline keyboard. |
\param $content the request parameters as array
\return the JSON Telegram's reply