Actions22
- Chat Actions
- Contact Actions
- Handle Actions
- Message Actions
- Poll Actions
- Scheduled Message Actions
Poll → Add Option
AI-generatedSummary
Adds a new option text to an existing poll message in a chat.
Inputs
- chatGuid (required) — The unique chat identifier containing the poll.
- pollMessageGuid (required) — The GUID of the poll message to modify. This value is found in the output of the 'Create Poll' or 'Get Messages' operations.
- optionText (required) — The text content for the new poll option to add.
Output shape
The poll message data (including the new option) as a single item.
The operation uses the Photon server API endpoint
/api/v1/message/poll/add-option.
Examples
Example 1: Add 'Sushi' to an existing poll about dinner options.
Set Chat GUID to the group chat ID, Poll Message GUID to the existing poll's GUID, and Option Text to 'Sushi'.