Knowledge Base Classes
All classes are current as of version 4.7.0.
Knowledge Base configuration class — UsedeskKnowledgeBaseConfiguration
| Name | Type | Description |
|---|---|---|
| urlApi | String | API address. Defaults to https://secure.usedesk.ru |
| accountId | String | Account identifier |
| token | String | Knowledge Base token |
| clientEmail | String? | Client email |
| clientName | String? | Client name |
Section class — UsedeskSection
| Name | Type | Description |
|---|---|---|
| id | Long | Section identifier |
| title | String | Section title |
| thumbnail | String? | Section image link |
| categories | List<UsedeskCategory> | Section categories |
Category class — UsedeskCategory
| Name | Type | Description |
|---|---|---|
| id | Long | Category identifier |
| title | String | Category title |
| description | String | Category description |
| articles | List<UsedeskArticleInfo> | Category articles |
Short article info class — UsedeskArticleInfo
| Name | Type | Description |
|---|---|---|
| id | Long | Article identifier |
| title | String | Article title |
| categoryId | Long | Identifier of the category the article belongs to |
| viewsCount | Long | View count |
Article content class — UsedeskArticleContent
| Name | Type | Description |
|---|---|---|
| id | Long | Article identifier |
| title | String | Article title |
| categoryId | Long | Identifier of the category the article belongs to |
| viewsCount | Long | View count |
| text | String | Article text |
| public | Boolean | Whether the article is published |