Send message

1. Description

The component for simultaneously sending a file (a link or a file from the Media Files section), text, and display customized buttons.

This component is present in flow types like:

  • Chat.

The block (Fig.1(1)) is used in space to build the Flow. The settings panel for this component opens (Fig.1(2)) when you click on the block.

Send message.png
Fig. 1. Send message

1.1. Send message block

The block consists of the following elements:

  1. The name of the component;

  2. in branch — receiving (connecting with the previous block) branch;

  3. out branch — outgoing (connecting with the following block) branch.

1.2. Send message settings panel

It consists of the following elements:

  1. Text;

  2. Media;

  3. Rows of buttons;

  4. Break;

  5. Add limit.

1.2.1. Text

The body of the message enters here. It is possible to use variables in the text.

1.2.2. Media

The Media consists of the following elements:

  1. Use the media;

  2. File source;

  3. File;

  4. Server.

1.2.2.1. Use the media

— only text and buttons are sent;

— file selection becomes available. The file, text, and buttons are sent. A text will be displayed to the user that all fields in the Media block need to be filled in.

1.2.2.2. File source

This field selects the source of the file.

1.2.2.3. File

Select a file from the Media files section in the File field. After selecting the file, click the Add button to add it. You can delete the selected file by clicking the button.

1.2.2.4. Server

Enter the server where the file is located in this field.

1.2.3. Rows of buttons

Designed to create a row of buttons in the navigation menu.

The No input switch becomes available when at least one row is present.

Снимок экрана 2024-06-07 154953.png — indicates that you should disable input options (text, media, video, files, location, etc.), and allow only a response using one of the buttons.

Only for portals!

When you click the Add row button, a row is added, and the Button element (Fig.2) for this row is displayed.

Add row.png
Fig. 2. Add row

The Button element consists of these elements:

  • — deletes this button;

  • Type — button type;

  • Text — button text.

Add button button — clicking this button adds a Button element to the row to which the Add button button belongs.

Delete row button — clicking this button deletes the row and all buttons from this row.

1.2.4. Break

1.2.5. Add limit

Fig. 3. Setting a limit