answerCallbackQuery
Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned.
Read more setMyCommands
Use this method to change the list of the bot's commands. See this manual for more details about bot commands. Returns True on success.
Read more deleteMyCommands
Use this method to delete the list of the bot's commands for the given scope and user language. After deletion, higher level commands will be shown to affected users. Returns True on success.
Read more getMyCommands
Use this method to get the current list of the bot's commands for the given scope and user language. Returns an Array of BotCommand objects. If commands aren't set, an empty list is returned.
Read more setMyName
Use this method to change the bot's name. Returns True on success.
Read more getMyName
Use this method to get the current bot name for the given user language. Returns BotName on success.
Read more setMyDescription
Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty. Returns True on success.
Read more getMyDescription
Use this method to get the current bot description for the given user language. Returns BotDescription on success.
Read more setMyShortDescription
Use this method to change the bot's short description, which is shown on the bot's profile page and is sent together with the link when users share the bot. Returns True on success.
Read more getMyShortDescription
Use this method to get the current bot short description for the given user language. Returns BotShortDescription on success.
Read more