sendPublicChatHistory method

void sendPublicChatHistory(
  1. String? identity
)

Implementation

void sendPublicChatHistory(String? identity) {
  if (identity == null) return;
  final payload = ChatMessageMapper.toApiList(getMessageList());
  sendPrivateAction(
    ActionModel(action: MeetingActions.responsePublicChat, messages: payload, userIdentity: room.localParticipant?.identity),
    identity,
  );
}