Keypad Menu Types

There are two types of keypad menus:

Normal Keypad Menu

Whenever your Bot sends a message, it can pass along a special keypad with predefined reply options. nandbox apps that receive the message will display your keypad to the user. Tapping any of the buttons will send the respective command. This way you can drastically simplify user interaction with your Bot.

Inline Keypad Menu

There are times when you would prefer to do things directly within the chat, such as when the user is changing settings, choosing from a selection (e.g. voting) or flipping through search results. In such cases, you can use Inline keyboards that are integrated directly into the messages they belong to.

When callback buttons are used, your Bot can update its existing messages (or just the keyboard) so that the chat remains tidy.


Message Edit

Since Inline Keypad Menus do not send additional messages to the chat, it makes sense to give Bots a way of manipulating existing messages so that they don’t have to send a new message each time they need to update something. This helps reduce clutter and build more fluid interfaces. All updated and edited messages will be marked with a small edit icon.


Bot Types

Chat Bot

Users can interact with chat bots directly by opening the bot chat or indirectly by communicating with a bot within a group, channel, or app.

Inline Bot

Users can interact with your bot via inline queries straight from the text input field in any chat by typing the bot's handle and then a query.

Having received the query, your Bot can return some results. As soon as the user taps one of them, it is sent to the user's currently opened chat. This way, users can request content from your Bot in any of their chats, groups or channels.