grammy 1.7.3 → 1.8.2
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/README.md +2 -2
- package/out/bot.js +1 -1
- package/out/context.d.ts +71 -38
- package/out/context.js +43 -2
- package/out/convenience/keyboard.d.ts +33 -14
- package/out/convenience/keyboard.js +44 -21
- package/out/convenience/session.js +18 -4
- package/out/convenience/webhook.d.ts +3 -3
- package/out/convenience/webhook.js +3 -8
- package/out/core/api.d.ts +88 -44
- package/out/core/api.js +56 -0
- package/out/core/client.js +2 -3
- package/out/core/payload.js +2 -2
- package/out/filter.d.ts +20 -16
- package/out/filter.js +5 -4
- package/package.json +3 -3
package/out/filter.d.ts
CHANGED
|
@@ -56,10 +56,11 @@ declare const UPDATE_KEYS: {
|
|
|
56
56
|
readonly pinned_message: {};
|
|
57
57
|
readonly invoice: {};
|
|
58
58
|
readonly proximity_alert_triggered: {};
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
59
|
+
readonly video_chat_scheduled: {};
|
|
60
|
+
readonly video_chat_started: {};
|
|
61
|
+
readonly video_chat_ended: {};
|
|
62
|
+
readonly video_chat_participants_invited: {};
|
|
63
|
+
readonly web_app_data: {};
|
|
63
64
|
readonly forward_date: {};
|
|
64
65
|
readonly is_automatic_forward: {};
|
|
65
66
|
readonly text: {};
|
|
@@ -138,10 +139,11 @@ declare const UPDATE_KEYS: {
|
|
|
138
139
|
readonly pinned_message: {};
|
|
139
140
|
readonly invoice: {};
|
|
140
141
|
readonly proximity_alert_triggered: {};
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
142
|
+
readonly video_chat_scheduled: {};
|
|
143
|
+
readonly video_chat_started: {};
|
|
144
|
+
readonly video_chat_ended: {};
|
|
145
|
+
readonly video_chat_participants_invited: {};
|
|
146
|
+
readonly web_app_data: {};
|
|
145
147
|
readonly forward_date: {};
|
|
146
148
|
readonly is_automatic_forward: {};
|
|
147
149
|
readonly text: {};
|
|
@@ -206,10 +208,11 @@ declare const UPDATE_KEYS: {
|
|
|
206
208
|
readonly pinned_message: {};
|
|
207
209
|
readonly invoice: {};
|
|
208
210
|
readonly proximity_alert_triggered: {};
|
|
209
|
-
readonly
|
|
210
|
-
readonly
|
|
211
|
-
readonly
|
|
212
|
-
readonly
|
|
211
|
+
readonly video_chat_scheduled: {};
|
|
212
|
+
readonly video_chat_started: {};
|
|
213
|
+
readonly video_chat_ended: {};
|
|
214
|
+
readonly video_chat_participants_invited: {};
|
|
215
|
+
readonly web_app_data: {};
|
|
213
216
|
readonly forward_date: {};
|
|
214
217
|
readonly is_automatic_forward: {};
|
|
215
218
|
readonly text: {};
|
|
@@ -274,10 +277,11 @@ declare const UPDATE_KEYS: {
|
|
|
274
277
|
readonly pinned_message: {};
|
|
275
278
|
readonly invoice: {};
|
|
276
279
|
readonly proximity_alert_triggered: {};
|
|
277
|
-
readonly
|
|
278
|
-
readonly
|
|
279
|
-
readonly
|
|
280
|
-
readonly
|
|
280
|
+
readonly video_chat_scheduled: {};
|
|
281
|
+
readonly video_chat_started: {};
|
|
282
|
+
readonly video_chat_ended: {};
|
|
283
|
+
readonly video_chat_participants_invited: {};
|
|
284
|
+
readonly web_app_data: {};
|
|
281
285
|
readonly forward_date: {};
|
|
282
286
|
readonly is_automatic_forward: {};
|
|
283
287
|
readonly text: {};
|
package/out/filter.js
CHANGED
|
@@ -243,10 +243,11 @@ const COMMON_MESSAGE_KEYS = {
|
|
|
243
243
|
pinned_message: {},
|
|
244
244
|
invoice: {},
|
|
245
245
|
proximity_alert_triggered: {},
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
246
|
+
video_chat_scheduled: {},
|
|
247
|
+
video_chat_started: {},
|
|
248
|
+
video_chat_ended: {},
|
|
249
|
+
video_chat_participants_invited: {},
|
|
250
|
+
web_app_data: {},
|
|
250
251
|
forward_date: {},
|
|
251
252
|
is_automatic_forward: {},
|
|
252
253
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grammy",
|
|
3
3
|
"description": "The Telegram Bot Framework.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.8.2",
|
|
5
5
|
"author": "KnorpelSenf",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"engines": {
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"contribs": "all-contributors"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@grammyjs/types": "^2.
|
|
26
|
+
"@grammyjs/types": "^2.7.0",
|
|
27
27
|
"abort-controller": "^3.0.0",
|
|
28
28
|
"debug": "^4.3.4",
|
|
29
29
|
"node-fetch": "^2.6.7"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/debug": "^4.1.7",
|
|
33
|
-
"@types/node": "^12.20.
|
|
33
|
+
"@types/node": "^12.20.50",
|
|
34
34
|
"@types/node-fetch": "^2.6.1",
|
|
35
35
|
"all-contributors-cli": "^6.20.0",
|
|
36
36
|
"deno2node": "^1.3.0"
|