Creates a new whiteboard file and uploads it to the server.
The Hiyve client instance
Options for creating the whiteboard
The created file ID and file data
const { fileId, fileData } = await createWhiteboardFile(client, { name: 'My Whiteboard', ownerId: userId, width: 2000, height: 1000,});// Now open the whiteboard with the fileIdsetSelectedFileId(fileId); Copy
const { fileId, fileData } = await createWhiteboardFile(client, { name: 'My Whiteboard', ownerId: userId, width: 2000, height: 1000,});// Now open the whiteboard with the fileIdsetSelectedFileId(fileId);
Creates a new whiteboard file and uploads it to the server.