revoke_msg
Brief Description
- Simulate a user revoking a sent message.
Request Method
post
Request URL
http://x.x.x.x:10002/msg/revoke_msg
Header
Header Name | Example Value | Optional | Type | Description |
---|---|---|---|---|
operationID | 1646445464564 | No | string | operationID for global link tracking |
token | eyJhbxxxx3Xs | No | string | Admin token |
Request Parameter Example
{
"userID": "9906953281",
"conversationID": "si_2699373280_9906953281",
"seq": 2
}
Field Name | Optional | Type | Description |
---|---|---|---|
userID | No | string | Revoker's ID, can be the sender's ID or APP admin ID; in group chats, it can also be the ID of a user with a higher group member rank than oneself |
conversationID | No | string | Conversation ID |
seq | No | string | Seq of this message |
Successful Response Example
{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}
Successful Response Parameter Description
Parameter Name | Type | Description |
---|---|---|
errCode | int | Error code, 0 indicates success |
errMsg | string | Brief error information, empty if no error |
errDlt | errDlt | Detailed error information |
data | object | General data object, see structure below |
token | string | |
expireTimeSeconds | string |
Failed Response Example
{
"errCode": 10000,
"errMsg": ": [12]unknown service OpenIMServer.pbAuth.Auth",
"errDlt": "",
"data": null
}
Failed Response Parameter Description
Parameter Name | Type | Description |
---|---|---|
errCode | int | Error code, see global error code documentation for details |
errMsg | string | Brief error information |
errDlt | errDlt | Detailed error information |