Interface BotResponseWidget

Hierarchy

  • BotResponseWidget

Properties

chat_config?: ChatConfig
domains: string[]
extra_css?: string
extra_js?: string
home?: {
    conversation_cta?: string;
    description?: string;
    or_contact_via?: string;
    phone_cta?: string;
    team_message?: string;
    title?: string;
    whatsapp_cta?: string;
}

Type declaration

  • Optional conversation_cta?: string
  • Optional description?: string
  • Optional or_contact_via?: string
  • Optional phone_cta?: string
  • Optional team_message?: string
  • Optional title?: string
  • Optional whatsapp_cta?: string
powered_by?: boolean | {
    text: string;
    url: string;
}

Type declaration

  • text: string
  • url: string
visitors: boolean
visitors_sdk_only: boolean
widget: {
    chat?: "always" | "operator" | "off";
    contactForm?: boolean;
    iconUrl?: string;
    imageUrl?: string;
    mainColor?: string;
    phoneNumber?: string;
    phoneNumberDisplay?: string;
    position?: "bottom_right" | "bottom_left" | "top_right" | "top_left";
    whatsappNumber?: string;
    whatsappNumberDisplay?: string;
}

Type declaration

  • Optional chat?: "always" | "operator" | "off"
  • Optional contactForm?: boolean
  • Optional iconUrl?: string
  • Optional imageUrl?: string
  • Optional mainColor?: string
  • Optional phoneNumber?: string
  • Optional phoneNumberDisplay?: string
  • Optional position?: "bottom_right" | "bottom_left" | "top_right" | "top_left"
  • Optional whatsappNumber?: string
  • Optional whatsappNumberDisplay?: string

Generated using TypeDoc