Table of Contents

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 int

The id of the answer to get voters for.

limit int?

The max number of users to return (1-100). Defaults to 25.

after ulong?

Get users after this user ID.

Returns

Task<ReadOnlyCollection<DiscordUser>>

A read-only collection of users who voted for given answer.