grammy 1.22.3 → 1.22.4
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/convenience/constants.d.ts +11 -10
- package/out/convenience/constants.js +11 -10
- package/out/web.mjs +11 -10
- package/package.json +2 -2
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { DEFAULT_UPDATE_TYPES } from "../bot.js";
|
|
2
2
|
declare const ALL_UPDATE_TYPES: readonly ["message", "edited_message", "channel_post", "edited_channel_post", "business_connection", "business_message", "edited_business_message", "deleted_business_messages", "inline_query", "chosen_inline_result", "callback_query", "shipping_query", "pre_checkout_query", "poll", "poll_answer", "my_chat_member", "chat_join_request", "chat_boost", "removed_chat_boost", "chat_member", "message_reaction", "message_reaction_count"];
|
|
3
3
|
declare const ALL_CHAT_PERMISSIONS: {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
readonly can_send_voice_notes: true;
|
|
11
|
-
readonly can_send_polls: true;
|
|
12
|
-
readonly can_send_other_messages: true;
|
|
13
|
-
readonly can_add_web_page_previews: true;
|
|
4
|
+
readonly is_anonymous: true;
|
|
5
|
+
readonly can_manage_chat: true;
|
|
6
|
+
readonly can_delete_messages: true;
|
|
7
|
+
readonly can_manage_video_chats: true;
|
|
8
|
+
readonly can_restrict_members: true;
|
|
9
|
+
readonly can_promote_members: true;
|
|
14
10
|
readonly can_change_info: true;
|
|
15
11
|
readonly can_invite_users: true;
|
|
12
|
+
readonly can_post_stories: true;
|
|
13
|
+
readonly can_edit_stories: true;
|
|
14
|
+
readonly can_delete_stories: true;
|
|
15
|
+
readonly can_post_messages: true;
|
|
16
|
+
readonly can_edit_messages: true;
|
|
16
17
|
readonly can_pin_messages: true;
|
|
17
18
|
readonly can_manage_topics: true;
|
|
18
19
|
};
|
|
@@ -9,18 +9,19 @@ const ALL_UPDATE_TYPES = [
|
|
|
9
9
|
"message_reaction_count",
|
|
10
10
|
];
|
|
11
11
|
const ALL_CHAT_PERMISSIONS = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
can_send_voice_notes: true,
|
|
19
|
-
can_send_polls: true,
|
|
20
|
-
can_send_other_messages: true,
|
|
21
|
-
can_add_web_page_previews: true,
|
|
12
|
+
is_anonymous: true,
|
|
13
|
+
can_manage_chat: true,
|
|
14
|
+
can_delete_messages: true,
|
|
15
|
+
can_manage_video_chats: true,
|
|
16
|
+
can_restrict_members: true,
|
|
17
|
+
can_promote_members: true,
|
|
22
18
|
can_change_info: true,
|
|
23
19
|
can_invite_users: true,
|
|
20
|
+
can_post_stories: true,
|
|
21
|
+
can_edit_stories: true,
|
|
22
|
+
can_delete_stories: true,
|
|
23
|
+
can_post_messages: true,
|
|
24
|
+
can_edit_messages: true,
|
|
24
25
|
can_pin_messages: true,
|
|
25
26
|
can_manage_topics: true,
|
|
26
27
|
};
|
package/out/web.mjs
CHANGED
|
@@ -3511,18 +3511,19 @@ const ALL_UPDATE_TYPES = [
|
|
|
3511
3511
|
"message_reaction_count"
|
|
3512
3512
|
];
|
|
3513
3513
|
const ALL_CHAT_PERMISSIONS = {
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
can_send_voice_notes: true,
|
|
3521
|
-
can_send_polls: true,
|
|
3522
|
-
can_send_other_messages: true,
|
|
3523
|
-
can_add_web_page_previews: true,
|
|
3514
|
+
is_anonymous: true,
|
|
3515
|
+
can_manage_chat: true,
|
|
3516
|
+
can_delete_messages: true,
|
|
3517
|
+
can_manage_video_chats: true,
|
|
3518
|
+
can_restrict_members: true,
|
|
3519
|
+
can_promote_members: true,
|
|
3524
3520
|
can_change_info: true,
|
|
3525
3521
|
can_invite_users: true,
|
|
3522
|
+
can_post_stories: true,
|
|
3523
|
+
can_edit_stories: true,
|
|
3524
|
+
can_delete_stories: true,
|
|
3525
|
+
can_post_messages: true,
|
|
3526
|
+
can_edit_messages: true,
|
|
3526
3527
|
can_pin_messages: true,
|
|
3527
3528
|
can_manage_topics: true
|
|
3528
3529
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grammy",
|
|
3
3
|
"description": "The Telegram Bot Framework.",
|
|
4
|
-
"version": "1.22.
|
|
4
|
+
"version": "1.22.4",
|
|
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.6.
|
|
20
|
+
"@grammyjs/types": "3.6.2",
|
|
21
21
|
"abort-controller": "^3.0.0",
|
|
22
22
|
"debug": "^4.3.4",
|
|
23
23
|
"node-fetch": "^2.7.0"
|