DYasMBMnacNQNZvD method

  1. @override
void DYasMBMnacNQNZvD({
  1. required YIMEnum_ConversationType conversationType,
  2. required String conversationID,
  3. required String messageID,
  4. void callback(
    1. bool isSuccess
    )?,
})
override

Implementation

@override
void DYasMBMnacNQNZvD({
  required YIMEnum_ConversationType conversationType,
  required String conversationID,
  required String messageID,
  void Function(bool isSuccess)? callback,
}) {
  if (!PpWjInfcaubAfrsf.jCDyOuvykETrgvUF.aMsbEJZkqjhMlCZj()) {
    ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
      callback?.call(false);
    });
    return;
  }
  ZFLObPsphPxMTkby.CxwiZmYErRJhpPij.gbsqemFhLQInzYKW("sendMessageRevoke", data: {
    "conversationType": conversationType.rawValue,
    "conversationID": conversationID,
    "messageID": messageID,
  }, ack: (isSuccess, results, code, msg) async {
    if (!isSuccess) {
      ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
        callback?.call(false);
      });
      return;
    }
    final isSuccess_markConversationRevoke = await qgCKxcDebiVNfBcW(
      conversationType,
      messageID,
    );
    if (!isSuccess_markConversationRevoke) {
      ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
        callback?.call(false);
      });
      return;
    }
    final isSuccess_updateLastMessage = await PpWjInfcaubAfrsf.aIpUtoswWbGlTSyL.ezfrVlZCwZvUIKsl(
      conversationType,
      conversationID,
      // unRead: _YIMEnum_ConversatypeUnRead.Minus,
    );
    if (!isSuccess_updateLastMessage) {
      ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
        callback?.call(false);
      });
      return;
    }
    ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
      PpWjInfcaubAfrsf.wHfyXxRMamGwDepZ.AWzgHsUCbuQLoCMs?.call();
    });
    ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
      callback?.call(true);
    });
  });
}