MadelineProtoDocs/old_docs/API_docs_v25/constructors/messages_statedMessage.md

1.0 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];

Or, if you're into Lua:

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