# Poll Vote Added

> Triggers when a user votes in a poll.

- ID: `message_poll_vote_add`
- Type: Event trigger
- Category: [Messages](https://inventor.bot/docs/reference/triggers/messages.md)

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `user_id` | The ID of the user who voted | e.g. `"123456789012345678"` |
| `channel_id` | The ID of the channel containing the poll | e.g. `"123456789012345678"` |
| `message_id` | The ID of the poll message | e.g. `"123456789012345678"` |
| `guild_id` | The ID of the server containing the poll | e.g. `"123456789012345678"` |
| `answer_id` | The answer ID the user selected | e.g. `"1"` |

**Example**

```go
var trigger = message_poll_vote_add()

func main() {
	send_text_message(Args{
		channel_id:      trigger.channel_id,
		message_content: "User ID: " + trigger.user_id,
	})
}
```