Skip to content

Commit

Permalink
release v7.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed May 28, 2024
1 parent f42ae48 commit bd3704f
Show file tree
Hide file tree
Showing 8 changed files with 213 additions and 56 deletions.
2 changes: 1 addition & 1 deletion hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14e6870ea001bb26dc5a49d766dc7f4a273be53a
4272169551cf1dd64220359c9e7f13d64fa7c429
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://jsr.io/schema/config-file.v1.json",
"name": "@gramio/types",
"version": "7.3.4",
"version": "7.4.0",
"exports": {
".": "./source/index.ts",
"./methods": "./source/methods.ts",
Expand Down
4 changes: 2 additions & 2 deletions out/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* import { TelegramUser, SendMessageParams, APIMethods, APIMethodReturn } from "@gramio/types";
* ```
*
* Based on Bot API v7.3.0 (06.05.2024)
* Based on Bot API v7.4.0 (28.05.2024)
*
* Generated at 10.05.2024, 19:21:08 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
* Generated at 28.05.2024, 11:45:16 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
*/

export type * from "./methods"
Expand Down
10 changes: 8 additions & 2 deletions out/methods.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
* // ^? type SendMessageReturn = TelegramMessage"
* ```
*
* Based on Bot API v7.3.0 (06.05.2024)
* Based on Bot API v7.4.0 (28.05.2024)
*
* Generated at 10.05.2024, 19:21:08 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
* Generated at 28.05.2024, 11:45:16 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
*/

import type {
Expand Down Expand Up @@ -867,6 +867,12 @@ export interface APIMethods {
* [Documentation](https://core.telegram.org/bots/api/#answerprecheckoutquery)
*/
answerPreCheckoutQuery: CallAPI<Params.AnswerPreCheckoutQueryParams, true>
/**
* Refunds a successful payment in [Telegram Stars](https://t.me/BotNews/90). Returns *True* on success.
*
* [Documentation](https://core.telegram.org/bots/api/#refundstarpayment)
*/
refundStarPayment: CallAPI<Params.RefundStarPaymentParams, true>
/**
* Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns *True* on success.
*
Expand Down
95 changes: 74 additions & 21 deletions out/objects.d.ts

Large diffs are not rendered by default.

150 changes: 124 additions & 26 deletions out/params.d.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions out/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* // ^? type SendMessageParams = SendMessageParams"
* ```
*
* Based on Bot API v7.3.0 (06.05.2024)
* Based on Bot API v7.4.0 (28.05.2024)
*
* Generated at 10.05.2024, 19:21:08 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
* Generated at 28.05.2024, 11:45:16 using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
*/

import type { APIMethods } from "./methods"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gramio/types",
"version": "7.3.4",
"version": "7.4.0",
"homepage": "https://github.com/gramiojs/types",
"readme": "https://github.com/gramiojs/types",
"description": "Code-generated and Auto-published Telegram Bot API types",
Expand Down

0 comments on commit bd3704f

Please sign in to comment.