MadelineProto/docs/TD_docs/constructors/updateMessageEdited.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.4 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];

PWRTelegram json-encoded version:

{"_": "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.