public static class ContentParagraphElement.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
ContentParagraphElement |
build() |
ContentParagraphElement.Builder |
docsLink(ContentDocsLink docsLink)
文档链接,可以根据链接自动识别为标题
示例值:
|
ContentParagraphElement.Builder |
mention(ContentMention mention)
艾特对象
示例值:
|
ContentParagraphElement.Builder |
paragraphElementType(ContentParagraphElementParagraphElementTypeEnum paragraphElementType)
元素类型
示例值:textRun
|
ContentParagraphElement.Builder |
paragraphElementType(String paragraphElementType)
元素类型
示例值:textRun
|
ContentParagraphElement.Builder |
textRun(ContentTextRun textRun)
文本
示例值:
|
public ContentParagraphElement.Builder paragraphElementType(String paragraphElementType)
示例值:textRun
paragraphElementType - public ContentParagraphElement.Builder paragraphElementType(ContentParagraphElementParagraphElementTypeEnum paragraphElementType)
示例值:textRun
paragraphElementType - ContentParagraphElementParagraphElementTypeEnumpublic ContentParagraphElement.Builder textRun(ContentTextRun textRun)
示例值:
textRun - public ContentParagraphElement.Builder docsLink(ContentDocsLink docsLink)
示例值:
docsLink - public ContentParagraphElement.Builder mention(ContentMention mention)
示例值:
mention - public ContentParagraphElement build()
Copyright © 2026. All rights reserved.