MadelineProto/old_docs/API_docs_v27/constructors/chatLocated.md
2017-07-23 16:33:46 +02:00

707 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}