Class ForwardMessage

一条转发消息

Hierarchy

  • ForwardMessage

Implements

Constructors

Properties

group_id?: number
message: MessageElem[]
nickname: string
parsed: Parser
proto: Proto
rand: number
raw_message: string
seq: number
source?: Quotable
time: number
user_id: number

Methods

  • 将转发消息序列化保存

    Returns Buffer

  • 转换为CQ码

    Returns string

  • 以适合人类阅读的形式输出

    Returns string

  • 反序列化一条转发消息

    Parameters

    • serialized: Buffer

    Returns ForwardMessage

Generated using TypeDoc