Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Namespaces

Enumerations

Interfaces

Type Aliases

Functions

Type Aliases

ChatImagePickerRenderer: ((arg: ChatImagePickerRendererArg) => void)

Type declaration

ChatImagePickerRendererArg: { onImageSelection: any }

Type declaration

  • onImageSelection:function
    • onImageSelection(image: string | File): void
    • Parameters

      • image: string | File

      Returns void

CustomWidgetRenderer: ((payload: { widgetPayload: IWidgetPayload }) => HTMLElement | Node)

Type declaration

IChatUserMessageResponsePayload: IMessageResponsePayload | IQuoteMessageResponsePayload
IMessageListIteratorResult: Promise<IteratorResult<{ messages: IChatMessageResponsePayload[] }, { messages: IChatMessageResponsePayload[] }>>
IQuoteMessagePropType: IMessageResponsePayload | Omit<IQuoteMessageResponsePayload, "quote_message" | "reactions">
IQuoteMessageRequestPayload: IQuoteMessagePayload & IMessageRequestPayload
IQuoteMessageResponsePayload: IQuoteMessagePayload & IMessageResponsePayload
InteractiveWidgetKind: typeof interactiveWidgets[number]
LoadPrevMessageRenderer: ((arg: LoadPrevMessageRendererArg) => HTMLElement | Node)

Type declaration

LoadPrevMessageRendererArg: { hasPrevMessages: boolean; loading: boolean; onClick: any }

Type declaration

  • hasPrevMessages: boolean
  • loading: boolean
  • onClick:function
    • onClick(e: Event): void
    • Parameters

      • e: Event

      Returns void

MessageListenerCallback: ((args: IMessageListenerCallbackArgs) => unknown)

Type declaration

MessagePreparationCallback: ((message: IMessageResponse) => IMessageResponse)

Type declaration

ProgramDateTime: Date | string | number
RegisterMenuArgs: ((message?: any) => IMessageMenuItem[])

Type declaration

SubscriptionEvent: { [ k in keyof Enums]: ValuesOf<Enums[k]> }[keyof Enums]
SubscriptionEventListenerFn: ListenerFn<SubscriptionEvent, any>
WidgetListenerCallback: ((args: IWidgetListenerCallbackArgs) => unknown)

Type declaration

WidgetListenerEvents: "alert-created" | "text-poll-created" | "image-poll-created" | "text-quiz-created" | "image-quiz-created" | "text-prediction-created" | "text-prediction-follow-up-updated" | "image-prediction-created" | "image-prediction-follow-up-updated" | "cheer-meter-created" | "social-embed-created" | "emoji-slider-created" | "rich-post-created" | "text-ask-created" | "video-alert-created" | "text-number-prediction-created" | "text-number-prediction-follow-up-updated" | "image-number-prediction-created" | "image-number-prediction-follow-up-updated"
WidgetMode: ((args: IWidgetModeArgs) => void)

Type declaration

customMessageRenderer: ((arg: { message: IChatMessageResponsePayload }) => HTMLElement | Node)

Type declaration

Functions

Legend

  • Namespace
  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Interface
  • Interface with type parameter
  • Enumeration

Generated using TypeDoc