MadelineProtoDocs/docs/PHP/danog/MadelineProto/Settings/SecretChats.md

48 lines
798 B
Markdown
Raw Normal View History

2020-10-15 18:42:54 +02:00
---
title: danog\MadelineProto\Settings\SecretChats: Secret chat settings.
description:
2020-10-16 11:57:00 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2020-10-15 18:42:54 +02:00
---
# `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.
### `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.
2020-10-15 19:11:10 +02:00
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)