window.QCHAT_CFG
object before the widget code, e.g.:button_type
"hexagon"
- displayed as a hexagon button with Quickley logo"horizontal"
- displayed as a button with text"hexagon"
.button_text
horizontal
.position
"left"
- at the bottom of the screen, on the left"right"
- at the bottom of the screen, on the right"center"
- at the bottom of the screen, on the centre. Available only for button with type "horizontal"
"left"
.button_margin
left
and right
is 10
and for bottom
is 20
.button_size
"s"
- small button 48x48
"m"
- medium button 64x64
"l"
- large button 72x72
"m"
.main_color
text_color
main_color
.button_hidden
true
the widget starts hidden. You can also show and hide the widget using show
and hide
methods.false
.container
undefined
.client_id
client_id
parameter must be signed with JSON Web Signature. The key with which the identifier should be signed is displayed in the chat configuration window.client_id
is unsigned or signed using a wrong sign key it will be ignored.client_data
{}
.