1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 21:07:47 +01:00
MadelineProto/old_docs/API_docs_v33/constructors/chatLocated.md
2017-07-23 16:11:02 +02:00

710 B

title description
chatLocated chatLocated attributes, type and example

Constructor: chatLocated

Back to constructors index

Attributes:

Name Type Required
chat_id int Yes
distance int Yes

Type: ChatLocated

Example:

$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ];

PWRTelegram json-encoded version:

{"_":"chatLocated","chat_id":"int","distance":"int"}

Or, if you're into Lua:

chatLocated={_='chatLocated', chat_id=int, distance=int, }