Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

editMessageCaption

Edit a caption


Description

Use this method to edit captions of messages.

Usage

editMessageCaption(chat_id = NULL, message_id = NULL,
  inline_message_id = NULL, caption = NULL, parse_mode = NULL,
  reply_markup = NULL)

Arguments

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.

caption

(Optional). New caption 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.

reply_markup

(Optional). A Reply Markup parameter object, it can be either:

Details

You can also use it's snake_case equivalent edit_message_caption.


telegram.bot

Develop a 'Telegram Bot' with R

v2.4.0
GPL-3
Authors
Ernest Benedito [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.