# Obtain all the child blocks

Retrieves the rich text content of all child blocks of a specified block in the   group announcement and return it paginated. The document revision number is optional.

**Notice**：**Application frequency limit:** the maximum frequency of a single application call is 10 times per second, beyond which the interface will return HTTP status code 400 and error code 99991400. When a request is frequency-limited, the application needs to handle the frequency-limited status code and use an exponential fallback algorithm or some other frequency-control strategy to reduce the rate of calls to the API.

## Prerequisites

- The application needs to enable [bot capability](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability).
- The user or robot calling the current interface must be in the corresponding group.
- When obtaining internal group information, the user or robot calling the current interface must be in the same tenant as the corresponding group.

## Request

Facts | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/docx/v1/chats/:chat_id/announcement/blocks/:block_id/children
HTTP Method | GET
Supported app types | Custom App、Store App
Required scopes<br>**To use this API, you must have at least 1 of the listed scopes.** | View group announcement(im:chat.announcement:read)
Required field scopes | **Notice**：The response body of the API contains the following sensitive fields, and they will be returned only after corresponding scopes are added. If you do not need the fields, it is not recommended that you request the scopes.<br>Obtain user ID(contact:user.employee_id:readonly)

### Request header

Parameter | Type | Required | Description
---|---|---|---
Authorization | string | Yes | `tenant_access_token`<br>or<br>`user_access_token`<br>**Value format**: "Bearer `access_token`"<br>**Example value**: "Bearer u-7f1bcd13fc57d46bac21793a18e560"<br>[How to choose and get access token](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-choose-which-type-of-token-to-use)

### Path parameters

Parameter | Type | Description
---|---|---
chat_id | string | Group ID. How to get it:<br>- [Create a group](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/create), get the chat_id of the group from the returned result.<br>- Call the [Get the list of groups that the user or robot is in](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/list) interface to query the chat_id of the group that the user or robot is in.<br>- Call the [Search the list of groups visible to the user or robot](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/search) to search for the chat_id of the group that the user or robot is in and the group that is open to the user or robot.<br>**Note**: Single chat (group type is `p2p`) does not support getting group announcements.<br>**Example value**: "oc_5ad11d72b830411d72b836c20"
block_id | string | The unique identifier of the block. You can use the [Obtain all blocks of a group announcement](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/chat-announcement-block/list) to get the `block_id`.<br>**Example value**: "doxcnO6UW6wAw2qIcYf4hZpFIth"

### Query parameters

Parameter | Type | Required | Description
---|---|---|---
revision_id | int | No | The group announcement version to be queried. -1 indicates the latest version of the group announcement. Once the group announcement is created, the `revision_id ` is 1. If querying the latest version, reading permissions for the group announcement are required. If querying a historical version, editing permissions for the group announcement are necessary. You can use the [Obtain the basic information of a group announcement](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-v1/chat-announcement/get) api to get the latest revision ID<br>**Example value**: -1<br>**Default value**: `-1`<br>**Data validation rules**:<br>- Minimum value: `-1`
page_token | string | No | Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups<br>**Example value**: "aw7DoMKBFMOGwqHCrcO8w6jCmMOvw6ILeADCvsKNw57Di8O5XGV3LG4_w5HCqhFxSnDCrCzCn0BgZcOYUg85EMOYcEAcwqYOw4ojw5QFwofCu8KoIMO3K8Ktw4IuNMOBBHNYw4bCgCV3U1zDu8K-J8KSR8Kgw7Y0fsKZdsKvW3d9w53DnkHDrcO5bDkYwrvDisOEPcOtVFJ-I03CnsOILMOoAmLDknd6dsKqG1bClAjDuS3CvcOTwo7Dg8OrwovDsRdqIcKxw5HDohTDtXN9w5rCkWo"
page_size | int | No | paging size<br>**Example value**: 500<br>**Default value**: `500`<br>**Data validation rules**:<br>- Minimum value: `1`
user_id_type | string | No | User ID categories<br>**Example value**: "open_id"<br>**Optional values are**:<br>- open_id：Identifies a user to an app. The same user has different Open IDs in different apps. [How to get Open ID](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-openid)<br>- union_id：Identifies a user to a tenant that acts as a developer. A user has the same Union ID in apps developed by the same developer, and has different Union IDs in apps developed by different developers. A developer can use Union ID to link the same user's identities in multiple apps.[How to get Union ID](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-union-id)<br>- user_id：Identifies a user to a tenant. The same user has different User IDs in different tenants. In one single tenant, a user has the same User ID in all apps （including store apps）. User ID is usually used to communicate user data between different apps. [How to get User ID](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-user-id)<br>**Default value**: `open_id`<br>**When the value is `user_id`, the following field scopes are required**:<br>Obtain user ID(contact:user.employee_id:readonly)

