Class GuildEmojiOptions
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public class GuildEmojiOptions
- Inheritance
-
GuildEmojiOptions
- Inherited Members
-
Properties
AllowedRoles
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("roles")]
public IEnumerable<ulong>? AllowedRoles { get; set; }
Property Value
- IEnumerable<ulong>
Name
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
- string
Methods
AddAllowedRoles(IEnumerable<ulong>)
public GuildEmojiOptions AddAllowedRoles(IEnumerable<ulong> allowedRoles)
Parameters
allowedRoles
IEnumerable<ulong>
Returns
- GuildEmojiOptions
AddAllowedRoles(params ulong[])
public GuildEmojiOptions AddAllowedRoles(params ulong[] allowedRoles)
Parameters
allowedRoles
ulong[]
Returns
- GuildEmojiOptions
WithAllowedRoles(IEnumerable<ulong>?)
public GuildEmojiOptions WithAllowedRoles(IEnumerable<ulong>? allowedRoles)
Parameters
allowedRoles
IEnumerable<ulong>
Returns
- GuildEmojiOptions
WithName(string?)
public GuildEmojiOptions WithName(string? name)
Parameters
name
string
Returns
- GuildEmojiOptions