DYasMBMnacNQNZvD method
void
DYasMBMnacNQNZvD({
- required YIMEnum_ConversationType conversationType,
- required String conversationID,
- required String messageID,
- void callback(
- 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);
});
});
}