Interface: RichTextContentNode
富文本内容节点。
Properties
attributes
• Optional
attributes: Object
属性。
Type declaration
Name | Type | Description |
---|---|---|
at? | string | @ 的对象。 格式: - 用户:${@!<用户ID>} ,如 ${@!477511007129165824} 。 - 身份组:${@&<角色ID>} ,如 ${@&483266628902318082} 。 - 全体成员:${@&<服务器ID>} ,如 ${@&481087610740391936} 。 |
bold? | boolean | 粗体。 |
italic? | boolean | 斜体。 |
link? | string | 链接地址。 |
strike? | boolean | 删除线。 |
underline? | boolean | 下划线。 |
Defined in
insert
• insert: string
| RichTextImageContent
内容。