Request Entity Menu WhatsApp
Below are the advanced configurations required for presenting a rich menu using the Request Entity by Name extension module, by selecting "Menu" as the presentation when requesting the entity. This option can be selected in the Presentation when requesting the entity section.
Consider the structure of a rich menu according to the definitions provided by Meta.
Implementation
When selecting the menu option in the Presentation when requesting the entity field in the Request Entity by Name extension module, the Menu Presentation on WhatsApp section will be displayed, where you should consider the following configuration.
Override the channel configuration to present the menu: A field that, when set to YES, allows overriding the default channel menu presentation configuration. Otherwise, the NO option will maintain the default configuration.
Present Menu as Text, Button, or List: A dropdown list field where you can select the format in which the menu will be presented. This can be in Text, Button, or List format.
Text Type
List Type
Button Type
Language to present the default elements of the interactive menu: A dropdown list field that allows selecting the language in which the interactive menu elements will be presented.
Header Type: A dropdown list field that allows visually enriching the menu through the following configurations:
Header Type | Description |
---|---|
None | Default |
Text | The menu header will have a descriptive text of the menu presented |
Video | The menu header will have a descriptive video of the menu presented. Videos with .MP4 and .3GPP extensions are supported. The size should not exceed 16MB. |
Image | The menu header will have a descriptive image of the menu presented. Images with .JPG, .jpeg, and .PNG extensions are supported; the image size should not exceed 5MB. |
Document | The menu header will have a file or document. Document names should not exceed 240 characters. The following document file types are supported: PDF, DOC, PPT, XLS, and the size should not exceed 100MB. |
Expression to obtain the Footer code: A String field available for all options corresponding to header types. Consider that this optional tag must define the expression to be displayed as the footer in the menu header in single quotes. If left blank, the footer will not appear. It can contain emojis, markdown code, and links. A maximum of 60 characters is allowed.
Example:
-- Input:
Expression to obtain the Footer code: 'Location rated as premium by TravelBest'
-- Output:
Text Header Type
Expression to obtain the Text Header code: A String field that allows defining the text that will be displayed as the menu title.
Example:
-- Input:
Expression to obtain the Text Header code: 'Virginia House with 6 rooms and 4 bathrooms'
-- Output:
Video Header Type
Expression to obtain the Video Header URL: A String field that allows defining the URL where the video to be displayed as the menu header title is located.
Expression to obtain the Video Header Content Type: A String field where the corresponding video type should be indicated.
Expression to obtain the Video Header File Name: A String field where the video file name should be indicated.
Example:
-- Input:
Expression to obtain the Video Header URL: 'https://successfulrealestate.cl/virginiahouse.mp4'
Expression to obtain the Video Header Content Type: MP4
Expression to obtain the Video Header File Name: 'virginiahouse.mp4'
-- Output:
Image Header Type
Expression to obtain the Image Header URL: A String field that allows defining the URL where the image to be displayed as the menu header title is located.
Example:
-- Input:
Expression to obtain the Image Header URL: 'https://successfulrealestate.cl/image_house23456.png'
-- Output:
Document Header Type
Expression to obtain the Document Header URL: A String field that allows defining the URL where the document to be displayed as the menu header title is located.
Expression to obtain the Document Header Content Type: A String field where the corresponding document type should be indicated.
Expression to obtain the Document Header File Name: A String field where the document name should be indicated.
Example:
-- Input:
Expression to obtain the Document Header URL: 'https://successfulrealestate.cl/brochure_virginiahouse.pdf'
Expression to obtain the Document Header Content Type: PDF
Expression to obtain the Document Header File Name: 'brochure_virginiahouse.pdf'
-- Output: