Actions22
- Chat Actions
- Contact Actions
- Handle Actions
- Message Actions
- Poll Actions
- Scheduled Message Actions
Poll → Unvote
AI-generatedSummary
Removes a user's vote from a specific poll option in an iMessage chat.
Inputs
- chatGuid (required) — The unique chat identifier containing the poll.
- pollMessageGuid (required) — The GUID of the poll message. Found in the output of 'Create Poll' or 'Get Messages'.
- optionIdentifier (required) — The UUID of the poll option to unvote from. Found in the poll message data.
Output shape
Returns the updated poll message data (e.g., updated vote counts and option details).
Requires the Photon server to be running with the advanced-imessage-kit runtime.
Examples
Example 1: Remove a previous vote on a poll option titled 'Sushi' in a group chat.
Set Chat GUID to 'iMessage;+;chat123456', Poll Message GUID to the poll message ID, and Option Identifier to the UUID of 'Sushi'.
Example 2: Clear a specific vote after changing your mind.
Use the Poll Message GUID and Option Identifier from the original poll output to execute the unvote.