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

IQuoteMessagePropType

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

IQuoteMessageRequestPayload

IQuoteMessageRequestPayload: IQuoteMessagePayload & IMessageRequestPayload

IQuoteMessageResponsePayload

IQuoteMessageResponsePayload: IQuoteMessagePayload & IMessageResponsePayload

ListenerFn

ListenerFn<TEvent, TMessage>: (msg: ListenerEventMessage<TEvent, TMessage>) => void

Type parameters

  • TEvent = any

  • TMessage = any

Type declaration

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: ({ message: IChatMessageResponsePayload, }: any) => HTMLElement | Node

Type declaration

    • ({ message: IChatMessageResponsePayload, }: any): HTMLElement | Node
    • Parameters

      • { message: IChatMessageResponsePayload, }: any

      Returns HTMLElement | Node

Functions

isQuoteMessagePayload

Legend

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

Generated using TypeDoc