diff --git a/docs/API_docs/methods/channels_readMessageContents.md b/docs/API_docs/methods/channels_readMessageContents.md index 1c14553a..e6401f3c 100644 --- a/docs/API_docs/methods/channels_readMessageContents.md +++ b/docs/API_docs/methods/channels_readMessageContents.md @@ -16,7 +16,7 @@ description: channels.readMessageContents parameters, return type and example ### Return type: [Bool](../types/Bool.md) -### Can bots use this method: **YES** +### Can bots use this method: **NO** ### Errors this method can return: @@ -31,9 +31,6 @@ description: channels.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); -if (isset($token)) { // Login as a bot - $MadelineProto->bot_login($token); -} if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); echo 'Enter the code you received: '; @@ -49,15 +46,6 @@ $Bool = $MadelineProto->channels->readMessageContents(['channel' => InputChannel Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): -### As a bot: - -POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` - -Parameters: - -* method - channels.readMessageContents -* params - `{"channel": InputChannel, "id": [int], }` - ### As a user: