| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Telegram.Bot.API.Types.MenuButton
Contents
Synopsis
MenuButton
data MenuButton Source #
This object describes the bot's menu button in a private chat.
If a menu button other than MenuButtonDefault is set for a private chat, then it is applied in the chat. Otherwise the default menu button is applied. By default, the menu button opens the list of bot commands.
Constructors
| MenuButtonCommands | Represents a menu button, which opens the bot's list of commands. |
| MenuButtonWebApp | Represents a menu button, which launches a Web App. |
Fields | |
| MenuButtonDefault | Describes that no specific value for the menu button was set. |