setGroupApplicationRead

Introduction

Mark all the group entry application items as read, to clear the count of application items.

Parameter details

This API has no parameters

Returned template

V2TimCallback

{
    code : number
    desc : string
}

Return value details

name type description
code number Request result: Error codes. 0 means success.
desc string The description of the error. It will be empty if success.

Code example

import { TencentImSDKPlugin } from 'react-native-tim-js';

const setGroupApplicationReadRes = await TencentImSDKPlugin.v2TIMManager
    .getGroupManager()
    .setGroupApplicationRead();
if (setGroupApplicationReadRes.code === 0) {

}

results matching ""

    No results matching ""