diff --git a/docs/PHP/danog/MadelineProto/RPCError/ChatForbiddenError.md b/docs/PHP/danog/MadelineProto/RPCError/ChatForbiddenError.md index 1c942ceca1..68c8bd205b 100644 --- a/docs/PHP/danog/MadelineProto/RPCError/ChatForbiddenError.md +++ b/docs/PHP/danog/MadelineProto/RPCError/ChatForbiddenError.md @@ -1,6 +1,6 @@ --- -title: "danog\\MadelineProto\\RPCError\\ChatForbiddenError: Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise." -description: "\nAlways check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.\n" +title: "danog\\MadelineProto\\RPCError\\ChatForbiddenError: This chat is not available to the current user." +description: "\nNote: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.\n\nAlways check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.\n" image: "https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png" parent: "MadelineProto API" @@ -11,9 +11,11 @@ parent: "MadelineProto API" > Author: Daniil Gentili -Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise. +This chat is not available to the current user. +Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise. + Always check the changelog when upgrading, and use tools like Psalm to easily upgrade your code. diff --git a/docs/PHP/danog/MadelineProto/RPCError/FileTokenInvalidError.md b/docs/PHP/danog/MadelineProto/RPCError/FileTokenInvalidError.md index 08b0173032..2f7fc361a2 100644 --- a/docs/PHP/danog/MadelineProto/RPCError/FileTokenInvalidError.md +++ b/docs/PHP/danog/MadelineProto/RPCError/FileTokenInvalidError.md @@ -1,5 +1,5 @@ --- -title: "danog\\MadelineProto\\RPCError\\FileTokenInvalidError: The specified file token is invalid." +title: "danog\\MadelineProto\\RPCError\\FileTokenInvalidError: The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile." description: "\nNote: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.\n\nAlways check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.\n" image: "https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png" parent: "MadelineProto API" @@ -11,7 +11,7 @@ parent: "MadelineProto API" > Author: Daniil Gentili -The specified file token is invalid. +The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile. Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise. diff --git a/docs/PHP/index.md b/docs/PHP/index.md index c96bae9ac7..3bab36d713 100644 --- a/docs/PHP/index.md +++ b/docs/PHP/index.md @@ -344,7 +344,7 @@ Async PHP client API for the telegram MTProto protocol. * [\danog\MadelineProto\RPCError\CallAlreadyDeclinedError: The call was already declined.](/PHP/danog/MadelineProto/RPCError/CallAlreadyDeclinedError.html) * [\danog\MadelineProto\RPCError\ChannelPrivateError: You haven't joined this channel/supergroup.](/PHP/danog/MadelineProto/RPCError/ChannelPrivateError.html) * [\danog\MadelineProto\RPCError\ChatAdminRequiredError: You must be an admin in this chat to do this.](/PHP/danog/MadelineProto/RPCError/ChatAdminRequiredError.html) -* [\danog\MadelineProto\RPCError\ChatForbiddenError: Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.](/PHP/danog/MadelineProto/RPCError/ChatForbiddenError.html) +* [\danog\MadelineProto\RPCError\ChatForbiddenError: This chat is not available to the current user.](/PHP/danog/MadelineProto/RPCError/ChatForbiddenError.html) * [\danog\MadelineProto\RPCError\ChatForwardsRestrictedError: You can't forward messages from a protected chat.](/PHP/danog/MadelineProto/RPCError/ChatForwardsRestrictedError.html) * [\danog\MadelineProto\RPCError\ChatGuestSendForbiddenError: You join the discussion group before commenting, see [here »](/api/discussion#requiring-users-to-join-the-group) for more info.](/PHP/danog/MadelineProto/RPCError/ChatGuestSendForbiddenError.html) * [\danog\MadelineProto\RPCError\ChatRestrictedError: You can't send messages in this chat, you were restricted.](/PHP/danog/MadelineProto/RPCError/ChatRestrictedError.html) @@ -365,7 +365,7 @@ Async PHP client API for the telegram MTProto protocol. * [\danog\MadelineProto\RPCError\EncryptionAlreadyDeclinedError: The secret chat was already declined.](/PHP/danog/MadelineProto/RPCError/EncryptionAlreadyDeclinedError.html) * [\danog\MadelineProto\RPCError\EncryptionDeclinedError: The secret chat was declined.](/PHP/danog/MadelineProto/RPCError/EncryptionDeclinedError.html) * [\danog\MadelineProto\RPCError\FileReferenceExpiredError: File reference expired, it must be refetched as described in [the documentation](https://core.telegram.org/api/file_reference).](/PHP/danog/MadelineProto/RPCError/FileReferenceExpiredError.html) -* [\danog\MadelineProto\RPCError\FileTokenInvalidError: The specified file token is invalid.](/PHP/danog/MadelineProto/RPCError/FileTokenInvalidError.html) +* [\danog\MadelineProto\RPCError\FileTokenInvalidError: The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile.](/PHP/danog/MadelineProto/RPCError/FileTokenInvalidError.html) * [\danog\MadelineProto\RPCError\FloodPremiumWaitError: Represents a FLOOD_PREMIUM_WAIT_ RPC error returned by telegram.](/PHP/danog/MadelineProto/RPCError/FloodPremiumWaitError.html) * [\danog\MadelineProto\RPCError\FloodWaitError: Represents a FLOOD_WAIT_ RPC error returned by telegram.](/PHP/danog/MadelineProto/RPCError/FloodWaitError.html) * [\danog\MadelineProto\RPCError\FromMessageBotDisabledError: Bots can't use fromMessage min constructors.](/PHP/danog/MadelineProto/RPCError/FromMessageBotDisabledError.html)