No summary provided.
Constructs a new instance of the 
PollAPI class| Name | Type | Optional | Description | 
|---|---|---|---|
| rest | REST | No | None | 
Immediately expires (i.e. ends) a poll
| Name | Type | Optional | Description | 
|---|---|---|---|
| channelId | Snowflake | No | The id of the channel containing the message | 
| messageId | Snowflake | No | The id of the message containing the poll | 
| options | Pick<RequestData, 'auth' | 'signal'> | Yes | The options for expiring the poll | 
getAnswerVoters(channelId, messageId, answerId, query?, options?):Promise<RESTGetAPIPollAnswerVotersResult>
Gets the list of users that voted for a specific answer in a poll
| Name | Type | Optional | Description | 
|---|---|---|---|
| channelId | Snowflake | No | The id of the channel containing the message | 
| messageId | Snowflake | No | The id of the message containing the poll | 
| answerId | number | No | The id of the answer to get voters for | 
| query | RESTGetAPIPollAnswerVotersQuery | Yes | The query for getting the list of voters | 
| options | Pick<RequestData, 'auth' | 'signal'> | Yes | The options for getting the list of voters |