gramio 0.8.3 → 0.9.0

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/dist/index.cjs CHANGED
@@ -34,7 +34,8 @@ const ALL_NAMES = [
34
34
  "chat_member",
35
35
  "chat_join_request",
36
36
  "chat_boost",
37
- "removed_chat_boost"
37
+ "removed_chat_boost",
38
+ "managed_bot"
38
39
  ];
39
40
  const MESSAGE_PARENT_TYPES = [
40
41
  "message",
package/dist/index.d.cts CHANGED
@@ -316,6 +316,8 @@ declare class Plugin<Errors extends ErrorDefinitions = {}, Derives extends Deriv
316
316
  invoice: _gramio_contexts.InvoiceContext<AnyBot>;
317
317
  left_chat_member: _gramio_contexts.LeftChatMemberContext<AnyBot>;
318
318
  location: _gramio_contexts.LocationContext<AnyBot>;
319
+ managed_bot: _gramio_contexts.ManagedBotContext<AnyBot>;
320
+ managed_bot_created: _gramio_contexts.ManagedBotCreatedContext<AnyBot>;
319
321
  message_auto_delete_timer_changed: _gramio_contexts.MessageAutoDeleteTimerChangedContext<AnyBot>;
320
322
  message: _gramio_contexts.MessageContext<AnyBot> & _gramio_contexts.Require<_gramio_contexts.MessageContext<AnyBot>, "from">;
321
323
  channel_post: _gramio_contexts.MessageContext<AnyBot>;
@@ -333,6 +335,8 @@ declare class Plugin<Errors extends ErrorDefinitions = {}, Derives extends Deriv
333
335
  passport_data: _gramio_contexts.PassportDataContext<AnyBot>;
334
336
  pinned_message: _gramio_contexts.PinnedMessageContext<AnyBot>;
335
337
  poll_answer: _gramio_contexts.PollAnswerContext<AnyBot>;
338
+ poll_option_added: _gramio_contexts.PollOptionAddedContext<AnyBot>;
339
+ poll_option_deleted: _gramio_contexts.PollOptionDeletedContext<AnyBot>;
336
340
  poll: _gramio_contexts.PollContext<AnyBot>;
337
341
  pre_checkout_query: _gramio_contexts.PreCheckoutQueryContext<AnyBot>;
338
342
  proximity_alert_triggered: _gramio_contexts.ProximityAlertTriggeredContext<AnyBot>;
package/dist/index.d.ts CHANGED
@@ -316,6 +316,8 @@ declare class Plugin<Errors extends ErrorDefinitions = {}, Derives extends Deriv
316
316
  invoice: _gramio_contexts.InvoiceContext<AnyBot>;
317
317
  left_chat_member: _gramio_contexts.LeftChatMemberContext<AnyBot>;
318
318
  location: _gramio_contexts.LocationContext<AnyBot>;
319
+ managed_bot: _gramio_contexts.ManagedBotContext<AnyBot>;
320
+ managed_bot_created: _gramio_contexts.ManagedBotCreatedContext<AnyBot>;
319
321
  message_auto_delete_timer_changed: _gramio_contexts.MessageAutoDeleteTimerChangedContext<AnyBot>;
320
322
  message: _gramio_contexts.MessageContext<AnyBot> & _gramio_contexts.Require<_gramio_contexts.MessageContext<AnyBot>, "from">;
321
323
  channel_post: _gramio_contexts.MessageContext<AnyBot>;
@@ -333,6 +335,8 @@ declare class Plugin<Errors extends ErrorDefinitions = {}, Derives extends Deriv
333
335
  passport_data: _gramio_contexts.PassportDataContext<AnyBot>;
334
336
  pinned_message: _gramio_contexts.PinnedMessageContext<AnyBot>;
335
337
  poll_answer: _gramio_contexts.PollAnswerContext<AnyBot>;
338
+ poll_option_added: _gramio_contexts.PollOptionAddedContext<AnyBot>;
339
+ poll_option_deleted: _gramio_contexts.PollOptionDeletedContext<AnyBot>;
336
340
  poll: _gramio_contexts.PollContext<AnyBot>;
337
341
  pre_checkout_query: _gramio_contexts.PreCheckoutQueryContext<AnyBot>;
338
342
  proximity_alert_triggered: _gramio_contexts.ProximityAlertTriggeredContext<AnyBot>;
package/dist/index.js CHANGED
@@ -36,7 +36,8 @@ const ALL_NAMES = [
36
36
  "chat_member",
37
37
  "chat_join_request",
38
38
  "chat_boost",
39
- "removed_chat_boost"
39
+ "removed_chat_boost",
40
+ "managed_bot"
40
41
  ];
41
42
  const MESSAGE_PARENT_TYPES = [
42
43
  "message",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gramio",
3
3
  "type": "module",
4
- "version": "0.8.3",
4
+ "version": "0.9.0",
5
5
  "description": "Powerful, extensible and really type-safe Telegram Bot API framework",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
@@ -56,7 +56,7 @@
56
56
  "license": "MIT",
57
57
  "devDependencies": {
58
58
  "@biomejs/biome": "2.4.4",
59
- "@gramio/test": "^0.3.1",
59
+ "@gramio/test": "^0.5.0",
60
60
  "@types/bun": "^1.3.9",
61
61
  "@types/debug": "^4.1.12",
62
62
  "expect-type": "^1.3.0",
@@ -65,12 +65,12 @@
65
65
  },
66
66
  "dependencies": {
67
67
  "@gramio/callback-data": "^0.1.0",
68
- "@gramio/composer": "0.4.1",
69
- "@gramio/contexts": "0.5.1",
70
- "@gramio/files": "^0.3.2",
71
- "@gramio/format": "^0.5.0",
72
- "@gramio/keyboards": "^1.3.1",
73
- "@gramio/types": "^9.5.0",
68
+ "@gramio/composer": "^0.4.1",
69
+ "@gramio/contexts": "^0.6.1",
70
+ "@gramio/files": "^0.4.0",
71
+ "@gramio/format": "^0.7.0",
72
+ "@gramio/keyboards": "^1.4.0",
73
+ "@gramio/types": "^9.6.1",
74
74
  "debug": "^4.4.3"
75
75
  },
76
76
  "files": [