Chat Shortcode
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a self-closing shortcode. It outputs messages from a selected channel. You can set shortcode attributes to alter its behavior.
color - will allow you to select a visual style to display on the website. Available options are light
and dark
.
title - is a text written in the widget's header, next to the icon.
channel - this is a source channel from which the shortcode takes messages. Put here it's ID.
pinned-messages - will allow you to output only pinned messages from the channel. Available options are noFilter
and onlyPinned
.
tenor-messages - will allow you to download tenner video memes and show them in the chat. Available options are video
and link
.
image-messages - will allow you to display images from the chat. If this is disabled, but links are permitted, images will be shown as links. Available options are image
and link
.
custom-emoji-messages - will allow you to display images of custom emojis in messages. Available options are image
and hide
.
link - this will allow you to display images and Tenor as text links if they are disabled. Links will be displayed as text or as active links. Available options are link
, text
, and hide
.
quantity - this is the number of messages that will be displayed. The minimum quantity is 1
, and the maximum is 50
height - this number, in pixels, will limit the maximum height of the message area. If messages need more space, then a scroll will appear. The minimum height is 200
.
footer-text - this is a text in the footer of the widget. It is a call to action near an invitation button.
link - this is the channel to which the visitor will be joined if he clicks the invitation button. Put here it's ID.
Shortcode example: