telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Methods.GetMyCommands

Synopsis

getMyCommands

data GetMyCommandsRequest Source #

Request parameters for getMyCommands.

Constructors

GetMyCommandsRequest 

Fields

getMyCommands :: GetMyCommandsRequest -> ClientM (Response [BotCommand]) Source #

Use this method to get the current list of the bot's commands for the given scope and user language. Returns Array of BotCommand on success. If commands aren't set, an empty list is returned.