Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1. Description

...

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.

Image RemovedImage Added

Fig.1. Menu component

...

  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.

...

It consists of the following elements:

  1. Text;
  2. Set;
  3. Type;
  4. Rows of buttons;

  5. Break;
  6. Add limitLimit.

Here, enters the text that will be displayed along with the navigation menu.

Here enters the variable's name in which the result of the subscriber's selection is written.

The field is automatically populated with ${onClick.Menu} value.

Here, chooses the type of button placement. There are such options:

  • message - — buttons are displayed in the message;
  • chat - — buttons are displayed under the chat;
  • clear - — no buttons.

It is designed to create rows of buttons in the navigation menu. 

Info

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

Image Added — 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 on the Add row button, the following options are displayed (Fig.2):

  1. Button;
  2. Add button;
  3. Delete row.

Image Added

Fig. 2. Add row

It is designed to create a button. Consists of:

  1. Remove button;
  2. Type;
  3. Text.

It is intended for removing the button. Clicking the Image Modified button removes the button.

The button type.

For the message button placement type, the following options are available:

  • reply;
  • url.

For the chat button placement type, the following options are available:

  • postback;
  • contact;
  • email;
  • location.

The name of the button that is displayed in the messenger.

Info

 You can create branches along which the Flow scheme will pass, according to the selected button, by using the Switch component.

To do this, in the Cases field of the Switch component, you have to enter the button code created in the Menu component, and in . In the Variable field of the Switch component - a variable whose name is entered in the Set field of the Menu component.

When this button is clicked, the Button element is added to the row to which the Add button button belongs.

Clicking this button removes the row and all buttons from that row.

Include Page
Break
Break

...

Include Page
Limit
Limit

Fig. 23. Setting a limit