--- sidebar_position: 9 --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; # Get comment structure Get comment fields structure `Function GetCommentStructure(Val Clear = False) Export` | Parameter | CLI option | Type | Required | Description | |-|-|-|-|-| | Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values | Returns: Structure of KeyAndValue - Fields structure
```bsl title="1C:Enterprise/OneScript code example" Result = OPI_Bitrix24.GetCommentStructure(); ``` ```bash oint bitrix24 GetCommentStructure \ --empty false ``` ```batch oint bitrix24 GetCommentStructure ^ --empty false ``` ```json title="Result" { "AUTHOR_ID": "", "AUTHOR_NAME": "", "AUTHOR_EMAIL": "", "USE_SMILES": "<(Y|N) - parse comments for emoticons or not>", "POST_MESSAGE": "", "UF_FORUM_MESSAGE_DOC": "" } ```