mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 21:18:28 +00:00
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: b58492cfed
Co-authored-by: robbyczgw-cla <239660374+robbyczgw-cla@users.noreply.github.com>
Co-authored-by: steipete <58493+steipete@users.noreply.github.com>
Reviewed-by: @steipete
This commit is contained in:
@@ -35,7 +35,15 @@ export const PollParamsSchema = Type.Object(
|
||||
question: NonEmptyString,
|
||||
options: Type.Array(NonEmptyString, { minItems: 2, maxItems: 12 }),
|
||||
maxSelections: Type.Optional(Type.Integer({ minimum: 1, maximum: 12 })),
|
||||
/** Poll duration in seconds (channel-specific limits may apply). */
|
||||
durationSeconds: Type.Optional(Type.Integer({ minimum: 1, maximum: 600 })),
|
||||
durationHours: Type.Optional(Type.Integer({ minimum: 1 })),
|
||||
/** Send silently (no notification) where supported. */
|
||||
silent: Type.Optional(Type.Boolean()),
|
||||
/** Poll anonymity where supported (e.g. Telegram polls default to anonymous). */
|
||||
isAnonymous: Type.Optional(Type.Boolean()),
|
||||
/** Thread id (channel-specific meaning, e.g. Telegram forum topic id). */
|
||||
threadId: Type.Optional(Type.String()),
|
||||
channel: Type.Optional(Type.String()),
|
||||
accountId: Type.Optional(Type.String()),
|
||||
idempotencyKey: NonEmptyString,
|
||||
|
||||
Reference in New Issue
Block a user