sendConfirmAnswerMsgToCallee method
Implementation
void sendConfirmAnswerMsgToCallee(
String userId, String callId, String result, String devId) async {
ChatMessage msg = ChatMessage.createCmdSendMessage(
targetId: userId,
action: "rtcCall",
);
Map attributes = {
kMsgType: kMsgTypeValue,
kAction: kConfirmCalleeAction,
kCallId: callId,
kCallerDevId: model.curDevId,
kCalleeDevId: devId,
kCallResult: result,
kTs: ts,
};
msg.attributes = attributes;
ChatClient.getInstance.chatManager.sendMessage(msg);
chatLog("sendConfirmAnswerMsgToCallee", msg);
}