Table of Contents

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

id ulong

The id to set.

type string

The type of the id. Can be user, role or channel

DiscordSelectDefaultValue(DiscordRole)

Constructs a new DiscordSelectDefaultValue for a role.

public DiscordSelectDefaultValue(DiscordRole role)

Parameters

role DiscordRole

The role to set.

DiscordSelectDefaultValue(DiscordUser)

Constructs a new DiscordSelectDefaultValue for a user.

public DiscordSelectDefaultValue(DiscordUser user)

Parameters

user DiscordUser

The user to set.

DiscordSelectDefaultValue(DiscordChannel)

Constructs a new DiscordSelectDefaultValue for a channel.

public DiscordSelectDefaultValue(DiscordChannel channel)

Parameters

channel DiscordChannel

The channel to set.