---
sidebar_position: 21
---

# Get chats structure
 Get chat fields structure



`Function GetChatStructure(Val Clear = False) Export`

  | Parameter | CLI option | Type | Description |
  |-|-|-|-|
  | Clear | --empty | Boolean | True > structure with empty values, False > field types at values |

  
  Returns:  Structure of KeyAndValue - Fields structure

<br/>




```bsl title="Code example"

```



```sh title="CLI command example"
    
  oint bitrix24 GetChatStructure --empty %empty%

```

```json title="Result"

```
