Method GetEventUsersAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
GetEventUsersAsync(DiscordScheduledGuildEvent, int, ulong?, ulong?)
Gets a list of users who are interested in this event.
public IAsyncEnumerable<DiscordUser> GetEventUsersAsync(DiscordScheduledGuildEvent guildEvent, int limit = 100, ulong? after = null, ulong? before = null)
Parameters
guildEventDiscordScheduledGuildEventThe event to query users from
limitintHow many users to fetch.
afterulong?Fetch users after this id. Mutually exclusive with before
beforeulong?Fetch users before this id. Mutually exclusive with after
Returns
GetEventUsersAsync(ulong, int, ulong?, ulong?)
Gets a list of users who are interested in this event.
public IAsyncEnumerable<DiscordUser> GetEventUsersAsync(ulong guildEventId, int limit = 100, ulong? after = null, ulong? before = null)
Parameters
guildEventIdulongThe id of the event to query users from
limitintHow many users to fetch. The method performs one api call per 100 users
afterulong?Fetch users after this id. Mutually exclusive with before
beforeulong?Fetch users before this id. Mutually exclusive with after