Table of Contents

Method GetReactionsAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetReactionsAsync(DiscordEmoji, int, ulong?)

Gets users that reacted with this emoji.

public Task<IReadOnlyList<DiscordUser>> GetReactionsAsync(DiscordEmoji emoji, int limit = 25, ulong? after = null)

Parameters

emoji DiscordEmoji

Emoji to react with.

limit int

Limit of users to fetch.

after ulong?

Fetch users after this user's id.

Returns

Task<IReadOnlyList<DiscordUser>>

Exceptions

NotFoundException

Thrown when the emoji does not exist.

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.