All methods
Everything the Bot API answers today. Anything else returns 404 with “method not found”.
| Method | What it does |
|---|---|
getMe | The bot’s own user. |
getChat | A chat, with the fields libraries expect from ChatFullInfo. |
sendMessage | Send text with formatting and a keyboard. |
editMessageText | Change a message’s text (and its buttons). |
editMessageReplyMarkup | Change only the buttons. |
deleteMessage | Delete the bot’s message, or another one where it may moderate. |
sendChatAction | “typing…” and similar. |
answerCallbackQuery | Answer an inline-button press. |
answerWebAppQuery | Send a message from a Mini App, “via @bot”. |
getUpdates | Long polling. |
setWebhook | Deliver updates to your address. |
deleteWebhook | Back to long polling. |
getWebhookInfo | Delivery state. |
setMyCommands | Commands for “/” and the menu. |
getMyCommands | |
deleteMyCommands | |
setMyDescription | Shown in an empty chat. |
getMyDescription | |
setMyShortDescription | Shown on the profile. |
getMyShortDescription | |
setChatMenuButton | Commands, a Mini App, or the default. |
getChatMenuButton | |
close, logOut, setMyDefaultAdministratorRights | Accepted and answered with true, so libraries that call them keep working. |
Parameters and results follow Telegram’s Bot API; the differences are on the introduction and the pages for each area.