Class Text code
- 程序集
- Another-Mirai-Native.Abstractions.dll
纯文本消息片段。
public class Text : MessageItemBase
- 继承
-
Text
- 继承成员
构造函数
Text(string) code
纯文本消息片段。
public Text(string text)
参数
textstring文本内容。
属性
Content code
文本内容。
public string Content { get; set; }
属性值
MessageItemType code
获取或设置消息片段类型。
public override MessageItemType MessageItemType { get; set; }
属性值
方法
ToString() code
返回当前消息片段的 CQ 码字符串表示。
public override string ToString()
返回值
- string
CQ 码文本。