Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot API 8.2 #77

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/Layers/Generated.php
Original file line number Diff line number Diff line change
Expand Up @@ -2305,7 +2305,7 @@ public function sendGift(
}

/**
* Verifies a user on behalf of the organization which is represented by the bot. Returns <em>True</em> on success.
* Verifies a user <a href="https://telegram.org/verify#third-party-verification">on behalf of the organization</a> which is represented by the bot. Returns <em>True</em> on success.
*
* @param int $user_id Unique identifier of the target user
* @param string $custom_description Custom description for the verification; 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description.
Expand All @@ -2318,7 +2318,7 @@ public function verifyUser(int $user_id, ?string $custom_description = null): bo
}

/**
* Verifies a chat on behalf of the organization which is represented by the bot. Returns <em>True</em> on success.
* Verifies a chat <a href="https://telegram.org/verify#third-party-verification">on behalf of the organization</a> which is represented by the bot. Returns <em>True</em> on success.
*
* @param int|string $chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
* @param string $custom_description Custom description for the verification; 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description.
Expand All @@ -2331,7 +2331,7 @@ public function verifyChat(int|string $chat_id, ?string $custom_description = nu
}

/**
* Removes verification from a user who is currently verified on behalf of the organization represented by the bot. Returns <em>True</em> on success.
* Removes verification from a user who is currently verified <a href="https://telegram.org/verify#third-party-verification">on behalf of the organization</a> represented by the bot. Returns <em>True</em> on success.
*
* @param int $user_id Unique identifier of the target user
*
Expand All @@ -2343,7 +2343,7 @@ public function removeUserVerification(int $user_id): bool
}

/**
* Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns <em>True</em> on success.
* Removes verification from a chat that is currently verified <a href="https://telegram.org/verify#third-party-verification">on behalf of the organization</a> represented by the bot. Returns <em>True</em> on success.
*
* @param int|string $chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
*
Expand Down Expand Up @@ -2543,7 +2543,7 @@ public function createInvoiceLink(
* @param string $shipping_query_id Unique identifier for the query to be answered
* @param bool $ok Pass <em>True</em> if delivery to the specified address is possible and <em>False</em> if there are any problems (for example, if delivery to the specified address is not possible)
* @param ShippingOption[] $shipping_options Required if <em>ok</em> is <em>True</em>. A JSON-serialized array of available shipping options.
* @param string $error_message Required if <em>ok</em> is <em>False</em>. Error message in human readable form that explains why it is impossible to complete the order (e.g. "Sorry, delivery to your desired address is unavailable'). Telegram will display this message to the user.
* @param string $error_message Required if <em>ok</em> is <em>False</em>. Error message in human readable form that explains why it is impossible to complete the order (e.g. Sorry, delivery to your desired address is unavailable). Telegram will display this message to the user.
*
* @throws TelegramException
*/
Expand Down
Loading