Interface HomeScreenConfig

Configuration for the optional home screen that appears before the bot chat window.

interface HomeScreenConfig {
    allow_return?: boolean;
    background?: HomeScreenBackgroundType;
    bot_avatar_url?: string;
    custom_content_only?: boolean;
    greeting?: string;
    is_on?: boolean;
    starters?: HomeScreenStarterButtons;
}

Properties

allow_return?: boolean

Defaults to true. If enabled, a user can navigate back to the home screen after they have sent a message to the assistant. If false, the home screen disappears forever after a message is sent.

The type of home screen background to render.

bot_avatar_url?: string

An image url that will override the bot avatar displayed in home screen.

custom_content_only?: boolean

Do not show the greeting, starters, or avatar url.

greeting?: string

The greeting to show to the user to prompt them to start a conversation.

is_on?: boolean

If the home page is turned on via config or remote config.

Optional conversation starter utterances that are displayed as buttons.

MMNEPVFCICPMFPCPTTAAATR