47 lines
727 B
Markdown
47 lines
727 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.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
---
|
||
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||
|
## Method list:
|
||
|
* `getAccept(): bool|int[]`
|
||
|
* `setAccept(bool|int[] $accept): self`
|
||
|
* `hasChanged(): bool`
|
||
|
|
||
|
## Methods:
|
||
|
### `getAccept(): bool|int[]`
|
||
|
|
||
|
Get boolean or array of IDs.
|
||
|
|
||
|
|
||
|
|
||
|
### `setAccept(bool|int[] $accept): self`
|
||
|
|
||
|
Set boolean or array of IDs.
|
||
|
|
||
|
|
||
|
Parameters:
|
||
|
* `$accept`: `bool|int[]` Boolean or array of IDs
|
||
|
|
||
|
|
||
|
|
||
|
### `hasChanged(): bool`
|
||
|
|
||
|
Get whether this setting was changed, also applies changes.
|
||
|
|
||
|
|
||
|
|