Property | Type | Description |
---|---|---|
urlChat | String | Chat server address |
urlOfflineForm | String | Address for sending feedback form data (standard https://secure.usedesk.ru/) |
urlToSendFile | String | Address for sending chat files (standard https://secure.usedesk.ru/uapi/v1/) |
companyId | String | Company ID |
clientEmail | String | Client Email |
clientName | String? | Client name |
clientPhoneNumber | Long? | Client phone number |
clientAdditionalId | Long? | Additional client ID |
clientInitMessage | String? | Message from a client when opening a chat |
Property | Type | Description |
---|---|---|
id | Long | Message ID |
createdAt | Calendar | Date of message creation |
type | UsedeskMessage.Type | Message type (TYPE_AGENT_TEXT, TYPE_AGENT_IMAGE, TYPE_AGENT_FILE, TYPE_CLIENT_TEXT, TYPE_CLIENT_IMAGE, TYPE_CLIENT_FILE) |
Property | Type | Description |
---|---|---|
name | String | Agent's name |
avatar | String | Link to the agent icon |
Property | Type | Description |
---|---|---|
status | UsedeskMessageClient.Status | Message sending status (SENDING, SUCCESSFULLY_SENT, SEND_FAILED, RECEIVED) |
Property | Type | Description |
---|---|---|
text | String | Text message |
Property | Type | Description |
---|---|---|
file | UsedeskFile | Message file |
Property | Type | Description |
---|---|---|
type | UsedeskMessage.Type | Message type (TYPE_AGENT_TEXT) |
buttons | List |
Message action buttons |
feedbackNeeded | Boolean | Waiting for user feedback flag |
feedback | UsedeskFeedback? | Posted feedback from the user |
Property | Type | Description |
---|---|---|
type | UsedeskMessage.Type | Message Type (TYPE_AGENT_FILE) |
Property | Type | Description |
---|---|---|
type | UsedeskMessage.Type | Message Type (TYPE_AGENT_IMAGE) |
Property | Type | Description |
---|---|---|
type | UsedeskMessage.Type | Message Type (TYPE_CLIENT_TEXT) |
Property | Type | Description |
---|---|---|
type | UsedeskMessage.Type | Message Type(TYPE_CLIENT_FILE) |
Property | Type | Description |
---|---|---|
type | UsedeskMessage.Type | Message Type (TYPE_CLIENT_IMAGE) |
Property | Type | Description |
---|---|---|
uri | Uri | Link to the file |
type | String | MIME type of the file |
name | String | File name |
Property | Type | Description |
---|---|---|
content | String | Link to the file |
type | String | MIME type of the file |
size | String | File size |
name | String | File name |
Property | Type | Description |
---|---|---|
clientName | String | Client name |
clientEmail | String | Client Email |
message | String | Client text message |