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
DiscordEmojiEmoji to react with.
limit
intLimit of users to fetch.
after
ulong?Fetch users after this user's id.
Returns
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.