Documentation
¶
Overview ¶
message 包定义 AnyBot 的协议中立消息链。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain []Segment
Chain 是按顺序排列的协议中立消息段。
func (Chain) MarshalJSON ¶
MarshalJSON 将 nil 消息链编码为空数组,便于适配器直接作为消息参数传递。
Click to show internal directories.
Click to hide internal directories.