TIMSetMsgReadedReceiptCallback

Introduction

Set message read receipt callback

Sender sends messages, and receiver report read messages by TIMMsgReportReaded, and the sender will be notified via this callback

Parameter details

Parameter name Parameter type Required Description
params TIMMsgReadedReceiptCallbackParams yes Param of setting message read receipt 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 { TIMMsgReadedReceiptCallbackParams } from "im_electron_sdk/dist/interfaces";

let param :TIMMsgReadedReceiptCallbackParams = {
    callback: (data)=>{},
    user_data: ""
}
timRenderInstance.TIMSetMsgReadedReceiptCallback(param);

results matching ""

    No results matching ""