Class GuildUsersRequestProperties
- Namespace
- NetCord.Gateway
- Assembly
- NetCord.dll
public class GuildUsersRequestProperties
- Inheritance
-
GuildUsersRequestProperties
- Inherited Members
-
Constructors
GuildUsersRequestProperties(ulong)
public GuildUsersRequestProperties(ulong guildId)
Parameters
guildId
ulong
Properties
GuildId
[JsonPropertyName("guild_id")]
public ulong GuildId { get; set; }
Property Value
- ulong
Limit
[JsonPropertyName("limit")]
public int Limit { get; set; }
Property Value
- int
Nonce
[JsonPropertyName("nonce")]
public string? Nonce { get; set; }
Property Value
- string
Presences
[JsonPropertyName("presences")]
public bool? Presences { get; set; }
Property Value
- bool?
Query
[JsonPropertyName("query")]
public string? Query { get; set; }
Property Value
- string
UserIds
[JsonPropertyName("user_ids")]
public IEnumerable<ulong>? UserIds { get; set; }
Property Value
- IEnumerable<ulong>
Methods
AddUserIds(IEnumerable<ulong>)
public GuildUsersRequestProperties AddUserIds(IEnumerable<ulong> userIds)
Parameters
userIds
IEnumerable<ulong>
Returns
- GuildUsersRequestProperties
AddUserIds(params ulong[])
public GuildUsersRequestProperties AddUserIds(params ulong[] userIds)
Parameters
userIds
ulong[]
Returns
- GuildUsersRequestProperties
WithGuildId(ulong)
public GuildUsersRequestProperties WithGuildId(ulong guildId)
Parameters
guildId
ulong
Returns
- GuildUsersRequestProperties
WithLimit(int)
public GuildUsersRequestProperties WithLimit(int limit)
Parameters
limit
int
Returns
- GuildUsersRequestProperties
WithNonce(string?)
public GuildUsersRequestProperties WithNonce(string? nonce)
Parameters
nonce
string
Returns
- GuildUsersRequestProperties
WithPresences(bool?)
public GuildUsersRequestProperties WithPresences(bool? presences = true)
Parameters
presences
bool?
Returns
- GuildUsersRequestProperties
WithQuery(string?)
public GuildUsersRequestProperties WithQuery(string? query)
Parameters
query
string
Returns
- GuildUsersRequestProperties
WithUserIds(IEnumerable<ulong>?)
public GuildUsersRequestProperties WithUserIds(IEnumerable<ulong>? userIds)
Parameters
userIds
IEnumerable<ulong>
Returns
- GuildUsersRequestProperties