Table of Contents

Class GuildWelcomeScreenOptions

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

Properties

Description

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

Property Value

string

Enabled

[JsonPropertyName("enabled")]
public bool? Enabled { get; set; }

Property Value

bool?

WelcomeChannels

[JsonPropertyName("welcome_channels")]
public IEnumerable<GuildWelcomeScreenChannelProperties>? WelcomeChannels { get; set; }

Property Value

IEnumerable<GuildWelcomeScreenChannelProperties>

Methods

AddWelcomeChannels(params GuildWelcomeScreenChannelProperties[])

public GuildWelcomeScreenOptions AddWelcomeChannels(params GuildWelcomeScreenChannelProperties[] welcomeChannels)

Parameters

welcomeChannels GuildWelcomeScreenChannelProperties[]

Returns

GuildWelcomeScreenOptions

AddWelcomeChannels(IEnumerable<GuildWelcomeScreenChannelProperties>)

public GuildWelcomeScreenOptions AddWelcomeChannels(IEnumerable<GuildWelcomeScreenChannelProperties> welcomeChannels)

Parameters

welcomeChannels IEnumerable<GuildWelcomeScreenChannelProperties>

Returns

GuildWelcomeScreenOptions

WithDescription(string?)

public GuildWelcomeScreenOptions WithDescription(string? description)

Parameters

description string

Returns

GuildWelcomeScreenOptions

WithEnabled(bool?)

public GuildWelcomeScreenOptions WithEnabled(bool? enabled = true)

Parameters

enabled bool?

Returns

GuildWelcomeScreenOptions

WithWelcomeChannels(IEnumerable<GuildWelcomeScreenChannelProperties>?)

public GuildWelcomeScreenOptions WithWelcomeChannels(IEnumerable<GuildWelcomeScreenChannelProperties>? welcomeChannels)

Parameters

welcomeChannels IEnumerable<GuildWelcomeScreenChannelProperties>

Returns

GuildWelcomeScreenOptions