What's New
Cloud Contact Center Terminology Update
https://console.tim.qq.com/v4/desk_http_svc/describe_chat_messages?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameter | Description |
v4/desk_http_svc/describe_chat_messages | Request API. |
sdkappid | Assigned SDKAppID in the Chat console when creating an application. |
identifier | |
usersig | Generated signature by the App administrator account. For specific operations, see Generate UserSig. |
random | Enter a random 32-bit unsigned integer in the range of 0 to 4294967295. |
contenttype | The request format has a fixed value of json. |
{"SessionId": "b0f4ca12-4850-4218-a284-efe679a87066","Limit": 50,"Offset": 0,"Order": 1}
Field | Type | Required | Description |
SessionId | String | Required | Specify the session ID to be queried. |
Limit | Integer | Optional. | Number of returned entries, the maximum is 100, the default is 20. Example value: 100 |
Offset | Integer | Optional. | Offset of returned records, default is 0. Example value: 0 |
Order | Integer | Optional. | 1. From morning to evening; 2. From evening to morning. Default is 2. Example value: 1 |
{"ActionStatus": "OK","ErrorCode": 0,"ErrorInfo": "","Messages": [{"FromAccount": "8618655061639","FromAccountRole": 1,"MsgBody": [{"MsgContent": {"Text": "hello"},"MsgType": "TIMTextElem"}],"Timestamp": 1730939030138}],"TotalCount": 26}
Field | Type | Description |
ErrorCode | Integer | Error Code: 0: success. Non-zero: failure. |
ErrorInfo | String | Error message. |
ActionStatus | String | Result of request processing. |
TotalCount | Integer | Total Message Count |
Messages | Array | Queried message list |
FromAccount | String | Message-sending account |
FromAccountRole | Integer | Account role for sending messages 1: User Message 2: Agent message 3: System management messages |
MsgBody | Array | |
Timestamp | Integer | Session time, Unix millisecond-level timestamp. |
Error Code | Description |
141000 | The application is not a desk application. |
141002 | CLS internal error, retry. |
141004 | Invalid parameter. |
141009 | API rate limiting. |
141010 | The session does not exist. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan