MadelineProto/docs/TD_docs/constructors/updateChatTopMessage.md
2017-07-23 16:33:46 +02:00

912 B

title description
updateChatTopMessage Top message of the chat has changed

Constructor: updateChatTopMessage

Back to constructors index

Top message of the chat has changed

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier
top_message message Yes New top message of the chat, nullable

Type: Update

Example:

$updateChatTopMessage = ['_' => 'updateChatTopMessage', 'chat_id' => long, 'top_message' => message];

PWRTelegram json-encoded version:

{"_": "updateChatTopMessage", "chat_id": long, "top_message": message}

Or, if you're into Lua:

updateChatTopMessage={_='updateChatTopMessage', chat_id=long, top_message=message}