Method GetAnswerVotersAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetAnswerVotersAsync(int, int?, ulong?)
Gets the answer voters for an answer.
public Task<ReadOnlyCollection<DiscordUser>> GetAnswerVotersAsync(int answerId, int? limit = null, ulong? after = null)
Parameters
answerId
intThe id of the answer to get voters for.
limit
int?The max number of users to return (
1
-100
). Defaults to25
.after
ulong?Get users after this user ID.
Returns
- Task<ReadOnlyCollection<DiscordUser>>
A read-only collection of users who voted for given answer.