deleteGroupAttributes method
Implementation
Future<V2TimCallback> deleteGroupAttributes({
required String groupID,
required List<String> keys,
}) async {
if (!TIMManager.instance.isInitSDK()) {
return V2TimCallback(code: TIMErrCode.ERR_SDK_NOT_INITIALIZED.value, desc: "sdk not init");
}
String userData = Tools.generateUserData('deleteGroupAttributes');
Completer<V2TimCallback> completer = Completer();
NativeLibraryManager.timCallback2Future(userData, completer);
Pointer<Char> pGroupID = Tools.string2PointerChar(groupID);
Pointer<Char> pKeys = Tools.string2PointerChar(json.encode(keys));
Pointer<Void> pUserData = Tools.string2PointerVoid(userData);
NativeLibraryManager.bindings.DartDeleteGroupAttributes(pGroupID, pKeys, pUserData);
return completer.future;
}