@gramio/types
Advanced tools
Comparing version 7.0.14 to 7.0.15
export * from "./methods" | ||
export * from "./params" | ||
export * as TelegramParams from "./params" | ||
export * from "./objects" | ||
export * as TelegramObjects from "./objects" |
/** | ||
* Based on Bot Api v7.0.0 (29.12.2023) | ||
* Generated at 2/7/2024, 6:50:09 PM using {@link https://github.com/gramiojs/types | [types]} and {@link https://ark0f.github.io/tg-bot-api | [schema]} generators | ||
* Generated at 2/9/2024, 9:19:04 PM using {@link https://github.com/gramiojs/types | [types]} and {@link https://ark0f.github.io/tg-bot-api | [schema]} generators | ||
*/ | ||
@@ -5,0 +5,0 @@ import * as Params from "./params" |
{ | ||
"name": "@gramio/types", | ||
"version": "7.0.14", | ||
"version": "7.0.15", | ||
"homepage": "https://github.com/gramiojs/types", | ||
@@ -5,0 +5,0 @@ "readme": "https://github.com/gramiojs/types", |
@@ -16,3 +16,3 @@ # Code-generated and Auto-published Telegram Bot API types | ||
[API Types References](https://tsdocs.dev/docs/@gramio/types) | ||
Please see [API Types References](https://tsdocs.dev/docs/@gramio/types) | ||
@@ -24,3 +24,3 @@ ### Auto-update package | ||
## Imports | ||
## Imports (after `@gramio/`) | ||
@@ -43,3 +43,3 @@ - `index` - exports everything in the section | ||
<T extends keyof ApiMethods>(_target: ApiMethods, method: T) => | ||
(params: Parameters<ApiMethods[T]>[0]) => { | ||
async (params: Parameters<ApiMethods[T]>[0]) => { | ||
const response = await fetch(`${TBA_BASE_URL}${TOKEN}/${method}`, { | ||
@@ -46,0 +46,0 @@ method: "POST", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
386855
9384