Skip to content

Commit adbb995

Browse files
committed
Update code to reflect latest changes to the Bot API documentation
1 parent ec062b8 commit adbb995

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/Layers/Generated.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2305,7 +2305,7 @@ public function sendGift(
23052305
}
23062306

23072307
/**
2308-
* Verifies a user on behalf of the organization which is represented by the bot. Returns <em>True</em> on success.
2308+
* 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.
23092309
*
23102310
* @param int $user_id Unique identifier of the target user
23112311
* @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.
@@ -2318,7 +2318,7 @@ public function verifyUser(int $user_id, ?string $custom_description = null): bo
23182318
}
23192319

23202320
/**
2321-
* Verifies a chat on behalf of the organization which is represented by the bot. Returns <em>True</em> on success.
2321+
* 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.
23222322
*
23232323
* @param int|string $chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
23242324
* @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.
@@ -2331,7 +2331,7 @@ public function verifyChat(int|string $chat_id, ?string $custom_description = nu
23312331
}
23322332

23332333
/**
2334-
* Removes verification from a user who is currently verified on behalf of the organization represented by the bot. Returns <em>True</em> on success.
2334+
* 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.
23352335
*
23362336
* @param int $user_id Unique identifier of the target user
23372337
*
@@ -2343,7 +2343,7 @@ public function removeUserVerification(int $user_id): bool
23432343
}
23442344

23452345
/**
2346-
* Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns <em>True</em> on success.
2346+
* 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.
23472347
*
23482348
* @param int|string $chat_id Unique identifier for the target chat or username of the target channel (in the format @channelusername)
23492349
*
@@ -2543,7 +2543,7 @@ public function createInvoiceLink(
25432543
* @param string $shipping_query_id Unique identifier for the query to be answered
25442544
* @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)
25452545
* @param ShippingOption[] $shipping_options Required if <em>ok</em> is <em>True</em>. A JSON-serialized array of available shipping options.
2546-
* @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.
2546+
* @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.
25472547
*
25482548
* @throws TelegramException
25492549
*/

0 commit comments

Comments
 (0)