Skip to content

Commit

Permalink
release v7.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed May 6, 2024
1 parent 61a5bea commit c7408f5
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
please regenerate
8bd3dd4feebffedfb8619e510378d5016bab1a8e
12 changes: 6 additions & 6 deletions out/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export * from "./methods"
export * from "./params"
export * as TelegramParams from "./params"
export * from "./objects"
export * as TelegramObjects from "./objects"
export { APIMethodParams, APIMethodReturn } from "./utils"
export type * from "./methods"
export type * from "./params"
export type * as TelegramParams from "./params"
export type * from "./objects"
export type * as TelegramObjects from "./objects"
export type { APIMethodParams, APIMethodReturn } from "./utils"
8 changes: 4 additions & 4 deletions out/methods.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/**
* Based on Bot API v7.3.0 (6.5.2024)
* Generated at 5/6/2024, 3:59:20 PM using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
* Generated at 5/6/2024, 4:10:11 PM using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
*/
import {
import type {
CallAPIWithOptionalParams,
CallAPI,
CallAPIWithoutParams,
} from "./utils"
import * as Params from "./params"
import * as Objects from "./objects"
import type * as Params from "./params"
import type * as Objects from "./objects"

export interface APIMethods {
/**
Expand Down
2 changes: 1 addition & 1 deletion out/objects.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Based on Bot API v7.3.0 (6.5.2024)
* Generated at 5/6/2024, 3:59:20 PM using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
* Generated at 5/6/2024, 4:10:11 PM using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
*/

/**
Expand Down
6 changes: 3 additions & 3 deletions out/params.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Based on Bot API v7.3.0 (6.5.2024)
* Generated at 5/6/2024, 3:59:20 PM using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
* Generated at 5/6/2024, 4:10:11 PM using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
*/
import * as Objects from "./objects"
import type * as Objects from "./objects"

export interface GetUpdatesParams {
/**
Expand Down Expand Up @@ -963,7 +963,7 @@ export interface SendPollParams {
/**
* Poll question, 1-300 characters
*/
question: string
question: string | { toString(): string }
/**
* Mode for parsing entities in the question. See [formatting options](https://core.telegram.org/bots/api/#formatting-options) for more details. Currently, only custom emoji entities are allowed
*/
Expand Down
2 changes: 1 addition & 1 deletion out/utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { APIMethods } from "./methods"
import type { APIMethods } from "./methods"

export type CallAPI<T, R> = (params: T) => Promise<R>
export type CallAPIWithoutParams<R> = () => Promise<R>
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.1",
"version": "7.3.2",
"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 c7408f5

Please sign in to comment.