MadelineProtoDocs/old_docs/API_docs_v27/constructors/chatLocated.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

814 B

title description image
chatLocated Chat located https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: chatLocated

Back to constructors index

Chat located

Attributes:

Name Type Required Description
chat_id int Yes Chat ID
distance int Yes Distance

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}