fix(telegram): Allow ephemeral webhookPort

This commit is contained in:
Harold Hunt
2026-02-26 08:40:33 -05:00
committed by Ayaan Zaidi
parent 296210636d
commit dbfdf60a42
2 changed files with 18 additions and 3 deletions

View File

@@ -193,9 +193,11 @@ export const TelegramAccountSchemaBase = z
webhookPort: z
.number()
.int()
.positive()
.nonnegative()
.optional()
.describe("Local bind port for the webhook listener. Defaults to 8787."),
.describe(
"Local bind port for the webhook listener. Defaults to 8787; set to 0 to let the OS assign an ephemeral port.",
),
actions: z
.object({
reactions: z.boolean().optional(),