53 lines
898 B
Markdown
53 lines
898 B
Markdown
---
|
|
title: danog\MadelineProto\Settings\SecretChats: Secret chat settings.
|
|
description:
|
|
|
|
---
|
|
# `danog\MadelineProto\Settings\SecretChats`
|
|
[Back to index](../../../index.md)
|
|
|
|
> Author: Daniil Gentili <daniil@daniil.it>
|
|
|
|
|
|
Secret chat settings.
|
|
|
|
|
|
|
|
|
|
## Method list:
|
|
* `getAccept(): bool|int[]`
|
|
* `setAccept(bool|int[] $accept): self`
|
|
* `hasChanged(): bool`
|
|
|
|
## Methods:
|
|
### `getAccept(): bool|int[]`
|
|
|
|
Get boolean or array of IDs.
|
|
|
|
|
|
---
|
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
|
|
|
### `setAccept(bool|int[] $accept): self`
|
|
|
|
Set boolean or array of IDs.
|
|
|
|
|
|
Parameters:
|
|
* `$accept`: `bool|int[]` Boolean or array of IDs
|
|
|
|
|
|
---
|
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
|
|
|
### `hasChanged(): bool`
|
|
|
|
Get whether this setting was changed, also applies changes.
|
|
|
|
|
|
---
|
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|
|
|
|
---
|
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|