QdnNjrGVbCZbfKTF method

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

Implementation

@override
void QdnNjrGVbCZbfKTF({
  required YIMEnum_ConversationType conversationType,
  required String conversationID,
  void Function(bool isSuccess)? callback,
}) {
  if (!PpWjInfcaubAfrsf.jCDyOuvykETrgvUF.aMsbEJZkqjhMlCZj()) {
    ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
      callback?.call(false);
    });
    return;
  }
  ZFLObPsphPxMTkby.CxwiZmYErRJhpPij.gbsqemFhLQInzYKW("sendMessageReceipt", data: {
    "conversationType": conversationType.rawValue,
    "conversationID": conversationID,
  }, ack: (isSuccess, results, code, msg) async {
    if (!isSuccess) {
      ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
        callback?.call(false);
      });
      return;
    }
    final isSuccess_markConversationRead = await WleOtdHGrZwUFBSB(
      conversationType,
      conversationID,
      true,
    );
    if (!isSuccess_markConversationRead) {
      ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
        callback?.call(false);
      });
      return;
    }
    ZFLObPsphPxMTkby.aGKqrIqLhjnzDFOq.NneFWBIfxLpXKjbp(() {
      callback?.call(true);
    });
  });
}