Table of Contents

Class CurrentGuildUserOptions

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class CurrentGuildUserOptions
Inheritance
CurrentGuildUserOptions
Derived
Inherited Members

Properties

Avatar

New avatar image.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("avatar")]
public ImageProperties? Avatar { get; set; }

Property Value

ImageProperties?

Banner

New banner image.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("banner")]
public ImageProperties? Banner { get; set; }

Property Value

ImageProperties?

Bio

New bio, empty to remove bio.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("bio")]
public string? Bio { get; set; }

Property Value

string

Nickname

New nickname, empty to remove nickname.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("nick")]
public string? Nickname { get; set; }

Property Value

string

Methods

WithAvatar(ImageProperties?)

New avatar image.

public CurrentGuildUserOptions WithAvatar(ImageProperties? avatar)

Parameters

avatar ImageProperties?

Returns

CurrentGuildUserOptions

WithBanner(ImageProperties?)

New banner image.

public CurrentGuildUserOptions WithBanner(ImageProperties? banner)

Parameters

banner ImageProperties?

Returns

CurrentGuildUserOptions

WithBio(string?)

New bio, empty to remove bio.

public CurrentGuildUserOptions WithBio(string? bio)

Parameters

bio string

Returns

CurrentGuildUserOptions

WithNickname(string?)

New nickname, empty to remove nickname.

public CurrentGuildUserOptions WithNickname(string? nickname)

Parameters

nickname string

Returns

CurrentGuildUserOptions