mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 02:34:39 +01:00
Fix references to settings
This commit is contained in:
parent
71086833e9
commit
454b926086
@ -1,6 +1,6 @@
|
|||||||
# Logging
|
# Logging
|
||||||
|
|
||||||
MadelineProto provides a unified class for logging messages to the logging destination defined in [settings](SETTINGS.md).
|
MadelineProto provides a unified class for logging messages to the logging destination defined in [settings](SETTINGS.md#settingslogger).
|
||||||
|
|
||||||
```php
|
```php
|
||||||
\danog\MadelineProto\Logger::log($message, $level);
|
\danog\MadelineProto\Logger::log($message, $level);
|
||||||
|
@ -18,7 +18,7 @@ Use [`request_secret_chat`] requests a secret secret chat to the [InputUser](htt
|
|||||||
|
|
||||||
## Accepting secret chats
|
## Accepting secret chats
|
||||||
|
|
||||||
Secret chats are accepted or refused automatically, based on a value in the [settings](SETTINGS.md) (by default MadelineProto is set to accept all secret chats).
|
Secret chats are accepted or refused automatically, based on a value in the [settings](SETTINGS.md#settingssecret_chatsaccept_chats) (by default MadelineProto is set to accept all secret chats).
|
||||||
|
|
||||||
Before sending any message, you must check if the secret chat was accepted by the other client with the following method:
|
Before sending any message, you must check if the secret chat was accepted by the other client with the following method:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user