Skip to content

Interface: RichTextContentNode

富文本内容节点。

Properties

attributes

Optional attributes: Object

属性。

Type declaration

NameTypeDescription
at?string@ 的对象。 格式: - 用户:${@!<用户ID>},如 ${@!477511007129165824}。 - 身份组:${@&<角色ID>},如 ${@&483266628902318082}。 - 全体成员:${@&<服务器ID>},如 ${@&481087610740391936}
bold?boolean粗体。
italic?boolean斜体。
link?string链接地址。
strike?boolean删除线。
underline?boolean下划线。

Defined in

src/rich-text.ts:23


insert

insert: string | RichTextImageContent

内容。

Defined in

src/rich-text.ts:21

Released under the MIT License.