terminate_poll
Closes a poll you created, stopping further votes. Participants are notified and can see final results.
Instructions
Close (terminate) a poll you created, stopping any further votes. All participants are notified that the poll has ended and can see the final results. Get target_timestamp and poll_id from the original poll message in get_conversation. Only the poll creator can terminate their own poll. Provide either recipient (DM poll) or group_id (group poll).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_author | Yes | Phone number of the poll creator — must be your own number | |
| target_timestamp | Yes | Timestamp of the poll message (from get_conversation) | |
| poll_id | Yes | Poll ID from the original poll message data | |
| recipient | No | Phone number for a DM poll — provide this OR group_id | |
| group_id | No | Group ID for a group poll — provide this OR recipient |