TIMSetUpdateFriendProfileCallback
Introduction
Set update friend's profile callback
This is for multi-platform synchronization. Eg. A,B logged with the same account, and A updates a friend's profile, then B will receive this callback.
Parameter details
Parameter name | Parameter type | Required | Description |
---|---|---|---|
params | TIMUpdateFriendProfileCallbackParams | yes | Param of update friend's profile 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 { logoutParam } from "im_electron_sdk/dist/interfaces";
let param:TIMUpdateFriendProfileCallbackParams = {
callback: (data) => {}
}
timRenderInstance.TIMSetUpdateFriendProfileCallback(param)