Table of Contents

Method AddDefaultChannels

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddDefaultChannels(IEnumerable<DiscordChannel>)

Adds a collections of DiscordChannel as default values.

public DiscordChannelSelectComponent AddDefaultChannels(IEnumerable<DiscordChannel> channels)

Parameters

channels IEnumerable<DiscordChannel>

Collection of DiscordChannel

Returns

DiscordChannelSelectComponent

AddDefaultChannels(IEnumerable<ulong>)

Collections of channel ids to add as default values.

public DiscordChannelSelectComponent AddDefaultChannels(IEnumerable<ulong> ids)

Parameters

ids IEnumerable<ulong>

Collection of DiscordChannel ids

Returns

DiscordChannelSelectComponent