iMessage by Photon icon

iMessage by Photon

Send, search, and manage iMessage conversations via the Photon server

Poll → Unvote

AI-generated

Summary

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.

Links

Discussion