terminate_poll
End a poll you created to stop voting and notify participants with final results. Provide the poll's timestamp and your phone number, plus recipient or group ID.
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 from the original poll message in get_conversation — a poll has no separate ID, it's identified by its message timestamp. 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 |
|---|---|---|---|
| group_id | No | Group ID for a group poll — provide this OR recipient | |
| recipient | No | Phone number for a DM poll — provide this OR group_id | |
| 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) |