Skip to main content

revoke_msg

Brief Description

  • Simulate a user revoking a sent message.

Request Method

  • post

Request URL

  • {API_ADDRESS}/msg/revoke_msg
Header NameExample ValueOptionalTypeDescription
operationID1646445464564NostringoperationID for global link tracking
tokeneyJhbxxxx3XsNostringAdmin token

Request Parameter Example

{
"userID": "9906953281",
"conversationID": "si_2699373280_9906953281",
"seq": 2
}
Field NameOptionalTypeDescription
userIDNostringRevoker'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
conversationIDNostringConversation ID
seqNostringSeq of this message

Successful Response Example

{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}

Successful Response Parameter Description

Parameter NameTypeDescription
errCodeintError code, 0 indicates success
errMsgstringBrief error information, empty if no error
errDlterrDltDetailed error information
dataobjectGeneral data object, see structure below
tokenstring
expireTimeSecondsstring

Failed Response Example

{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}

Failed Response Parameter Description

Parameter NameTypeDescription
errCodeintError code, see global error code documentation for details
errMsgstringBrief error information
errDlterrDltDetailed error information