quitGroup method
退出群组groupId
群ID
Implementation
void quitGroup(String groupId, {ImCallback? callback}) async {
var quitGroupRes =
await TencentImSDKPlugin.v2TIMManager.quitGroup(groupID: groupId);
if (quitGroupRes.code == 0) {
callback?.onSuccess();
} else {
callback?.onError(quitGroupRes.code, quitGroupRes.desc);
}
}