Message: {
    data?: Uint8Array;
    documentId?: DocumentId;
    senderId: PeerId;
    targetId: PeerId;
    type: string;
}

Type declaration

  • Optional data?: Uint8Array
  • Optional documentId?: DocumentId
  • senderId: PeerId

    The peer ID of the sender of this message

  • targetId: PeerId

    The peer ID of the recipient of this message

  • type: string