sendCancelCallMsgToCallee method
Implementation
void sendCancelCallMsgToCallee(String userId, String callId) {
final msg =
ChatMessage.createCmdSendMessage(targetId: userId, action: 'rtcCall');
msg.attributes = {
kMsgType: kMsgTypeValue,
kAction: kCancelCallAction,
kCallId: callId,
kCallerDevId: model.curDevId,
kTs: ts,
};
ChatClient.getInstance.chatManager.sendMessage(msg);
}