RevokeRoomMessage
https://zim-api.zego.im/
To use this feature, please activate the ZIM flagship service to ensure that your App ID is set to enable saving room messages.
By calling this API, you can recall room conversation messages.
After a message is recalled, users in the room will receive a notification that the message has been recalled through the following ZIM SDK callback interfaces.
| iOS | Android | macOS | Windows |
|---|---|---|---|
| messageRevokeReceived | onMessageRevokeReceived | messageRevokeReceived | onMessageRevokeReceived |
| Web | Mini Program | Flutter | React Native |
|---|---|---|---|
| messageRevokeReceived | messageRevokeReceived | onMessageRevokeReceived | messageRevokeReceived |
| Unity3D | uni-app | uni-app x | HarmonyOS |
|---|---|---|
| OnMessageRevokeReceived | messageRevokeReceived | messageRevokeReceived |
Request
Query Parameters
Possible values: [RevokeRoomMessage]
API prototype parameter
https://zim-api.zego.im/?Action=RevokeRoomMessage
💡Public parameter. Application ID, assigned by ZEGOCLOUD. Get it from the ZEGOCLOUD Admin Console.
💡Public parameter. A 16-character hexadecimal random string (hex encoding of 8-byte random number). Refer to Signature example for how to generate.
💡Public parameter. Current Unix timestamp, in seconds. Refer to Signature example for how to generate, with a maximum error of 10 minutes.
Possible values: [2.0]
Default value: 2.0
💡Public parameter. Signature version number.
💡Public parameter. Signature, used to verify the legitimacy of the request. Refer to Signing the requests for how to generate an API request signature.
- application/json
Responses
- 200
- application/json
