CRM channel model.
| Name | Type | Description |
|---|---|---|
| active | Boolean | Indicates whether the channel is active. |
| created_user_id | Int64 | ID of the user who created the channel. |
| end_message | String | Conversation closing message. |
| first_response_sec | Int32 | First response SLA in seconds. |
| id | Int64 | Channel ID. |
| intervals | Array of ChannelScheduleInterval | Channel working intervals. An empty list means 24/7 mode. |
| last_update | Int64 | Last update date as Unix time in seconds. |
| name | String | Channel name. Maximum length is 200 characters. |
| next_response_sec | Int32 | Next response SLA in seconds. |
| off_hours_message | String | Message shown outside working hours. |
| operators | Array of ChannelOperator | Channel operators. |
| pause_on_waiting_client | Boolean | Pauses SLA timers while the lead is waiting for the client. |
| queue_mode | String | Lead processing queue mode. Allowed values: Default, Pool, Direct. |
| rating_enabled | Boolean | Indicates whether conversation rating is enabled. |
| rating_message | String | Rating request text. |
| rating_negative_message | String | Text shown after a negative rating. |
| rating_positive_message | String | Text shown after a positive rating. |
| resolve_sec | Int32 | Full resolution SLA in seconds. |
| routing_strategy | String | Lead routing strategy. Allowed values: Default, RoundRobin, LeastLoaded, Manual. |
| start_message | String | Channel greeting message. |