Simplified HTTP version of the MTProto API for bots
Last verified: November 12, 2026
100% uptime: the documentation responded in 5 of 5 checks over the last 30 days. Median response time: 609 ms.
From Telegram Bot's OpenAPI specification (version 5.0.0), spec updated June 21, 2021, via APIs.guru.
Auto-generated OpenAPI schema
https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11| Method | Path | What it does |
|---|---|---|
| POST | /addStickerToSet | Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png\ sticker or tgs\ sticker . |
| POST | /answerCallbackQuery | Use this method to send answers to callback queries sent from inline keyboards. |
| POST | /answerInlineQuery | Use this method to send answers to an inline query. On success, True is returned. No more than 50 results per query are allowed. |
| POST | /answerPreCheckoutQuery | Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the f… |
| POST | /answerShippingQuery | If you sent an invoice requesting a shipping address and the parameter is\ flexible was specified, the Bot API will send an Update with a sh… |
| POST | /close | Use this method to close the bot instance before moving it from one local server to another. |
| POST | /copyMessage | Use this method to copy messages of any kind. The method is analogous to the method forwardMessages, but the copied message doesn't have a l… |
| POST | /createNewStickerSet | Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. |
| POST | /deleteChatPhoto | Use this method to delete a chat photo. Photos can't be changed for private chats. |
| POST | /deleteChatStickerSet | Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have… |
| POST | /deleteMessage | Use this method to delete a message, including service messages, with the following limitations: \- A message can only be deleted if it was… |
| POST | /deleteStickerFromSet | Use this method to delete a sticker from a set created by the bot. Returns True on success. |
| POST | /deleteWebhook | Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success. |
| POST | /editMessageCaption | Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited Message is returned, ot… |
| POST | /editMessageLiveLocation | Use this method to edit live location messages. A location can be edited until its live\ period expires or editing is explicitly disabled by… |
| POST | /editMessageMedia | Use this method to edit animation, audio, document, photo, or video messages. |
| POST | /editMessageReplyMarkup | Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited Message is… |
| POST | /editMessageText | Use this method to edit text and game messages. On success, if the edited message is not an inline message, the edited Message is returned,… |
| POST | /exportChatInviteLink | Use this method to generate a new invite link for a chat; any previously generated link is revoked. |
| POST | /forwardMessage | Use this method to forward messages of any kind. On success, the sent Message is returned. |
| POST | /getChat | Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a u… |
| POST | /getChatAdministrators | Use this method to get a list of administrators in a chat. On success, returns an Array of ChatMember objects that contains information abou… |
| POST | /getChatMember | Use this method to get information about a member of a chat. Returns a ChatMember object on success. |
| POST | /getChatMembersCount | Use this method to get the number of members in a chat. Returns Int on success. |
| POST | /getFile | Use this method to get basic info about a file and prepare it for downloading. |
Showing 25 of 74 endpoints. The full list is in the spec above.