grammy 1.20.2 → 1.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/context.d.ts +1 -1
- package/out/core/api.d.ts +2 -2
- package/package.json +2 -2
package/out/context.d.ts
CHANGED
|
@@ -646,7 +646,7 @@ export declare class Context implements RenamedUpdate {
|
|
|
646
646
|
*
|
|
647
647
|
* **Official reference:** https://core.telegram.org/bots/api#getfile
|
|
648
648
|
*/
|
|
649
|
-
getFile(signal?: AbortSignal): Promise<File>;
|
|
649
|
+
getFile(signal?: AbortSignal): Promise<import("@grammyjs/types/message.js").File>;
|
|
650
650
|
/** @deprecated Use `banAuthor` instead. */
|
|
651
651
|
kickAuthor(...args: Parameters<Context["banAuthor"]>): Promise<true>;
|
|
652
652
|
/**
|
package/out/core/api.d.ts
CHANGED
|
@@ -454,7 +454,7 @@ export declare class Api<R extends RawApi = RawApi> {
|
|
|
454
454
|
*
|
|
455
455
|
* **Official reference:** https://core.telegram.org/bots/api#getfile
|
|
456
456
|
*/
|
|
457
|
-
getFile(file_id: string, signal?: AbortSignal): Promise<File>;
|
|
457
|
+
getFile(file_id: string, signal?: AbortSignal): Promise<import("@grammyjs/types/message.js").File>;
|
|
458
458
|
/** @deprecated Use `banChatMember` instead. */
|
|
459
459
|
kickChatMember(...args: Parameters<Api["banChatMember"]>): Promise<true>;
|
|
460
460
|
/**
|
|
@@ -1169,7 +1169,7 @@ export declare class Api<R extends RawApi = RawApi> {
|
|
|
1169
1169
|
*
|
|
1170
1170
|
* **Official reference:** https://core.telegram.org/bots/api#uploadstickerfile
|
|
1171
1171
|
*/
|
|
1172
|
-
uploadStickerFile(user_id: number, sticker_format: "static" | "animated" | "video", sticker: InputFile, signal?: AbortSignal): Promise<File>;
|
|
1172
|
+
uploadStickerFile(user_id: number, sticker_format: "static" | "animated" | "video", sticker: InputFile, signal?: AbortSignal): Promise<import("@grammyjs/types/message.js").File>;
|
|
1173
1173
|
/**
|
|
1174
1174
|
* Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns True on success.
|
|
1175
1175
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grammy",
|
|
3
3
|
"description": "The Telegram Bot Framework.",
|
|
4
|
-
"version": "1.20.
|
|
4
|
+
"version": "1.20.3",
|
|
5
5
|
"author": "KnorpelSenf",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"engines": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"backport": "deno2node tsconfig.json"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@grammyjs/types": "3.4.
|
|
20
|
+
"@grammyjs/types": "^3.4.6",
|
|
21
21
|
"abort-controller": "^3.0.0",
|
|
22
22
|
"debug": "^4.3.4",
|
|
23
23
|
"node-fetch": "^2.7.0"
|