1.1 KiB
1.1 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
Attributes:
Name | Type | Required |
---|---|---|
message | Message | Optional |
chats | Array of Chat | Yes |
users | Array of User | Yes |
pts | int | Yes |
pts_count | int | Yes |
Type: messages.StatedMessage
Example:
$messages.statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int];
Or, if you're into Lua:
messages.statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int}