Class GuildMessageEvent

频道消息事件

Constructors

Properties

channel_id: string

子频道id

channel_name: string

子频道名

detail_type: string = 'guild'
guild_id: string

频道id

guild_name: string

频道名

is_delete?: boolean
message: MessageElem[]

消息内容

post_type: "message" = 'message'
rand: number
raw_message: string
reply: ((content: Sendable) => Promise<GuildMessageRet>)

暂时仅支持发送: 文本、AT、表情

sender: {
    nickname: string;
    tiny_id: string;
}

发送方信息

Type declaration

  • nickname: string

    昵称

  • tiny_id: string

    账号

seq: number

消息序号(同一子频道中一般顺序递增)

time: number