Table of Contents

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

guildEvent DiscordScheduledGuildEvent

The event to query users from

limit int

How many users to fetch.

after ulong?

Fetch users after this id. Mutually exclusive with before

before ulong?

Fetch users before this id. Mutually exclusive with after

Returns

IAsyncEnumerable<DiscordUser>

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

guildEventId ulong

The id of the event to query users from

limit int

How many users to fetch. The method performs one api call per 100 users

after ulong?

Fetch users after this id. Mutually exclusive with before

before ulong?

Fetch users before this id. Mutually exclusive with after

Returns

IAsyncEnumerable<DiscordUser>