From 851eccfc27aaa54c068512f59a6c68e0dbbbe014 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 17:59:28 +0200 Subject: [PATCH] Bump --- .../MadelineProto/RPCError/TimeoutError.md | 95 ++++++++++++++++++ .../RPCError/UsernameInvalidError.md | 99 +++++++++++++++++++ .../RPCError/UsernameNotOccupiedError.md | 99 +++++++++++++++++++ docs/PHP/index.md | 3 + docs/docs/DOCKER.md | 2 +- 5 files changed, 297 insertions(+), 1 deletion(-) create mode 100644 docs/PHP/danog/MadelineProto/RPCError/TimeoutError.md create mode 100644 docs/PHP/danog/MadelineProto/RPCError/UsernameInvalidError.md create mode 100644 docs/PHP/danog/MadelineProto/RPCError/UsernameNotOccupiedError.md diff --git a/docs/PHP/danog/MadelineProto/RPCError/TimeoutError.md b/docs/PHP/danog/MadelineProto/RPCError/TimeoutError.md new file mode 100644 index 0000000000..a7f8969191 --- /dev/null +++ b/docs/PHP/danog/MadelineProto/RPCError/TimeoutError.md @@ -0,0 +1,95 @@ +--- +title: "danog\\MadelineProto\\RPCError\\TimeoutError: Represents a request timeout RPC error returned by telegram." +description: "" +image: "https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png" +parent: "MadelineProto API" + +--- +# `danog\MadelineProto\RPCError\TimeoutError` +[Back to index](../../../index.html) + +> Author: Daniil Gentili + + +Represents a request timeout RPC error returned by telegram. + + + +## Properties +* `$rpc`: `string` RPC error. +* `$description`: `string` Human-readable description of RPC error. +* `$tlTrace`: `string` TL trace. + +## Method list: +* [`getLocalization(): string`](#getLocalization) +* [`getMessage(): string`](#getMessage) +* [`getCode()`](#getCode) +* [`getFile(): string`](#getFile) +* [`getLine(): int`](#getLine) +* [`getTrace(): array`](#getTrace) +* [`getPrevious(): ?Throwable`](#getPrevious) +* [`getTraceAsString(): string`](#getTraceAsString) +* [`getTLTrace(): string`](#getTLTrace) + +## Methods: +### `getLocalization(): string` + +Get localized error name. + + + +### `getMessage(): string` + + + + + +### `getCode()` + + + + + +### `getFile(): string` + + + + + +### `getLine(): int` + + + + + +### `getTrace(): array` + + + + + +### `getPrevious(): ?Throwable` + + + + +#### See also: +* `Throwable` + + + + +### `getTraceAsString(): string` + + + + + +### `getTLTrace(): string` + +Get TL trace. + + + +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/RPCError/UsernameInvalidError.md b/docs/PHP/danog/MadelineProto/RPCError/UsernameInvalidError.md new file mode 100644 index 0000000000..e78ba371cc --- /dev/null +++ b/docs/PHP/danog/MadelineProto/RPCError/UsernameInvalidError.md @@ -0,0 +1,99 @@ +--- +title: "danog\\MadelineProto\\RPCError\\UsernameInvalidError: The provided username is not valid." +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" + +--- +# `danog\MadelineProto\RPCError\UsernameInvalidError` +[Back to index](../../../index.html) + +> Author: Daniil Gentili + + +The provided username is not valid. + + +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. + + +## Properties +* `$rpc`: `string` RPC error. +* `$description`: `string` Human-readable description of RPC error. +* `$tlTrace`: `string` TL trace. + +## Method list: +* [`getLocalization(): string`](#getLocalization) +* [`getMessage(): string`](#getMessage) +* [`getCode()`](#getCode) +* [`getFile(): string`](#getFile) +* [`getLine(): int`](#getLine) +* [`getTrace(): array`](#getTrace) +* [`getPrevious(): ?Throwable`](#getPrevious) +* [`getTraceAsString(): string`](#getTraceAsString) +* [`getTLTrace(): string`](#getTLTrace) + +## Methods: +### `getLocalization(): string` + +Get localized error name. + + + +### `getMessage(): string` + + + + + +### `getCode()` + + + + + +### `getFile(): string` + + + + + +### `getLine(): int` + + + + + +### `getTrace(): array` + + + + + +### `getPrevious(): ?Throwable` + + + + +#### See also: +* `Throwable` + + + + +### `getTraceAsString(): string` + + + + + +### `getTLTrace(): string` + +Get TL trace. + + + +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/danog/MadelineProto/RPCError/UsernameNotOccupiedError.md b/docs/PHP/danog/MadelineProto/RPCError/UsernameNotOccupiedError.md new file mode 100644 index 0000000000..b4f02b60ee --- /dev/null +++ b/docs/PHP/danog/MadelineProto/RPCError/UsernameNotOccupiedError.md @@ -0,0 +1,99 @@ +--- +title: "danog\\MadelineProto\\RPCError\\UsernameNotOccupiedError: The provided username is not occupied." +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" + +--- +# `danog\MadelineProto\RPCError\UsernameNotOccupiedError` +[Back to index](../../../index.html) + +> Author: Daniil Gentili + + +The provided username is not occupied. + + +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. + + +## Properties +* `$rpc`: `string` RPC error. +* `$description`: `string` Human-readable description of RPC error. +* `$tlTrace`: `string` TL trace. + +## Method list: +* [`getLocalization(): string`](#getLocalization) +* [`getMessage(): string`](#getMessage) +* [`getCode()`](#getCode) +* [`getFile(): string`](#getFile) +* [`getLine(): int`](#getLine) +* [`getTrace(): array`](#getTrace) +* [`getPrevious(): ?Throwable`](#getPrevious) +* [`getTraceAsString(): string`](#getTraceAsString) +* [`getTLTrace(): string`](#getTLTrace) + +## Methods: +### `getLocalization(): string` + +Get localized error name. + + + +### `getMessage(): string` + + + + + +### `getCode()` + + + + + +### `getFile(): string` + + + + + +### `getLine(): int` + + + + + +### `getTrace(): array` + + + + + +### `getPrevious(): ?Throwable` + + + + +#### See also: +* `Throwable` + + + + +### `getTraceAsString(): string` + + + + + +### `getTLTrace(): string` + +Get TL trace. + + + +--- +Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/PHP/index.md b/docs/PHP/index.md index 2323e22b8b..5b50b5272d 100644 --- a/docs/PHP/index.md +++ b/docs/PHP/index.md @@ -388,11 +388,14 @@ Async PHP client API for the telegram MTProto protocol. * [\danog\MadelineProto\RPCError\ScheduleStatusPrivateError: Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings.](/PHP/danog/MadelineProto/RPCError/ScheduleStatusPrivateError.html) * [\danog\MadelineProto\RPCError\ScheduleTooMuchError: There are too many scheduled messages.](/PHP/danog/MadelineProto/RPCError/ScheduleTooMuchError.html) * [\danog\MadelineProto\RPCError\SessionPasswordNeededError: 2FA is enabled, use a password to login.](/PHP/danog/MadelineProto/RPCError/SessionPasswordNeededError.html) +* [\danog\MadelineProto\RPCError\TimeoutError: Represents a request timeout RPC error returned by telegram.](/PHP/danog/MadelineProto/RPCError/TimeoutError.html) * [\danog\MadelineProto\RPCError\TopicClosedError: This topic was closed, you can't send messages to it anymore.](/PHP/danog/MadelineProto/RPCError/TopicClosedError.html) * [\danog\MadelineProto\RPCError\TopicDeletedError: The specified topic was deleted.](/PHP/danog/MadelineProto/RPCError/TopicDeletedError.html) * [\danog\MadelineProto\RPCError\UserBannedInChannelError: You're banned from sending messages in supergroups/channels.](/PHP/danog/MadelineProto/RPCError/UserBannedInChannelError.html) * [\danog\MadelineProto\RPCError\UserIsBlockedError: You were blocked by this user.](/PHP/danog/MadelineProto/RPCError/UserIsBlockedError.html) * [\danog\MadelineProto\RPCError\UserIsBotError: Bots can't send messages to other bots.](/PHP/danog/MadelineProto/RPCError/UserIsBotError.html) +* [\danog\MadelineProto\RPCError\UsernameInvalidError: The provided username is not valid.](/PHP/danog/MadelineProto/RPCError/UsernameInvalidError.html) +* [\danog\MadelineProto\RPCError\UsernameNotOccupiedError: The provided username is not occupied.](/PHP/danog/MadelineProto/RPCError/UsernameNotOccupiedError.html) * [\danog\MadelineProto\RPCError\VoiceMessagesForbiddenError: This user's privacy settings forbid you from sending voice messages.](/PHP/danog/MadelineProto/RPCError/VoiceMessagesForbiddenError.html) * [\danog\MadelineProto\RPCError\WebpageCurlFailedError: Failure while fetching the webpage with cURL.](/PHP/danog/MadelineProto/RPCError/WebpageCurlFailedError.html) * [\danog\MadelineProto\RPCError\WebpageNotFoundError: A preview for the specified webpage `url` could not be generated.](/PHP/danog/MadelineProto/RPCError/WebpageNotFoundError.html) diff --git a/docs/docs/DOCKER.md b/docs/docs/DOCKER.md index 3ca8703cdd..621f86ec2c 100644 --- a/docs/docs/DOCKER.md +++ b/docs/docs/DOCKER.md @@ -236,4 +236,4 @@ services: command: php /app/bot.php ``` -Next section +Next section \ No newline at end of file