1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 06:56:55 +01:00
MadelineProto/docs/TD_docs/constructors/updateMessageEdited.md

1.2 KiB

title description
updateMessageEdited Message was edited. Changes in the message content will come in a separate updateMessageContent

Constructor: updateMessageEdited

Back to constructors index

Message was edited. Changes in the message content will come in a separate updateMessageContent

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier
message_id long Yes Message identifier
edit_date int Yes Date the message was edited, unix time
reply_markup ReplyMarkup Yes New message reply markup, nullable

Type: Update

Example:

$updateMessageEdited = ['_' => 'updateMessageEdited', 'chat_id' => long, 'message_id' => long, 'edit_date' => int, 'reply_markup' => ReplyMarkup, ];

Or, if you're into Lua:

updateMessageEdited={_='updateMessageEdited', chat_id=long, message_id=long, edit_date=int, reply_markup=ReplyMarkup, }

Usage of reply_markup

You can provide bot API reply_markup objects here.