TIMSetMsgRevokeCallback

Introduction

Set message revoking callback

Sender sends messages, and revoke the messages by TIMMsgRevoke, and the receiver will be notified via this callback

Parameter details

Parameter name Parameter type Required Description
params TIMMsgRevokeCallbackParams yes Param of setting message revoking callback

Returned template

void

Return value details

This function has no return value

Code example

import TimRender from "im_electron_sdk/dist/renderer";
const timRenderInstance = new TimRender();
import { TIMMsgRevokeCallbackParams } from "im_electron_sdk/dist/interfaces";
let param:TIMMsgRevokeCallbackParams = {
    callback: (data)=>{},
    user_data: ""
}
timRenderInstance.TIMSetMsgRevokeCallback(param);

results matching ""

    No results matching ""