MadelineProtoDocs/docs/getFullDialogs.md
2020-01-05 17:55:38 +01:00

25 lines
465 B
Markdown

---
title: getFullDialogs
description: getFullDialogs parameters, return type and example
redirect_from: /get_full_dialogs.html
---
## Method: getDialogs
Gets full list of dialogs
### Return type: Array of [Dialog objects](API_docs/types/Dialog.md)
### Example ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
```php
$Dialogs = yield $MadelineProto->getFullDialogs();
```
Or, if you're into Lua:
```lua
Dialogs = getFullDialogs()
```