MadelineProtoDocs/docs/PHPInternal/danog/MadelineProto/Wrappers/DialogHandler.md

60 lines
949 B
Markdown
Raw Normal View History

2020-10-15 18:42:54 +02:00
---
title: danog\MadelineProto\Wrappers\DialogHandler: Dialog handler.
description:
---
# `danog\MadelineProto\Wrappers\DialogHandler`
[Back to index](../../../index.md)
> Author: Daniil Gentili <daniil@daniil.it>
Dialog handler.
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
## Method list:
* `getDialogs(bool $force): \Generator`
* `getFullDialogs(bool $force): \Generator`
## Methods:
### `getDialogs(bool $force): \Generator`
Get dialog peers.
Parameters:
* `$force`: `bool` Whether to refetch all dialogs ignoring cache
Fully typed return value:
```
\Generator<int, \Amp\Promise<bool>, mixed, list<mixed>>
```
#### See also:
* `\Amp\Promise`
* `\Generator`
### `getFullDialogs(bool $force): \Generator`
Get full info of all dialogs.
Parameters:
* `$force`: `bool` Whether to refetch all dialogs ignoring cache
#### See also:
* `\Generator`
## Properties
* `$settings`: `\Settings` Settings