Table of Contents

Class DiscordSelectDefaultValue

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

A select default value for use with UserSelect, RoleSelect, ChannelSelect or MentionableSelect.

public sealed class DiscordSelectDefaultValue
Inheritance
DiscordSelectDefaultValue
Inherited Members

Constructors

DiscordSelectDefaultValue(DiscordChannel)

Constructs a new DiscordSelectDefaultValue for a channel.

DiscordSelectDefaultValue(DiscordRole)

Constructs a new DiscordSelectDefaultValue for a role.

DiscordSelectDefaultValue(DiscordUser)

Constructs a new DiscordSelectDefaultValue for a user.

DiscordSelectDefaultValue(ulong, string)

Constructs a new DiscordSelectDefaultValue for an id with corrosponding type.

Properties

Id

The id of a user, role, or channel.

Type

The type of value that Id represents.