A
chatMenu
is a high-level configuration that enables a chat (user, group, or channel) to interact with one or more menus in a structured and interactive way.It defines the set of menus that are provisioned and available within a specific chat context, allowing the app to transform regular conversations into guided, menu-driven experiences.
Once a
chatMenu
is assigned to a chat using the setChatMenu
method, the chat becomes capable of rendering menus in two powerful formats:- Keypad Menu: The menu appears in the keyboard area when triggered via the Chat Navigation Button.
- Inline Menu: The menu is shown beneath a message, allowing users to interact with it immediately in context.
đĄ Use Cases:
- In-chat forms, surveys, onboarding flows
- Customer support decision trees
- Multi-step interactions without switching screens
- Input validation and real-time API integration
The
chatMenu
bridges the gap between traditional UI and chat-based interactions, making the chat interface a dynamic extension of the app experience.