Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Namespaces

Enumerations

Interfaces

Type aliases

Functions

Type aliases

CustomWidgetRenderer

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

Type declaration

    • ({ widgetPayload: IWidgetPayload, }: any): HTMLElement | Node
    • Parameters

      • { widgetPayload: IWidgetPayload, }: any

      Returns HTMLElement | Node

IChatMessageRequestPayload

IChatMessageResponsePayload

IMessageListIteratorResult

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

IQuoteMessagePropType

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

IQuoteMessageRequestPayload

IQuoteMessageRequestPayload: IQuoteMessagePayload & IMessageRequestPayload

IQuoteMessageResponsePayload

IQuoteMessageResponsePayload: IQuoteMessagePayload & IMessageResponsePayload

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

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

isQuoteMessagePayload

Legend

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

Generated using TypeDoc