Class SocketSlashCommandData
表示一个通过网关接收的斜线命令的数据。
public class SocketSlashCommandData : SocketEntity<ulong>, IEntity<ulong>, ISlashCommandInteractionData, IHeyBoxInteractionData
- Inheritance
-
SocketSlashCommandData
- Implements
- Inherited Members
Properties
Name
获取命令的名称。
public string Name { get; }
Property Value
Options
获取用户提供的选项。
public IReadOnlyCollection<SocketSlashCommandDataOption> Options { get; }