deleteConversationGroup
Introduction
Delete conversation group.
Only works since version of 4.0.8.
Do not works on Web.
Error code of 51009 will be returned if group not exists.
Parameter details
Parameter name | Parameter type | Required | Platform | Description |
---|---|---|---|---|
groupName | String | yes | All | The name of the conversation group to delete. |
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 deleteConversationGroupRes = await TencentImSDKPlugin
.v2TIMManager
.getConversationManager()
.deleteConversationGroup(groupName: "groupName");
if (deleteConversationGroupRes.code == 0) {
}