Class SocketSlashCommandDataOption
表示一个通过网关接收的斜线命令的数据选项。
public class SocketSlashCommandDataOption : ISlashCommandInteractionDataOption
- Inheritance
-
SocketSlashCommandDataOption
- Implements
- Inherited Members
Properties
Name
获取此选项的名称。
public string Name { get; }
Property Value
RawValue
获取此选项的原始值。
public string RawValue { get; }
Property Value
Type
获取此选项的类型。
public SlashCommandOptionType Type { get; }
Property Value
Value
获取此选项的值。
note
此对象类型可能是 SlashCommandOptionType 中的任意一个选项类型。
public object? Value { get; }