MadelineProtoDocs/old_docs/API_docs_v1/constructors/messages.statedMessage.md
2020-06-16 17:50:25 +02:00

1.0 KiB

title description image redirect_from
messages.statedMessage messages.statedMessage attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/messages_statedMessage.html

Constructor: messages.statedMessage

Back to constructors index

Attributes:

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

Type: messages.StatedMessage

Example:

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

Or, if you're into Lua:

messages.statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, seq=int}