MadelineProtoDocs/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1.3 KiB

title description image
messages.statedMessageLink messages_statedMessageLink attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messages.statedMessageLink

Back to constructors index

Attributes:

Name Type Required
message Message Optional
chats Array of Chat Yes
users Array of User Yes
links Array of contacts_Link Yes
pts int Yes
seq int Yes

Type: messages_StatedMessage

Example:

$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts_Link, contacts_Link], 'pts' => int, 'seq' => int];

PWRTelegram json-encoded version:

{"_": "messages.statedMessageLink", "message": Message, "chats": [Chat], "users": [User], "links": [contacts_Link], "pts": int, "seq": int}

Or, if you're into Lua:

messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int}