core.botevent
Home > @medplum/core > BotEvent
BotEvent interface
Signature:
export interface BotEvent<T = unknown>
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
bot |
| Reference<Bot> | |
contentType |
| string | |
headers? |
| Record<string, string | string[] | undefined> | (Optional) Headers from the original request, when invoked by HTTP request |
input |
| T | |
requester? |
| Reference<Bot | ClientApplication | Patient | Practitioner | RelatedPerson> | (Optional) |
responseStream? |
| BotResponseStream | (Optional) Optional response stream when invoked with SSE (Server Side Events) |
| Record<string, ProjectSetting> | ||
traceId? |
| string | (Optional) |