sendPrivateChatHistory method
Implementation
void sendPrivateChatHistory(String? identity) {
if (identity == null) return;
if (!hasPrivateChat(identity)) return;
final payload = ChatMessageMapper.toApiList(getPrivateMessage()[identity]?.chats ?? []);
sendPrivateAction(
ActionModel(action: MeetingActions.sendPrivateChat, userIdentity: room.localParticipant?.identity, messages: payload),
identity,
);
}