diff --git a/docs/docs/CONTRIB.md b/docs/docs/CONTRIB.md index c1c68991..fc3b2795 100644 --- a/docs/docs/CONTRIB.md +++ b/docs/docs/CONTRIB.md @@ -67,7 +67,7 @@ src/danog/MadelineProto/ Tools - Various tools (positive modulus, string2bin, python-like range) ``` -Check out the [Contribution guide](https://github.com/danog/MadelineProto/blob/master/CONTRIBUTING.md) before contributing. +Check out the [Contribution guide](https://github.com/danog/MadelineProto/blob/master/CONTRIBUTING.html) before contributing. Kiao by grizzly diff --git a/docs/docs/DIALOGS.md b/docs/docs/DIALOGS.md index fac4eff9..20f04df0 100644 --- a/docs/docs/DIALOGS.md +++ b/docs/docs/DIALOGS.md @@ -27,6 +27,6 @@ foreach ($MadelineProto->API->chats as $bot_api_id => $chat) { ``` Since bots cannot run `get_dialogs`, you must make use of the internal MadelineProto database to get a list of all users, chats and channels MadelineProto has seen. -`$MadelineProto->API->chats` contains a list of [Chat](../API_docs/types/Chat.md) and [User](../API_docs/types/User.md) objects, indexed by bot API id. +`$MadelineProto->API->chats` contains a list of [Chat](../API_docs/types/Chat.html) and [User](../API_docs/types/User.html) objects, indexed by bot API id.
\ No newline at end of file diff --git a/docs/docs/LOGGING.md b/docs/docs/LOGGING.md index b89e499b..6bfcee5c 100644 --- a/docs/docs/LOGGING.md +++ b/docs/docs/LOGGING.md @@ -1,6 +1,6 @@ # Logging -MadelineProto provides a unified class for logging messages to the logging destination defined in [settings](SETTINGS.md#settingslogger). +MadelineProto provides a unified class for logging messages to the logging destination defined in [settings](SETTINGS.html#settingslogger). ```php \danog\MadelineProto\Logger::log($message, $level); diff --git a/docs/docs/SECRET_CHATS.md b/docs/docs/SECRET_CHATS.md index 093e4587..9c0f743e 100644 --- a/docs/docs/SECRET_CHATS.md +++ b/docs/docs/SECRET_CHATS.md @@ -18,7 +18,7 @@ $secret_chat = $MadelineProto->request_secret_chat($InputUser); ## Accepting 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). +Secret chats are accepted or refused automatically, based on a value in the [settings](SETTINGS.html#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: diff --git a/docs/docs/SELF.md b/docs/docs/SELF.md index 2341d06e..bb83be01 100644 --- a/docs/docs/SELF.md +++ b/docs/docs/SELF.md @@ -6,6 +6,6 @@ $me = $MadelineProto->get_self(); \danog\MadelineProto\Logger::log("Hi ".$me['first_name']."!"); ``` -[`get_self`](https://docs.madelineproto.xyz/get_self.html) returns a [User object](API_docs/types/User.md) that contains info about the currently logged in user/bot, or false if the current instance is not logged in. +[`get_self`](https://docs.madelineproto.xyz/get_self.html) returns a [User object](../API_docs/types/User.html) that contains info about the currently logged in user/bot, or false if the current instance is not logged in. - \ No newline at end of file + diff --git a/docs/docs/SETTINGS.md b/docs/docs/SETTINGS.md index 2ad3b008..d2420664 100644 --- a/docs/docs/SETTINGS.md +++ b/docs/docs/SETTINGS.md @@ -184,7 +184,7 @@ Description: Connection, read and write timeout for sockets ### `$settings['connection_settings']['all']['proxy']` Default: `\Socket` -Description: The [proxy class](PROXY.md) to use. +Description: The [proxy class](PROXY.html) to use. ### `$settings['connection_settings']['all']['proxy_extra']` Default: `[]` @@ -316,7 +316,7 @@ Upload settings ### `$settings['upload']['allow_automatic_uploads']` Default: `true` -Description: If false, [disables automatic upload from file path in constructors](FILES.md) +Description: If false, [disables automatic upload from file path in constructors](FILES.html)