How to add an inline (floating) keyboard to a button or command¶
- First, access your bot. You can do so via its username.
- Once in your bot, press
🛠 Editto enter editing mode. -
Select the button or send the command containing the message to which you want to add an inline keyboard:
- Buttons: To select a button, tap it. The button will appear surrounded by
< >. - Commands: To select a command, send it directly to the bot. Commands start with
/or!.
- Buttons: To select a button, tap it. The button will appear surrounded by
-
Press
💬 Messagesto view the messages associated with the button or command.
-
Locate the message to which you want to add an inline keyboard or create a new message if it hasn’t been created yet. Then, press
🔘.
-
Press
🔘 Create new keyboard 🔘and follow the instructions to create the keyboard. -
In this example, we’ve created 3 inline buttons using the following text:
VM website - url: visualmaker.net Say hi - message: Hi && Say bye - alert: Bye- One that opens a URL, the VisualMaker website.
- Another that displays the message "Hi".
- And a third next to the second (separated by
&&) that displays the alert "Goodbye".
-
This is the final result.
