Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Namespaces

Enumerations

Interfaces

Type aliases

Functions

Type aliases

ChatImagePickerRenderer

ChatImagePickerRenderer: (arg: ChatImagePickerRendererArg) => void

Type declaration

ChatImagePickerRendererArg

ChatImagePickerRendererArg: { onImageSelection: any }

Type declaration

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

      • image: string | File

      Returns void

CustomWidgetRenderer

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

Type declaration

IChatMessageRequestPayload

IChatMessageResponsePayload

IChatUserMessageResponsePayload

IChatUserMessageResponsePayload: IMessageResponsePayload | IQuoteMessageResponsePayload

IMessageListIteratorResult

IMessageListIteratorResult: Promise<IteratorResult<{ messages: IChatMessageResponsePayload[] }, { messages: IChatMessageResponsePayload[] }>>

IQuoteMessagePropType

IQuoteMessagePropType: IMessageResponsePayload | Omit<IQuoteMessageResponsePayload, "quote_message" | "reactions">

IQuoteMessageRequestPayload

IQuoteMessageRequestPayload: IQuoteMessagePayload & IMessageRequestPayload

IQuoteMessageResponsePayload

IQuoteMessageResponsePayload: IQuoteMessagePayload & IMessageResponsePayload

InteractiveWidgetKind

InteractiveWidgetKind: typeof interactiveWidgets[number]

LoadPrevMessageRenderer

LoadPrevMessageRenderer: (arg: LoadPrevMessageRendererArg) => HTMLElement | Node

Type declaration

LoadPrevMessageRendererArg

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

MessageListenerCallback: (args: IMessageListenerCallbackArgs) => unknown

Type declaration

MessagePreparationCallback

MessagePreparationCallback: (message: IMessageResponse) => IMessageResponse

Type declaration

ProgramDateTime

ProgramDateTime: Date | string | number

RegisterMenuArgs

RegisterMenuArgs: (message?: any) => IMessageMenuItem[]

Type declaration

SubscriptionEvent

SubscriptionEvent: { [ k in keyof Enums]: ValuesOf<Enums[k]> }[keyof Enums]

SubscriptionEventListenerFn

SubscriptionEventListenerFn: ListenerFn<SubscriptionEvent, any>

WidgetListenerCallback

WidgetListenerCallback: (args: IWidgetListenerCallbackArgs) => unknown

Type declaration

WidgetListenerEvents

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

WidgetMode: (args: IWidgetModeArgs) => void

Type declaration

customMessageRenderer

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

Type declaration

Functions

isChatMessageResponsePayload

isChatUserMessageResponsePayload

isCustomMessageResponsePayload

isQuoteMessagePayload

Legend

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

Generated using TypeDoc