--- sidebar_position: 9 description: Get comment structure and other functions to work with Bitrix24 in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Bitrix24] --- 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": "" } ```