Text
class Text extends Message
text类型
Properties
protected string | $type | 消息类型 | from Message |
protected array | $atMobiles | 被@人的手机号(在content里添加@人的手机号) | from Message |
protected bool | $isAll | 是否@所有人 | from Message |
protected array | $message | 最终消息结构体 | from Message |
Methods
string
toJson()
No description
__construct(string $content)
Text constructor.
Details
at line 38
string
toJson()
No description
in
Message at line 90
protected string
formatContent(string $content)
格式化消息体
at line 29
__construct(string $content)
Text constructor.