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

1.2 KiB

title description
updateChatReplyMarkup Default chat reply markup has changed. It can happen because new message with reply markup has come or old reply markup was hidden by user

Constructor: updateChatReplyMarkup

Back to constructors index

Default chat reply markup has changed. It can happen because new message with reply markup has come or old reply markup was hidden by user

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier
reply_markup_message_id long Yes Identifier of the message from which reply markup need to be used or 0 if there is no default custom reply markup in the chat

Type: Update

Example:

$updateChatReplyMarkup = ['_' => 'updateChatReplyMarkup', 'chat_id' => long, 'reply_markup_message_id' => long];

PWRTelegram json-encoded version:

{"_": "updateChatReplyMarkup", "chat_id": long, "reply_markup_message_id": long}

Or, if you're into Lua:

updateChatReplyMarkup={_='updateChatReplyMarkup', chat_id=long, reply_markup_message_id=long}