2019-06-04 23:39:00 +02:00
|
|
|
---
|
|
|
|
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
|
2019-10-29 22:23:35 +01:00
|
|
|
$Dialogs = yield $MadelineProto->getFullDialogs();
|
2019-06-04 23:39:00 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
2019-10-29 22:23:35 +01:00
|
|
|
Dialogs = getFullDialogs()
|
2019-06-04 23:39:00 +02:00
|
|
|
```
|
|
|
|
|