@frogbotai/piece-telegram-bot 0.33.0 → 0.35.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.
@@ -41,8 +41,8 @@ export declare const sendMedia: import("frogbot").PieceActionDefinition<z.ZodObj
41
41
  protectContent: z.ZodDefault<z.ZodBoolean>;
42
42
  chatId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
43
43
  mediaType: z.ZodEnum<{
44
- video: "video";
45
44
  photo: "photo";
45
+ video: "video";
46
46
  sticker: "sticker";
47
47
  animation: "animation";
48
48
  }>;
@@ -194,10 +194,10 @@ export declare const sendMediaGroup: import("frogbot").PieceActionDefinition<z.Z
194
194
  chatId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
195
195
  media: z.ZodArray<z.ZodObject<{
196
196
  type: z.ZodEnum<{
197
- audio: "audio";
198
- video: "video";
199
197
  photo: "photo";
198
+ video: "video";
200
199
  document: "document";
200
+ audio: "audio";
201
201
  }>;
202
202
  media: z.ZodString;
203
203
  caption: z.ZodOptional<z.ZodString>;
package/dist/index.d.ts CHANGED
@@ -87,8 +87,8 @@ export declare const createTelegramBot: import("frogbot").PieceFactory<{
87
87
  protectContent: z.ZodDefault<z.ZodBoolean>;
88
88
  chatId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
89
89
  mediaType: z.ZodEnum<{
90
- video: "video";
91
90
  photo: "photo";
91
+ video: "video";
92
92
  sticker: "sticker";
93
93
  animation: "animation";
94
94
  }>;
@@ -236,10 +236,10 @@ export declare const createTelegramBot: import("frogbot").PieceFactory<{
236
236
  chatId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
237
237
  media: z.ZodArray<z.ZodObject<{
238
238
  type: z.ZodEnum<{
239
- audio: "audio";
240
- video: "video";
241
239
  photo: "photo";
240
+ video: "video";
242
241
  document: "document";
242
+ audio: "audio";
243
243
  }>;
244
244
  media: z.ZodString;
245
245
  caption: z.ZodOptional<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/piece-telegram-bot",
3
- "version": "0.33.0",
3
+ "version": "0.35.0",
4
4
  "description": "telegram-bot tools for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -23,11 +23,11 @@
23
23
  "zod": "^4.3.6"
24
24
  },
25
25
  "peerDependencies": {
26
- "frogbot": "0.33.0"
26
+ "frogbot": "0.35.0"
27
27
  },
28
28
  "devDependencies": {
29
- "typescript": "5.6.2",
30
- "frogbot": "0.33.0"
29
+ "typescript": "6.0.3",
30
+ "frogbot": "0.35.0"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"