sendConfirmRingMsgToCallee method
Implementation
void sendConfirmRingMsgToCallee(
String userId, String callId, bool isValid, String calleeDevId) {
ChatMessage msg = ChatMessage.createCmdSendMessage(
targetId: userId,
action: "rtcCall",
deliverOnlineOnly: true,
);
Map attributes = {
kMsgType: kMsgTypeValue,
kAction: kConfirmRingAction,
kCallId: callId,
kCallerDevId: model.curDevId,
kCallStatus: isValid,
kTs: ts,
kCalleeDevId: calleeDevId,
};
msg.attributes = attributes;
ChatClient.getInstance.chatManager.sendMessage(msg);
chatLog("sendConfirmRingMsgToCallee", msg);
}