1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 11:26:56 +01:00
MadelineProto/docs/TD_docs/constructors/messagePinMessage.md
2017-07-23 16:11:02 +02:00

796 B

title description
messagePinMessage Some message was pinned

Constructor: messagePinMessage

Back to constructors index

Some message was pinned

Attributes:

Name Type Required Description
message_id long Yes Identifier of the pinned message, can be identifier of the deleted message

Type: MessageContent

Example:

$messagePinMessage = ['_' => 'messagePinMessage', 'message_id' => long, ];

PWRTelegram json-encoded version:

{"_":"messagePinMessage","message_id":"long"}

Or, if you're into Lua:

messagePinMessage={_='messagePinMessage', message_id=long, }