Polls
Fased can send lightweight polls through the gateway. This is a delivery feature, not a general workflow engine, so channel behavior depends on what the target surface actually supports.Supported channels
- WhatsApp web
- Telegram
- Discord
- Microsoft Teams via Adaptive Cards
CLI
--channel:whatsapp(default),telegram,discord, ormsteams--poll-multi: allow more than one selection--poll-duration-hours: Discord only, defaults to24--poll-duration-seconds: Telegram only, 5-600 seconds--poll-anonymous/--poll-public: Telegram only
Gateway RPC
Method:poll
Params:
to(string, required)question(string, required)options(string[], required)maxSelections(number, optional)durationHours(number, optional)durationSeconds(number, optional, Telegram only)isAnonymous(boolean, optional, Telegram only)silent(boolean, optional)threadId(string, optional)channel(string, optional, defaultwhatsapp)accountId(string, optional)idempotencyKey(string, required)
Agent tool
Use themessage tool with action: "poll".
Supported fields:
topollQuestionpollOptionpollMulti(optional)pollDurationHours(optional)pollDurationSeconds(optional)pollAnonymous/pollPublic(optional)silent(optional)threadId(optional)channel(optional)
Channel differences
- WhatsApp
- 2 to 12 options
maxSelectionsmust stay within the option count- ignores
durationHours
- Telegram
- 2 to 10 options
durationSecondsmust be 5 to 600- polls are anonymous by default unless
--poll-publicis set
- Discord
- 2 to 10 options
durationHoursis clamped to1to768maxSelections > 1becomes multi-select, but Discord has no strict “pick exactly N” mode
- Microsoft Teams
- requires the loaded Teams channel plugin to expose poll support
durationHoursis ignored- behavior depends on the Teams adapter that is enabled at runtime
Operational notes
- Polls are outbound only; channel-specific vote storage and follow-up handling stay with the gateway.
- Teams polls depend on the installed Teams adapter, so keep that route for controlled, gateway-managed workflows instead of public/high-scale distribution.