MadelineProto/old_docs/API_docs_v33/constructors/chatLocated.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}