disableSendingMessageByAdmin method
Implementation
Future<TUIActionCallback> disableSendingMessageByAdmin(
String userId, bool isDisable) {
String userData = Tools.generateUserData();
Completer<TUIActionCallback> completer = Completer();
_actionCallback2Future(userData, completer);
_engineSDK.Dart_DisableSendingMessageByAdmin(
_engineFFIPointer,
Tools.string2PointerChar(userId),
isDisable,
Tools.string2PointerChar(userData));
return completer.future;
}