setFriendApplicationRead
Introduction
Set the friend application as read.
Parameter details
This API has no parameters
Returned template
V2TimCallback
{
code : int
desc : String
}
Return value details
name | type | description |
---|---|---|
code | int | Request result: Error codes. 0 means success. |
desc | String | The description of the error. It will be empty if success. |
Code example
V2TimCallback setFriendApplicationReadRes = await TencentImSDKPlugin
.v2TIMManager
.getFriendshipManager()
.setFriendApplicationRead();
if (setFriendApplicationReadRes.code == 0) {
}