menu
light_mode dark_mode routine

Class At code

命名空间
Another_Mirai_Native.Abstractions.Models.MessageItem
程序集
Another-Mirai-Native.Abstractions.dll

@消息片段。

public class At : MessageItemBase
继承
At
继承成员

构造函数

At(long, bool) code

@消息片段。

public At(long target, bool allTarget)

参数

target long

目标 QQ。

allTarget bool

是否 @全体成员。

属性

AllTarget code

是否 @全体成员。

public bool AllTarget { get; set; }

属性值

bool

MessageItemType code

获取或设置消息片段类型。

public override MessageItemType MessageItemType { get; set; }

属性值

MessageItemType

Target code

目标 QQ。

public long Target { get; set; }

属性值

long

方法

ToString() code

返回当前消息片段的 CQ 码字符串表示。

public override string ToString()

返回值

string

CQ 码文本。