Method AddDefaultChannel
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
AddDefaultChannel(DiscordChannel)
Adds a default channel to this component.
public DiscordChannelSelectComponent AddDefaultChannel(DiscordChannel channel)
Parameters
channel
DiscordChannelChannel to add
Returns
AddDefaultChannel(ulong)
Adds a default channel to this component.
public DiscordChannelSelectComponent AddDefaultChannel(ulong id)
Parameters
id
ulongId of a DiscordChannel