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