grammy 1.22.2 → 1.22.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/bot.d.ts CHANGED
@@ -4,7 +4,7 @@ import { Api } from "./core/api.js";
4
4
  import { type ApiClientOptions, type WebhookReplyEnvelope } from "./core/client.js";
5
5
  import { type Filter, type FilterQuery } from "./filter.js";
6
6
  import { type ReactionType, type ReactionTypeEmoji, type Update, type UserFromGetMe } from "./types.js";
7
- export declare const DEFAULT_UPDATE_TYPES: readonly ["message", "edited_message", "channel_post", "edited_channel_post", "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"];
7
+ export declare const DEFAULT_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"];
8
8
  /**
9
9
  * Options that can be specified when running the bot via simple long polling.
10
10
  */
package/out/bot.js CHANGED
@@ -17,6 +17,10 @@ exports.DEFAULT_UPDATE_TYPES = [
17
17
  "edited_message",
18
18
  "channel_post",
19
19
  "edited_channel_post",
20
+ "business_connection",
21
+ "business_message",
22
+ "edited_business_message",
23
+ "deleted_business_messages",
20
24
  "inline_query",
21
25
  "chosen_inline_result",
22
26
  "callback_query",
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_UPDATE_TYPES } from "../bot.js";
2
- declare const ALL_UPDATE_TYPES: readonly ["message", "edited_message", "channel_post", "edited_channel_post", "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"];
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
4
  readonly can_send_messages: true;
5
5
  readonly can_send_audios: true;
package/out/web.mjs CHANGED
@@ -3188,6 +3188,10 @@ const DEFAULT_UPDATE_TYPES = [
3188
3188
  "edited_message",
3189
3189
  "channel_post",
3190
3190
  "edited_channel_post",
3191
+ "business_connection",
3192
+ "business_message",
3193
+ "edited_business_message",
3194
+ "deleted_business_messages",
3191
3195
  "inline_query",
3192
3196
  "chosen_inline_result",
3193
3197
  "callback_query",
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.2",
4
+ "version": "1.22.3",
5
5
  "author": "KnorpelSenf",
6
6
  "license": "MIT",
7
7
  "engines": {