Constructor DiscordSelectDefaultValue
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DiscordSelectDefaultValue(ulong, string)
Constructs a new DiscordSelectDefaultValue for an id
with corrosponding type
.
public DiscordSelectDefaultValue(ulong id, string type)
Parameters
DiscordSelectDefaultValue(DiscordRole)
Constructs a new DiscordSelectDefaultValue for a role.
public DiscordSelectDefaultValue(DiscordRole role)
Parameters
role
DiscordRoleThe role to set.
DiscordSelectDefaultValue(DiscordUser)
Constructs a new DiscordSelectDefaultValue for a user.
public DiscordSelectDefaultValue(DiscordUser user)
Parameters
user
DiscordUserThe user to set.
DiscordSelectDefaultValue(DiscordChannel)
Constructs a new DiscordSelectDefaultValue for a channel.
public DiscordSelectDefaultValue(DiscordChannel channel)
Parameters
channel
DiscordChannelThe channel to set.