Table of Contents

Class GuildWelcomeScreenChannelProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class GuildWelcomeScreenChannelProperties
Inheritance
GuildWelcomeScreenChannelProperties
Inherited Members

Constructors

GuildWelcomeScreenChannelProperties(ulong, string)

public GuildWelcomeScreenChannelProperties(ulong channelId, string description)

Parameters

channelId ulong
description string

Properties

ChannelId

[JsonPropertyName("channel_id")]
public ulong ChannelId { get; set; }

Property Value

ulong

Description

[JsonPropertyName("description")]
public string Description { get; set; }

Property Value

string

EmojiId

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("emoji_id")]
public ulong? EmojiId { get; set; }

Property Value

ulong?

EmojiName

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

Property Value

string

Methods

WithChannelId(ulong)

public GuildWelcomeScreenChannelProperties WithChannelId(ulong channelId)

Parameters

channelId ulong

Returns

GuildWelcomeScreenChannelProperties

WithDescription(string)

public GuildWelcomeScreenChannelProperties WithDescription(string description)

Parameters

description string

Returns

GuildWelcomeScreenChannelProperties

WithEmojiId(ulong?)

public GuildWelcomeScreenChannelProperties WithEmojiId(ulong? emojiId)

Parameters

emojiId ulong?

Returns

GuildWelcomeScreenChannelProperties

WithEmojiName(string?)

public GuildWelcomeScreenChannelProperties WithEmojiName(string? emojiName)

Parameters

emojiName string

Returns

GuildWelcomeScreenChannelProperties