Skip to main content

LMAIBotScreen

LMAIBotScreen is a wrapper component to render the chatroom of the AI Chatbot. It internally renders following components. To customize this wrapper component, you have to customise the mentioned components

Props

PropertyTypeDescriptionOptional
aiChatbotChatroomIdnumberThe unique identifier for the AI chatbot's chatroom.
closeAIChatbot() => voidFunction to close the AI chatbot screen.✔️
isClearChatOptionEnabledbooleanIndicates if the option to clear chat is enabled.

CSS Classnames

ClassnameDescription
lm-chat-ai-bot-containerContainer or element for lm chat ai bot container
lm-chat-ai-bot-channelContainer or element for lm chat ai bot channel

Example

To customise the component with their classnames, Open your base css file and override the styles using the classname

.lm-chat-ai-bot-channel {
font-size: 18px;
color: "red";
}

Reference

For reference checkout this file