Method GetReactionsAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
GetReactionsAsync(ulong, ulong, string, ulong?, int)
Gets all users that reacted with a specific emoji to a message
public Task<IReadOnlyList<DiscordUser>> GetReactionsAsync(ulong channelId, ulong messageId, string emoji, ulong? afterId = null, int limit = 25)
Parameters
channelId
ulongChannel ID
messageId
ulongMessage ID
emoji
stringEmoji to check for
afterId
ulong?Whether to search for reactions after this message id.
limit
intThe maximum amount of reactions to fetch.
Returns
GetReactionsAsync(ulong, ulong, DiscordEmoji, ulong?, int)
Gets all users that reacted with a specific emoji to a message
public Task<IReadOnlyList<DiscordUser>> GetReactionsAsync(ulong channelId, ulong messageId, DiscordEmoji emoji, ulong? afterId = null, int limit = 25)
Parameters
channelId
ulongChannel ID
messageId
ulongMessage ID
emoji
DiscordEmojiEmoji to check for
afterId
ulong?Whether to search for reactions after this message id.
limit
intThe maximum amount of reactions to fetch.