MadelineProtoDocs/docs/getFullDialogs.md

25 lines
465 B
Markdown
Raw Permalink Normal View History

2019-06-04 23:39:00 +02:00
---
2020-01-05 17:55:38 +01:00
title: getFullDialogs
description: getFullDialogs parameters, return type and example
redirect_from: /get_full_dialogs.html
2019-06-04 23:39:00 +02:00
---
2020-01-05 17:55:38 +01:00
## Method: getDialogs
2019-06-04 23:39:00 +02:00
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
```