@gramio/types
Advanced tools
Comparing version 7.4.3 to 7.5.0
@@ -11,5 +11,5 @@ /** | ||
* | ||
* Based on Bot API v7.4.0 (28.05.2024) | ||
* Based on Bot API v7.5.0 (18.06.2024) | ||
* | ||
* Generated at 28.05.2024, 13:17:41 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators | ||
* Generated at 18.06.2024, 10:37:20 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators | ||
*/ | ||
@@ -16,0 +16,0 @@ |
@@ -14,5 +14,5 @@ /** | ||
* | ||
* Based on Bot API v7.4.0 (28.05.2024) | ||
* Based on Bot API v7.5.0 (18.06.2024) | ||
* | ||
* Generated at 28.05.2024, 13:17:41 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators | ||
* Generated at 18.06.2024, 10:37:20 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators | ||
*/ | ||
@@ -643,3 +643,3 @@ | ||
/** | ||
* Use this method to edit text and [game](https://core.telegram.org/bots/api/#games) messages. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. | ||
* Use this method to edit text and [game](https://core.telegram.org/bots/api/#games) messages. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within **48 hours** from the time they were sent. | ||
* | ||
@@ -653,3 +653,3 @@ * [Documentation](https://core.telegram.org/bots/api/#editmessagetext) | ||
/** | ||
* Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. | ||
* Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within **48 hours** from the time they were sent. | ||
* | ||
@@ -663,3 +663,3 @@ * [Documentation](https://core.telegram.org/bots/api/#editmessagecaption) | ||
/** | ||
* Use this method to edit animation, audio, document, photo, or video messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file\_id or specify a URL. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. | ||
* Use this method to edit animation, audio, document, photo, or video messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file\_id or specify a URL. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within **48 hours** from the time they were sent. | ||
* | ||
@@ -691,3 +691,3 @@ * [Documentation](https://core.telegram.org/bots/api/#editmessagemedia) | ||
/** | ||
* Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. | ||
* Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within **48 hours** from the time they were sent. | ||
* | ||
@@ -876,2 +876,11 @@ * [Documentation](https://core.telegram.org/bots/api/#editmessagereplymarkup) | ||
/** | ||
* Returns the bot's Telegram Star transactions in chronological order. On success, returns a [StarTransactions](https://core.telegram.org/bots/api/#startransactions) object. | ||
* | ||
* [Documentation](https://core.telegram.org/bots/api/#getstartransactions) | ||
*/ | ||
getStarTransactions: CallAPIWithOptionalParams< | ||
Params.GetStarTransactionsParams, | ||
Objects.TelegramTelegram | ||
> | ||
/** | ||
* Refunds a successful payment in [Telegram Stars](https://t.me/BotNews/90). Returns *True* on success. | ||
@@ -878,0 +887,0 @@ * |
@@ -16,5 +16,5 @@ /** | ||
* | ||
* Based on Bot API v7.4.0 (28.05.2024) | ||
* Based on Bot API v7.5.0 (18.06.2024) | ||
* | ||
* Generated at 28.05.2024, 13:17:41 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators | ||
* Generated at 18.06.2024, 10:37:20 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators | ||
*/ | ||
@@ -21,0 +21,0 @@ |
{ | ||
"name": "@gramio/types", | ||
"version": "7.4.3", | ||
"version": "7.5.0", | ||
"homepage": "https://github.com/gramiojs/types", | ||
@@ -5,0 +5,0 @@ "readme": "https://github.com/gramiojs/types", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
438417
10860