core.botevent | Medplum

BotEvent interface

Signature:

export interface BotEvent<T = unknown>

Properties

Property Modifiers Type Description
bot readonly Reference
contentType readonly string
headers? readonly Record<string, string string[]
input readonly T
requester? readonly Reference<Bot ClientApplication
responseStream? readonly BotResponseStream (Optional) Optional response stream when invoked with SSE (Server Side Events)
secrets readonly Record<string, ProjectSetting>
traceId? readonly string (Optional)