Skip to content

sendNotetakerStore

This interface describes a Zustand store, an advanced state management React solution. This is intended for advanced use only – the Notetaker components will work without using this store directly.

The interface for the SendNotetaker component state store. sendNotetakerStore manages all form data and UI state information for the component.

import { SendNotetaker, sendNotetakerStore } from "@nylas/react";
export default function App() {
const store = sendNotetakerStore();
useEffect(() => {
store.setName("ExampleName");
}, []);
return (
<div>
<SendNotetaker />
</div>
);
}
DescriptionDisplay the Advanced Settings section.
Typeboolean
Defaultfalse

DescriptionThe date on which the Notetaker bot will join the meeting.
Typestring

DescriptionHandles form submission and sending information to the Notetaker API.
Type(onSend?: (data: ..., resetForm: ...) => ..., onError?: (error: ...) => ...) => void

DescriptionIndicates that the component is loading or submitting the form.
Typeboolean
Defaultfalse

DescriptionThe URL that Notetaker will use to join the meeting.
Typestring

DescriptionThe name of the Notetaker bot. This is displayed in the meeting provider UI.
Typestring

DescriptionResets all form fields and the store to their default values.
Type() => void

DescriptionA list of selected recording types (video, audio, or transcript).
TypeRecordingType[]

DescriptionSets the visibility of the Advanced Settings section.
Type(show: boolean) => void

DescriptionSets the date on which the Notetaker bot will join the meeting.
Type(date: string) => void

DescriptionSets the loading state.
Type(isLoading: boolean) => void

DescriptionSets the meeting link.
Type(meetingLink: string) => void

DescriptionSets the name of the Notetaker bot.
Type(name: string) => void

DescriptionSets the selected recording types.
Type(types: RecordingType[]) => void

DescriptionSets the time at which the Notetaker bot will join the meeting.
Type(time: string) => void

DescriptionThe time at which the Notetaker bot will join the meeting.
Typestring

DescriptionToggles the specified recording type on or off.
Type(type: RecordingType) => void