1. Description
The page for setting the display of messages from the system.
Consists of fields (Fig.1):
Fig. 1. Templates
Available in:
...
The ability to describe specific update templates for a particular message gateway has been provided:
Update | Usage | Field | Sender | Recipient |
---|---|---|---|---|
title | Header format of new, incoming chat | Member | User/Agent | |
close | The static chat end message | – | Member | |
join | Participant connection message format | User/Agent | Member | |
left | Participant disconnection message format | User/Agent | Member |
The template syntax for the text/template package can be found here.
Actions - evaluations of data or control structures - are separated by $( and ) .
For example, the corresponding templates might look like this:
Update | Message template |
---|---|
close | 🎈 Dialogue completed! |
join | 👤 __*$(md2 .FirstName)$(if .LastName) $(md2 .LastName)$(end)*__ |
left | 👤 ~*$(md2 .FirstName)$(if .LastName) $(md2 .LastName)$(end)*~ |
If in the field enter:
👤 ~*$(md2 .FirstName)$(if .LastName) $(md2 .LastName)$(end)*~
...
Here you enter the text or template displayed for the operatoragent's incoming chat. Anonymous name of the subscriber, for example.
Here you enter the text or template displayed to the subscriber when the Agent connects to the chat.
Here you enter the text or template displayed to the subscriber when the chat is closed.
Here you enter the text or template displayed to the caller when the Agent has left the chat.
...