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