Table of Contents

Interface ISlashCommandInteractionDataOption

Namespace
HeyBox
Assembly
HeyBox.Net.Core.dll

表示一个斜线命令交互的选项。

public interface ISlashCommandInteractionDataOption

Properties

Name

获取此选项的名称。

string Name { get; }

Property Value

string

RawValue

获取此选项的原始值。

string RawValue { get; }

Property Value

string

Type

获取此选项的类型。

SlashCommandOptionType Type { get; }

Property Value

SlashCommandOptionType

Value

获取此选项的值。

note

此对象类型可能是 SlashCommandOptionType 中的任意一个选项类型。

object? Value { get; }

Property Value

object