MadelineProtoDocs/docs/getFullDialogs.md

24 lines
432 B
Markdown

---
title: get_full_dialogs
description: get_full_dialogs parameters, return type and example
---
## Method: get_dialogs
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()
```