MadelineProto/docs/TD_docs/constructors/messagePinMessage.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}