1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 04:35:12 +01:00

Fix references to settings

This commit is contained in:
Daniil Gentili 2018-03-20 12:20:11 +00:00
parent 71086833e9
commit 454b926086
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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: