sendChatMarker method

  1. @override
void sendChatMarker(
  1. String messageId,
  2. ChatMarker marker,
  3. String bareRoom
)
override

Implementation

@override
void sendChatMarker(String messageId, ChatMarker marker, String bareRoom) {
  String topic = bareRoom.toRoomEventsTopic;

  ChatMarkerMessage msg = ChatMarkerMessage(
      id: const Uuid().v4(),
      type: MessageType.chatMarker,
      referenceId: messageId,
      status: marker);
  clientHandler.sendPayload(msg.toJson().toString(), topic);
}