OpenChat
Chat bots can add buttons in chat messages that on click will open an existing chat room or start a chat with a specific user or group of users.
This can be useful to help Symphony users easily navigate from one chat to another, or to reference another discussion happening in a different chat.
The new chat can either replace the current chat, or open on the side instead.
MessageML tag
OpenChat is represented in MessageML as a <ui-action action='open-im'> tag and wraps a single button.
The <ui-action> tag for OpenChat supports the following attributes:
Symphony users can interact with the OpenChat functionality via their keyboard using either "Enter" of "Space" to trigger the click action, once the UI component used for the OpenChat (i.e. button element) is in focus. Symphony users can move from one Element to another using "Tab".
The following examples show the OpenChat functionality being used as follows:
The first open-im shows how the Symphony user may interact with a primary button that is empowered with the OpenChat functionality that opens a specific stream on the side of the current chat. Note that the trigger and side-by-side attributes are not mentioned, as they are not mandatory: they are then defined by their default behaviour.
The second open-im shows how the Symphony user may interact with a secondary button that is empowered with the OpenChat functionality that opens an IM with a specific user on the side of the current chat.
The max length of any ui-action attribute is 256 except user-ids attribute which max length is set to a list 15 ids.
The OpenChat functionality is not supported in forms (see ).
Please note that the attribute type