An Inline Menu is a structured menu rendered directly beneath a specific message in a chat. It allows users to interact with contextual options — such as buttons — tied to that individual message, creating guided and intuitive flows.

There are two ways to define an Inline Menu:

1️⃣ inline_menu (Message-bound Menu)

You can define the menu inline inside the send message methods using the inline_menu field.

2️⃣ setChatMenu (Provisioned Menus)

You can define reusable menus using the setChatMenu method.


💡 Use Case Summary

Approach Scoped To Reusable Best For
inline_menu A specific message ❌ No One-off, contextual interactions
setChatMenu The entire chat ✅ Yes Reusable menus, navigation, form flows

Use the menuCallback method to receive incoming callback event triggered when a user interacts with a cell within an Inline Menu attached to a specific message.


Inline Menu Object

Sending Inline Menus with Messages -Message-bound Menu

**menuCallback -**Read inline Menu