Skip to content

editMessageCaption

Sahri Riza Umami edited this page Dec 8, 2016 · 3 revisions

Edits message content caption.

editMessageCaption(chat_id, message_id, reply_markup, caption)

Non-bots can edit message in a limited period of time.
Returns edited message after edit is complete server side.

Option Description
chat_id Chat the message belongs to.
message_id Identifier of the message.
reply_markup Bots only. New message reply markup.
caption New message content caption, 0-200 characters.

Example

editMessageCaption(1234567890, 212, nil, 'This is a caption')

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally