Dismiss and delete a specific group.

Call this method to delete a group. Then all group members receive the onGroupDismissed callback.

For a public group (Public), meeting group (Meeting), community group (Community), or audio-video group (AVChatRoom), the group owner can delete the group at any time.

For a work group (Work), the group owner does not have the permission to delete the group. To delete the group, you must have your service server call the RESTful API.

Parameter details

Parameter name Parameter type Required Description
groupID string yes The ID of the group to dismiss.

Returned template


    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 groupID = 'groupID';

const dismissGroupRes = await TencentImSDKPlugin.v2TIMManager.dismissGroup(
if (dismissGroupRes.code === 0) {


results matching ""

    No results matching ""