mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-11-30 04:39:42 +01:00
23 lines
473 B
Markdown
23 lines
473 B
Markdown
---
|
|
title: getFullDialogs
|
|
description: getFullDialogs parameters, return type and example
|
|
redirect_from: /get_full_dialogs.html
|
|
grand_parent: "Telegram RPC API"
|
|
parent: "Methods"
|
|
---
|
|
## Method: getDialogs
|
|
|
|
Gets full list of dialogs
|
|
|
|
### Return type: Array of [Dialog objects](API_docs/types/Dialog.html)
|
|
|
|
### Example ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
|
|
|
|
|
```php
|
|
$Dialogs = $MadelineProto->getFullDialogs();
|
|
```
|
|
|
|
Or, if you're into Lua:
|
|
|