@saebyn/glowing-telegram-types 0.10.3 → 0.10.11

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +13 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saebyn/glowing-telegram-types",
3
3
  "license": "AGPL-3.0-only",
4
- "version": "0.10.3",
4
+ "version": "0.10.11",
5
5
  "main": "src/types.ts",
6
6
  "files": [
7
7
  "src/types.ts"
package/src/types.ts CHANGED
@@ -467,6 +467,10 @@ export interface StreamWidget {
467
467
  * Authentication token for WebSocket access to this widget
468
468
  */
469
469
  access_token?: string;
470
+ /**
471
+ * Whether widget is currently active and should receive scheduled updates
472
+ */
473
+ active?: boolean;
470
474
  /**
471
475
  * Widget configuration settings
472
476
  */
@@ -487,6 +491,10 @@ export interface StreamWidget {
487
491
  * Display title for the widget
488
492
  */
489
493
  title: string;
494
+ /**
495
+ * Widget type determines update behavior and available actions
496
+ */
497
+ type: StreamWidgetType;
490
498
  /**
491
499
  * ISO 8601 timestamp when the widget was last updated
492
500
  */
@@ -497,6 +505,11 @@ export interface StreamWidget {
497
505
  user_id: string;
498
506
  }
499
507
 
508
+ /**
509
+ * Widget type determines update behavior and available actions
510
+ */
511
+ export type StreamWidgetType = "countdown" | "text_overlay" | "poll" | "name_queue" | "bot_integration";
512
+
500
513
  export interface SubscribeChatRequest {
501
514
  }
502
515