1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 01:46:55 +01:00
MadelineProto/old_docs/API_docs_v27/constructors/geochats_statedMessage.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.0 KiB

title description
geochats.statedMessage geochats_statedMessage attributes, type and example

Constructor: geochats.statedMessage

Back to constructors index

Attributes:

Name Type Required
message GeoChatMessage Yes
chats Array of Chat Yes
users Array of User Yes
seq int Yes

Type: geochats_StatedMessage

Example:

$geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int];

PWRTelegram json-encoded version:

{"_": "geochats.statedMessage", "message": GeoChatMessage, "chats": [Chat], "users": [User], "seq": int}

Or, if you're into Lua:

geochats_statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int}