## Response

### Response body

Parameter | Type | Description
---|---|---
code | int | Error codes, fail if not zero
msg | string | Error descriptions
data | \- | \-
items | block\[\] | List of Blocked Children
block_id | string | The unique identification of a block
parent_id | string | The ID of a block's parent
children | string\[\] | ID list of a block's children
block_type | int | Block type<br>**Optional values are**:<br>- 1：Page Block<br>- 2：Text Block<br>- 3：Level 1 Heading Block<br>- 4：Level 2 Heading Block<br>- 5：Level 3 Heading Block<br>- 6：Level 4 Heading Block<br>- 7：Level 5 Heading Block<br>- 8：Level 6 Heading Block<br>- 9：Level 7 Heading Block<br>- 10：Level 8 Heading Block<br>- 11：Level 9 Heading Block<br>- 12：Bullet List Block<br>- 13：Ordered List Block<br>- 14：Code Block<br>- 15：Quote Block<br>- 17：Todo Block<br>- 18：Bitable Block<br>- 19：Callout Block<br>- 20：Chat Card Block<br>- 21：UML Diagram Block<br>- 22：Divider Block. The Divider Block is an empty struct, and you need to add `{}` to construct the Divider Block.<br>- 23：File Block<br>- 24：Grid Block<br>- 25：Grid Column Block<br>- 26：Iframe Block<br>- 27：Image Block<br>- 28：ISV Block<br>- 29：Mindnote Block<br>- 30：Sheet Block<br>- 31：Table Block<br>- 32：Table Cell Block<br>- 33：View Block<br>- 34：Quote Container Block. The Quote Container Block is an empty struct, and you need to add `{}` to construct the Quote Container Block.<br>- 35：Task Block<br>- 36：OKR Block<br>- 37：OKR Objective Block<br>- 38：OKR Key Result Block<br>- 39：OKR Progress Block<br>- 40：Add-Ons Block<br>- 41：Jira Issue Block<br>- 42：Wiki Catalog Block<br>- 43：Board<br>- 44：Agenda Block<br>- 45：Agenda Item Block<br>- 46：Agenda Item Title Block<br>- 47：Agenda Item Content Block<br>- 48：Link Preview Block<br>- 999：Blocks not supported
page | text | Document Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
text | text | Text Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading1 | text | Level 1 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading2 | text | Level 2 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading3 | text | Level 3 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading4 | text | Level 4 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading5 | text | Level 5 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading6 | text | Level 6 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading7 | text | Level 7 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading8 | text | Level 8 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
heading9 | text | Level 9 Heading Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
bullet | text | Bullet List Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
ordered | text | Ordered List Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
code | text | Code Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
quote | text | Quote Block.
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | text | Equation Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
todo | text | Todo Block
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
bitable | bitable | Bitable Block
token | string | Bitable Block
callout | callout | Callout Block
background_color | int | Callout block background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium gray<br>- 8：Medium Red<br>- 9：Medium orange<br>- 10：Medium yellow<br>- 11：Medium green<br>- 12：Medium blue<br>- 13：Medium purple<br>- 14：Gray<br>- 15：Light Gray
border_color | int | Border color<br>**Optional values are**:<br>- 1：Red<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Gray
text_color | int | Text color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
emoji_id | string | Callout Block icon
chat_card | chat_card | Chat Card Block
chat_id | string | Chat ID
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
diagram | diagram | UML Diagram Block
diagram_type | int | Diagram type<br>**Optional values are**:<br>- 1：Flowchart<br>- 2：UML diagram
divider | divider | Divider Block. The Divider Block is an empty struct, and you need to add {} to construct the Divider Block.
file | file | File Block
token | string | Attachment Token
name | string | File name
view_type | int | View type<br>**Optional values are**:<br>- 1：Card view<br>- 2：Preview view
grid | grid | Grid Block
column_size | int | Number of columns
grid_column | grid_column | Grid Column Block
width_ratio | int | The proportion of the current column to the total column, unit %
iframe | iframe | Iframe Block
component | iframe_component | Component elements of iframe
iframe_type | int | Iframe Type<br>**Optional values are**:<br>- 1：Bilibili<br>- 2：Xigua Video<br>- 3：Youku<br>- 4：Airtable<br>- 5：Baidu Map<br>- 6：Autonavi Map<br>- 7：Undefined<br>- 8：Figma<br>- 9：Ink knife<br>- 10：Canva<br>- 11：CodePen<br>- 12：Feishu Survey<br>- 13：Gold data<br>- 14：Undefined<br>- 15：Undefined<br>- 99：Other
url | string | Iframe target url (requires url_encode)
image | image | Image Block
width | int | Width unit px
height | int | Height unit px
token | string | Image token
align | int | alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
isv | isv | ISV Block
component_id | string | Team Interaction App Unique ID.
component_type_id | string | Team interaction application types, such as information collection "blk_5f992038c64240015d280958".
add_ons | add_ons | Add-ons. To learn about the Docs add-on, refer to [Overview of Docs add-on](https://open.feishu.cn/document/uAjLw4CM/uYjL24iN/docs-add-on/docs-add-on-introduction)
component_id | string | Document component ID. The ID can be obtained by calling the [Create BlockEntity](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/block-v2/entity/create) api and from the `block_id` in the response body. The `block_type_id` used during creation must be consistent with the `component_type_id`.
component_type_id | string | Document widget types, such as Q & A interactive "blk_636a0a6657db8001c8df5488".  This ID can be obtained in [Developer Console](https://open.feishu.cn/app) > **Application Details Page** > **Add Features** > **Docs add-on** > **BlockTypeID**.
record | string | Document widget content data, JSON string
mindnote | mindnote | Mindnote Block
token | string | Mindnote token
sheet | sheet | Sheet Block
token | string | The combination of the token of the spreadsheet block and the sheet ID
table | table | Table Block
cells | string\[\] | Array of cells, the array element is the ID of the Table Cell Block
property | table_property | Table Properties
row_size | int | Number of rows<br>- In the **Create Blocks** api, the maximum value of this field is 9 <br>- In the **Create Nested Blocks** api, if a single table cell does not exceed the upper limit of 2000, this field has no fixed maximum value
column_size | int | Number of columns<br>- In the **Create Blocks** api, the maximum value of this field is 9 <br>- In the **Create Nested Blocks** api, the maximum value of this field is 100
column_width | int\[\] | Column width in px
merge_info | table_merge_info\[\] | Cell merge information. This property is read-only when creating a table and is generated by the backend. If you need to merge cells, you can do so by using the subrequest merge_table_cells of the Update Block api.
row_span | int | Number of consecutive rows merged from the current line
col_span | int | Number of consecutive columns that are merged from the current pristine
header_row | boolean | Set the first row as the header row.
header_column | boolean | Set the first column as the header column.
table_cell | table_cell | Table Cell Block
view | view | View Block
view_type | int | View type<br>**Optional values are**:<br>- 1：Card view<br>- 2：Preview view<br>- 3：inline
undefined | undefined | Blocks not supported
quote_container | quote_container | Quote Container Block. The Quote Container Block is an empty struct, and you need to add `{}` to construct the Quote Container Block.
task | task | Task Block
task_id | string | Task ID. For query task details, see: [Get Task Details](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/task-v2/task/get)
folded | boolean | Folded state
okr | okr | OKR blocks. It can only be created when using Authorization with `user_access_token`
okr_id | string | OKR ID. Get the OKR ID that needs to be inserted and see [Get the user's OKR list](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/user-okr/list)
period_display_status | string | Period status<br>**Optional values are**:<br>- default：Default<br>- normal：Normal<br>- invalid：Invalid<br>- hidden：Hidden
period_name_zh | string | Chinese Period Name
period_name_en | string | English Period Name
user_id | string | The owner id of OKR
visible_setting | okr_visible_setting | Visibility settings
progress_fill_area_visible | boolean | Is the progress edit area visible
progress_status_visible | boolean | Is the progress status visible
score_visible | boolean | Is the score visible
okr_objective | okr_objective | OKR Objective Block
objective_id | string | Objective ID
confidential | boolean | Whether private permissions have been set in OKR system
position | int | The position number of the objective, corresponding to the 1 and 2 of O1 and O2 in the Block
score | int | Score information
visible | boolean | Whether the objective is displayed in OKR Block
weight | float | Objective weight
progress_rate | okr_progress_rate | Progress information
mode | string | Status mode<br>**Optional values are**:<br>- simple：Simple mode<br>- advanced：Advanced mode
current | float | Current progress, unit %, used in advanced mode
percent | float | Current progress percentage, used in simple mode
progress_status | string | Status of progress<br>**Optional values are**:<br>- unset：Not set<br>- normal：Normal<br>- risk：Risky<br>- extended：Postponed
start | float | Progress starting value, unit %, used in advanced mode
status_type | string | State Calculation Type<br>**Optional values are**:<br>- default：Presenting the Highest Risk Key Result<br>- custom：Custom
target | float | Progress target value, unit %, used in advanced mode
content | text | Objective textual content
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
okr_key_result | okr_key_result | OKR Key Result Block
kr_id | string | ID of key result
confidential | boolean | Whether private permissions have been set  in OKR system
position | int | The position number of the key result corresponds to 1 and 2 of KR1 and KR2 in the Block.
score | int | Score information
visible | boolean | Is this key result visible in OKR Block
weight | float | Weight of key result
progress_rate | okr_progress_rate | Progress information
mode | string | Status mode<br>**Optional values are**:<br>- simple：Simple mode<br>- advanced：Advanced mode
current | float | Current progress, unit %, used in advanced mode
percent | float | Current progress percentage, used in simple mode
progress_status | string | Status of progress<br>**Optional values are**:<br>- unset：Not set<br>- normal：Normal<br>- risk：Risky<br>- extended：Postponed
start | float | Progress starting value, unit %, used in advanced mode
status_type | string | State Calculation Type<br>**Optional values are**:<br>- default：Presenting the Highest Risk Key Result<br>- custom：Custom
target | float | Progress target value, unit %, used in advanced mode
content | text | Key result textual content
style | text_style | Text style
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
done | boolean | Todo's status. Supports Todo Blocks
folded | boolean | Folded state of text. Supports Heading1~9 block and the Text, Bullet, Ordered and Todo blocks with children
language | int | Code block language. Only supports Code block<br>**Optional values are**:<br>- 1：PlainText<br>- 2：ABAP<br>- 3：Ada<br>- 4：Apache<br>- 5：Apex<br>- 6：Assembly Language<br>- 7：Bash<br>- 8：CSharp<br>- 9：C++<br>- 10：C<br>- 11：COBOL<br>- 12：CSS<br>- 13：CoffeeScript<br>- 14：D<br>- 15：Dart<br>- 16：Delphi<br>- 17：Django<br>- 18：Dockerfile<br>- 19：Erlang<br>- 20：Fortran<br>- 21：FoxPro<br>- 22：Go<br>- 23：Groovy<br>- 24：HTML<br>- 25：HTMLBars<br>- 26：HTTP<br>- 27：Haskell<br>- 28：JSON<br>- 29：Java<br>- 30：JavaScript<br>- 31：Julia.<br>- 32：Kotlin<br>- 33：LateX<br>- 34：Lisp<br>- 35：Logo<br>- 36：Lua<br>- 37：MATLAB<br>- 38：Makefile<br>- 39：Markdown<br>- 40：Nginx<br>- 41：Objective-C<br>- 42：OpenEdgeABL<br>- 43：PHP<br>- 44：Perl<br>- 45：PostScript<br>- 46：Power Shell<br>- 47：Prolog<br>- 48：ProtoBuf<br>- 49：Python<br>- 50：R<br>- 51：RPG<br>- 52：Ruby<br>- 53：Rust<br>- 54：SAS<br>- 55：SCSS<br>- 56：SQL<br>- 57：Scala<br>- 58：Scheme<br>- 59：Scratch<br>- 60：Shell<br>- 61：Swift<br>- 62：Thrift<br>- 63：TypeScript<br>- 64：VBScript<br>- 65：Visual Basic<br>- 66：XML<br>- 67：YAML<br>- 68：CMake<br>- 69：Diff<br>- 70：Gherkin<br>- 71：GraphQL<br>- 72：OpenGL Shading Language<br>- 73：Properties<br>- 74：Solidity<br>- 75：TOML
wrap | boolean | Whether the code block wraps automatically. Only supports the Code block
background_color | string | The background color of the block<br>**Optional values are**:<br>- LightGrayBackground：Light gray<br>- LightRedBackground：Light red<br>- LightOrangeBackground：Light orange<br>- LightYellowBackground：Light yellow<br>- LightGreenBackground：Light green<br>- LightBlueBackground：Light blue<br>- LightPurpleBackground：Light purple<br>- PaleGrayBackground：Medium gray<br>- DarkGrayBackground：Gray<br>- DarkRedBackground：Medium red<br>- DarkOrangeBackground：Medium orange<br>- DarkYellowBackground：Medium yellow<br>- DarkGreenBackground：Medium green<br>- DarkBlueBackground：Medium blue<br>- DarkPurpleBackground：Medium purple
indentation_level | string | First line indentation level. Only supports the Text block.<br>**Optional values are**:<br>- NoIndent：No indent<br>- OneLevelIndent：One Level indent
sequence | string | Used to determine the number of an ordered list, either a number or 'auto' <br>- Start a new list, numbering starts at 1, sequence='1' <br>- Manually change the numbering, the numbering is set to a specific number, e.g. sequence='3'<br>- Continue numbering, numbering is automatically consecutive, sequence='auto'<br>- Some historical data and ordered block created through OpenAPI do not return this field
elements | text_element\[\] | Text element
text_run | text_run | Text. Supports Page, Text, Heading1~9, Bullet, Ordered, Code, Quote and Todo blocks
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @User. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder. Supports Text, Heading1~9, Bullet, Ordered, Quote and Todo blocks
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElements
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
okr_progress | okr_progress | OKR Progress Block
comment_ids | string\[\] | Comment ids
jira_issue | jira_issue | Jira Issue Block
id | string | Jira Issue ID
key | string | Jira Key
wiki_catalog | wiki_catalog | Wiki Catalog Block
wiki_token | string | wiki token
board | board | Board Block
token | string | Board Token
align | int | Alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
width | int | The width of the board, measured in pixels (px); when left blank, it will automatically adapt to the document's width. If the specified value exceeds the maximum width of the document, the page rendering will be constrained to the document's maximum width.
height | int | The height of the board, measured in pixels (px); when left blank, it will be automatically calculated based on the content of the board. If the specified value exceeds twice the height of the screen, the page rendering will be constrained to twice the screen height.
agenda | agenda | Agenda Block
agenda_item | agenda_item | Agenda Item Blocks
agenda_item_title | agenda_item_title | Agenda Item Title Block
elements | agenda_title_element\[\] | Text element
text_run | text_run | Text
content | string | Text content. To achieve line breaks in the text content, you can:<br>- Add `\n` to the text content to implement a soft break (consistent with the effect of pressing `Shift + Enter` in the document).<br>- Create a new text Block to implement a hard break between two text Blocks (consistent with the effect of pressing `Enter` in the document).<br>**Note**: Soft breaks may be ignored during rendering, depending on how the renderer handles them; hard breaks will always be displayed as a new line during rendering.
text_element_style | text_element_style | Text local style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_user | mention_user | @user
user_id | string | User OpenID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
mention_doc | mention_doc | @Document
token | string | Docs token
obj_type | int | Docs type<br>**Optional values are**:<br>- 1：Doc<br>- 3：Sheet<br>- 8：Bitable<br>- 11：MindNote<br>- 12：File<br>- 15：Slide<br>- 16：Wiki<br>- 22：Docx
url | string | Docs link (url_encode)
title | string | The title of the referenced document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
reminder | reminder | Date Reminder.
create_user_id | string | Creator user ID. The ID type is consistent with the value of the query parameter `user_id_type`. For how to obtain it, refer to the `user_id_type` parameter description.
is_notify | boolean | Whether to notify
is_whole_day | boolean | Whether it's a date or a whole hour
expire_time | string | Time the event occurred (millisecond timestamp)
notify_time | string | Time to trigger notification (millisecond timestamp)
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
file | inline_file | Inline file. Only supports deleting or moving the element, and creating new inline files is not supported
file_token | string | File token
source_block_id | string | The ID of the block in which the file is located in the current document
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
undefined | undefined_element | Unsupported TextElement
inline_block | inline_block | Inline block. Only supports deleting or moving the element, and creating new inline blocks is not supported
block_id | string | Block ID
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
equation | equation | Equation
content | string | Equation content that conforms to KaTeX syntax. For more information, see [KaTex syntax rules](https://katex.org/docs/supported.html].
text_element_style | text_element_style | Text element style
bold | boolean | Bold
italic | boolean | Italic
strikethrough | boolean | Strikethrough
underline | boolean | Underline
inline_code | boolean | Inline code
background_color | int | Background color<br>**Optional values are**:<br>- 1：Light red<br>- 2：Light orange<br>- 3：Light yellow<br>- 4：Light green<br>- 5：Light blue<br>- 6：Light purple<br>- 7：Medium grey<br>- 8：Dark red<br>- 9：Dark orange<br>- 10：Dark yellow<br>- 11：Dark green<br>- 12：Dark blue<br>- 13：Dark purple<br>- 14：Dark gray<br>- 15：Light gray
text_color | int | Font color<br>**Optional values are**:<br>- 1：Pink<br>- 2：Orange<br>- 3：Yellow<br>- 4：Green<br>- 5：Blue<br>- 6：Purple<br>- 7：Grey
link | link | Link
url | string | The url pointed to by hyperlinke (requires url_encode)
comment_ids | string\[\] | Comments ID list. When creating a Block, incoming comments ID are not supported. When updating the Element of a text Block, it is allowed to move the existing comment ID of the corresponding version to any Element in the same Block, but does not support incoming new comments ID. For comment content, please see: [Get Comment](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/list) API.
align | int | alignment<br>**Optional values are**:<br>- 1：Left typesetting<br>- 2：Centered typesetting<br>- 3：Right typesetting
agenda_item_content | agenda_item_content | Agenda Item Content Block
link_preview | link_preview | Link Preview Block
url_type | string | Link type<br>**Optional values are**:<br>- MessageLink：Message link<br>- Undefined：Undefined link type
page_token | string | Page identifier, when has_more is true, a new page_token will also be returned. Otherwise, page_token will not be returned
has_more | boolean | Whether the response body has more parameters

### Response body example
```json
{
  "code": 0,
  "data":
  {
    "has_more": false,
    "items":
    [
      {
        "block_id": "EJ8pdBT6RoA2BtxKXfuc1TD0n8f",
        "block_type": 3,
        "heading1":
        {
          "elements":
          [
            {
              "text_run":
              {
                "content": "Group announcement",
                "text_element_style":
                {
                  "bold": false,
                  "inline_code": false,
                  "italic": false,
                  "strikethrough": false,
                  "underline": false
                }
              }
            }
          ],
          "style":
          {
            "align": 1,
            "folded": false
          }
        },
        "parent_id": "oc_5ad11d72b830411d72b836c20"
      },
      {
        "block_id": "WoF4dolv0ohvegxctR9c1t0sn4b",
        "block_type": 2,
        "parent_id": "oc_5ad11d72b830411d72b836c20",
        "text":
        {
          "elements":
          [
            {
              "text_run":
              {
                "content": "Use the group announcement feature to communicate ",
                "text_element_style":
                {
                  "bold": false,
                  "inline_code": false,
                  "italic": false,
                  "strikethrough": false,
                  "underline": false
                }
              }
            },
            {
              "text_run":
              {
                "content": "important information",
                "text_element_style":
                {
                  "bold": true,
                  "inline_code": false,
                  "italic": false,
                  "strikethrough": false,
                  "underline": false
                }
              }
            },
            {
              "text_run":
              {
                "content": " to all members of a group. New members who join later can also view the current group announcement.",
                "text_element_style":
                {
                  "bold": false,
                  "inline_code": false,
                  "italic": false,
                  "strikethrough": false,
                  "underline": false
                }
              }
            }
          ],
          "style":
          {
            "align": 1,
            "folded": false
          }
        }
      },
      {
        "block_id": "UPD7dhkrLo8ZCfxoAYLcuEbDnzd",
        "block_type": 2,
        "parent_id": "oc_5ad11d72b830411d72b836c20",
        "text":
        {
          "elements":
          [
            {
              "text_run":
              {
                "content": "The group announcement editor now ",
                "text_element_style":
                {
                  "bold": false,
                  "inline_code": false,
                  "italic": false,
                  "strikethrough": false,
                  "underline": false
                }
              }
            },
            {
              "text_run":
              {
                "content": "supports real-time saving and collaborative editing",
                "text_element_style":
                {
                  "background_color": 4,
                  "bold": false,
                  "inline_code": false,
                  "italic": false,
                  "strikethrough": false,
                  "underline": false
                }
              }
            },
            {
              "text_run":
              {
                "content": ", allowing group members to ",
                "text_element_style":
                {
                  "bold": false,
                  "inline_code": false,
                  "italic": false,
                  "strikethrough": false,
                  "underline": false
                }
              }
            },
            {
              "text_run":
              {
                "content": "view the latest announcement content instantly.",
                "text_element_style":
                {
                  "background_color": 4,
                  "bold": false,
                  "inline_code": false,
                  "italic": false,
                  "strikethrough": false,
                  "underline": false
                }
              }
            }
          ],
          "style":
          {
            "align": 1,
            "folded": false
          }
        }
      }
    ]
  },
  "msg": "success"
}
```

### Error code

HTTP status code | Error code | Description | Troubleshooting suggestions
---|---|---|---
400 | 1770001 | invalid param | Confirm whether the passed parameters are valid
404 | 1770002 | not found | **For Document APIs**:<br>The `document_id` of the document does not exist. Please verify that the document has not been deleted or that the `document_id` is correct. Refer to [Document overview](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/document-docx/docx-overview) for information on how to get the `document_id` of a document.<br>**For Group Announcement APIs**:<br>The `chat_id` of the group announcement does not exist. Please verify that the group has not been disbanded or if the `chat_id` is correctly inputted.
400 | 1772001 | Chat announcement can NOT be found in chat information. | The group announcement information is abnormal. Please retry the operation. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.
400 | 1772002 | Operator and chat can NOT be in different tenants. | The operator and the group being operated should be under the same tenant.
400 | 1772003 | Operator can NOT be out of the chat. | The operator is not in the group. You need to [add the application or user currently calling the API to the group to be operated](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-members/create) and try again.
400 | 1772004 | The operator or invited bots does NOT have the authority to manage external chats without the scope. | The app does not have permission to operate external groups.
400 | 1772025 | Bot ability is not activated. | The app does not have bot capabilities enabled. You need to log in to the [Developer Console](https://open.feishu.cn/app), add the **Bot** capability in **Features** > **Add Features** on the app details page, and publish the app to make the configuration effective. For specific operations, see [Bot Capabilities](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability).
400 | 1772006 | announcement type is not supported | Except for the "Obtain the basic information of a group announcement" api, other Upgraded group announcements apis cannot operate doc-type group announcements. If you want to operate doc-type group announcements, please refer to the "[Old version of group announcements](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/chat/chat-announcement/intro)" api.
400 | 1772034 | The app is unavailable or inactivated by the tenant. | The app is unavailable or inactivated by the tenant.
403 | 1770032 | forbidden | **For Document APIs**:<br>- Confirm whether the current access identity has permission to read or edit documents. Please refer to the following methods to resolve this:<br>- If you are using a `tenant_access_token`, it means the current application does not have permission to read or edit documents. You need to add document permissions for the application through the cloud document webpage by navigating to the top right corner **"..."** -> **"... More"** -> **"Add applications"**.<br>**Note**: Before adding a document application, you need to ensure that the target application has at least one cloud document [API permission](https://open.feishu.cn/document/ukTMukTMukTM/uYTM5UjL2ETO14iNxkTN/scope-list) enabled. Otherwise, you will not be able to search for the target application in the document application window.<br>![](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/bb60f97ebb402475f2af1d3131d4914f_sLOzoqYRXX.png?height=1992&maxWidth=550&width=3278)<br>- If you are using a `user_access_token`, it means the current user does not have permission to read or edit documents. You need to add document permissions for the current user through the **Share** entry in the top right corner of the cloud document webpage.<br>![image.png](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/caceea2ac91c170555194d7a8dc2a317_GfTRc9xLAt.png?height=1992&maxWidth=550&width=3278)<br>For more details on the specific steps or other methods to add permissions, refer to [Cloud Document FAQ 3](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#16c6475a).<br>- Confirm whether the current access identity has permission to read MentionDoc, i.e., @document.<br>- Confirm whether the user in MentionUser, i.e., @user, is currently employed and is a contact of the current access identity.<br>- Confirm whether the current access identity has permission to view and share group cards.<br>- Confirm whether the current access identity has permission to access specific Wiki subdirectories.<br>- Confirm whether the current access identity has permission to view document blocks such as OKR, ISV, Add-Ons, etc.<br>**For Group Announcement APIs**:<br>The current operator does not have permission to edit group announcemen. Solution:<br>- Solution 1: Call the [Specify group administrator](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-managers/add_managers) interface to set the current operator as a group administrator, and then try again.<br>- Solution 2: In **Feishu Client > Group > Settings > Group Settings**, set **Who can edit group info** to **Everyone in this group**, and then try again.<br>When working with APIs for creating and updating group announcement, ensure the following:<br>- Confirm whether the current access identity has permission to read MentionDoc, i.e., @document.<br>- Confirm whether the user in MentionUser, i.e., @user, is currently employed and is a contact of the current access identity.<br>- Confirm whether the current access identity has permission to view and share group cards.<br>- Confirm whether the current access identity has permission to access specific Wiki subdirectories.<br>- Confirm whether the current access identity has permission to view document blocks such as OKR, ISV, Add-Ons, etc.
500 | 1771001 | server internal error | Server internal error. Please retry the operation. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.
500 | 1771002 | gateway server internal error | Gateway service internal error. Please retry the operation. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.
500 | 1771003 | gateway marshal error | Gateway service parsing error. Please retry the operation. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.
500 | 1771004 | gateway unmarshal error | Gateway service unmarshalling error. Please retry the operation. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.
503 | 1771005 | system under maintenance | System service is under maintenance. If the issue continues, consult [Technical Support](https://applink.feishu.cn/TLJpeNdW) for assistance.

