MadelineProtoDocs/old_docs/API_docs_v25/constructors/messages_statedMessage.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.2 KiB

title description image
messages.statedMessage Stated message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messages.statedMessage

Back to constructors index

Stated message

Attributes:

Name Type Required Description
message Message Optional Message
chats Array of Chat Yes Chats
users Array of User Yes Users
pts int Yes Pts
pts_count int Yes Pts count

Type: messages_StatedMessage

Example:

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

PWRTelegram json-encoded version:

{"_": "messages.statedMessage", "message": Message, "chats": [Chat], "users": [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}