editMessageText | R Documentation |
Use this method to edit text messages.
editMessageText( chat_id = NULL, message_id = NULL, inline_message_id = NULL, text, parse_mode = NULL, disable_web_page_preview = NULL, reply_markup = NULL )
chat_id |
(Optional). Unique identifier for the target chat or username of the target channel. |
message_id |
(Optional). Required if inline_message_id is not specified. Identifier of the sent message. |
inline_message_id |
(Optional). Required if chat_id and message_id are not specified. Identifier of the inline message. |
text |
New text of the message. |
parse_mode |
(Optional). Send 'Markdown' or 'HTML', if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message. |
disable_web_page_preview |
(Optional). Disables link previews for links in this message. |
reply_markup |
(Optional). A Reply Markup parameter object, it can be either:
|
You can also use it's snake_case equivalent
edit_message_text
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.