1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 23:59:38 +01:00
MadelineProto/old_docs/API_docs_v33/constructors/chatLocated.md

37 lines
585 B
Markdown
Raw Normal View History

---
title: chatLocated
description: chatLocated attributes, type and example
---
## Constructor: chatLocated
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|chat\_id|[int](../types/int.md) | Yes|
|distance|[int](../types/int.md) | Yes|
### Type: [ChatLocated](../types/ChatLocated.md)
### Example:
```
$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ];
```
Or, if you're into Lua:
```
chatLocated={_='chatLocated', chat_id=int, distance=int, }
```