文档 : 用户手册 : Embedding

嵌入

概述

你可以嵌入你的机器人在你的网站从其嵌入页面点击'嵌入。 你可以嵌入你的机器人使用JavaScript或HTML,嵌入页面提供了6种不同的嵌入类型,以及许多选项。 你还可以创建一个网站,并域主持您的机器人,或链接的自己的领域,以你的机器人的网页。





性能

Properties Description
Subdomain (or domain) You can choose a subdomain to host your own bot's website, or give a domain that you have registered and forward to this server's ip address.
Embedding Type Choose an embedding type.
Style Sheet Choose the style sheet for the embedded chat.
Custom Style Sheet Custom css for the embedded chat style sheet.
Button Style Choose different button style for the embedded chat.
Location Choose a location side.
Language Choose a language for the text displayed in a embedded chat.
Ask for Contact Info Ask the user for their contact information before connecting.
Show Avatar Displays bot avatar in the embed chat.
Show Chat Log Displays chat log in the embed chat.
Show Advanced Info Shows advanced unfo for the embedding chat.
Caption The text on the button or link.
Greeting Optional greeting to display.
Farewell Optional farewell/disconnected message to display.
Guest User Guest user to connect as, you need to add this user to your bot's user's.
Password Password for guest user (not secure).
Token Token for guest user.
Style Sheet The CSS style sheet or CSS to customize the page.
Banner HTML An HTML script or page to embed as the page banner.
Footer HTML An HTML script or page to embed as the page footer.
Width The width (in pixels) of the frame, window, or box.
Height The height (in pixels) of the frame, window, or box.
Offset The offset (in pixels) of the box from the side.
Color The color to use for the button or link.
Background Color The background color to use.
Prompt The text prompt to use in the input (default is 'You say')
Send The text for the send button (default is 'Send')
Avatar Expandable Choose if the bot's avatar should be expandable.
Chat Bubble Print chat message in chat bubble (only for box chat).
Speak Choose if the bot's voice should be enabled.
Allow Speech Choose if the bot's voice should be allowed.
Allow Emotes Choose if emotes and actions should be allowed.
Allow Correction Choose if users should be allowed to correct the bot's responses.
Login Banner Choose if login banner should be displayed.
Facebook Login Choose if facebook login option should be provided.
Title Choose if bot's name should be displayed as the title header.
Backlink Choose if a backlink to Bot Libre should be displayed (requires Bronse account).
Show Ads Choose if the bot's ad show be displayed.
Show Menu Bar Choose if menu bar option should be displayed.
Show Max Button Choose if max button menu option should be displayed.
Show Language Choose if language menu option should be displayed
Show Send Image Choose if send image menu option should be displayed

按钮风格

任意选择的11个提供按钮式的嵌入网页。 简单地选择任何按钮的风格,从按钮风格的下拉菜单。 一些按钮样式显示如下。


聊天的风格

选择五个不同的样式为他们的埋通过选择一个特定的样式表的样式表下拉式菜单。

聊天室日志的风格


社会聊天的风格


聊天室的风格


蓝色聊天的风格


粉红色聊天的风格

定义的风格

添加自己的定的样式表为你的嵌入。 简单地选择自定义风格样式表下拉式菜单。 然后,输入网址向你定制的样式表内定制的样式表中输入的领域。

也参看