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

793 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}