Class CurrentUserOptions
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public class CurrentUserOptions
- Inheritance
-
CurrentUserOptions
- Inherited Members
-
Properties
Avatar
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("avatar")]
public ImageProperties? Avatar { get; set; }
Property Value
- ImageProperties?
Banner
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("banner")]
public ImageProperties? Banner { get; set; }
Property Value
- ImageProperties?
Username
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("username")]
public string? Username { get; set; }
Property Value
- string
Methods
WithAvatar(ImageProperties?)
public CurrentUserOptions WithAvatar(ImageProperties? avatar)
Parameters
avatar
ImageProperties?
Returns
- CurrentUserOptions
WithBanner(ImageProperties?)
public CurrentUserOptions WithBanner(ImageProperties? banner)
Parameters
banner
ImageProperties?
Returns
- CurrentUserOptions
WithUsername(string?)
public CurrentUserOptions WithUsername(string? username)
Parameters
username
string
Returns
- CurrentUserOptions