60 lines
949 B
Markdown
60 lines
949 B
Markdown
|
---
|
||
|
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
|