Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Answer Callback Query
TELEGRAM_ANSWER_CALLBACK_QUERYUse 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.
Export Chat Invite Link
TELEGRAM_CREATE_CHAT_INVITE_LINKGenerate a new primary invite link for a chat; any previously generated primary link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
Delete Message
TELEGRAM_DELETE_MESSAGEDelete a message, including eligible service messages. Telegram imposes time and message-type restrictions; deletion rights depend on the chat and message, and administrators with appropriate rights can delete other users' messages.
Edit Message
TELEGRAM_EDIT_MESSAGEEdit the text of a message identified by chat and message ID or inline message ID. Telegram's editing permissions and message restrictions apply.
Forward Message
TELEGRAM_FORWARD_MESSAGEForward a message from one chat to another. Service messages and messages with protected content cannot be forwarded.
Get Chat Info
TELEGRAM_GET_CHATGet up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.). The bot must be a member of or have access to the target chat; calls fail if the bot was never added, was removed, or is blocked.
Get Chat Administrators
TELEGRAM_GET_CHAT_ADMINISTRATORSGet a list of chat administrators, excluding other bots. On success, returns ChatMember objects, including the bot itself if it is an administrator.
Get Chat History
TELEGRAM_GET_CHAT_HISTORYPoll pending bot updates and filter the returned batch by chat ID or username; this is not complete chat history, and an empty filtered batch does not establish that the chat has no accessible messages. Polling requires no active webhook, and advancing the offset confirms earlier updates across chats.
Get Chat Member
TELEGRAM_GET_CHAT_MEMBERGet a chat member's status/role (including the bot itself) to preflight permissions and troubleshoot 403/empty-history issues. Use before sending messages to verify bot membership and permissions.
Get Chat Members Count
TELEGRAM_GET_CHAT_MEMBERS_COUNTGet the number of members in a chat. The bot must be an administrator in the chat for this to work. Insufficient admin permissions surface as authorization errors, not as a zero or empty count.
Get Bot Info
TELEGRAM_GET_MEGet basic information about the bot using the Bot API getMe method, including its ID, name, username and available capability flags.
Get Updates
TELEGRAM_GET_UPDATESReceive incoming bot updates using long polling; an outgoing webhook must be removed first, and offsets confirm earlier updates. Returned updates expose message, edited message, channel post, edited channel post and callback query fields, with limited message details.
Send Document
TELEGRAM_SEND_DOCUMENTSend a general file to a Telegram chat using the Bot API. Telegram currently supports sending documents by URL only for PDF and ZIP files.
Send Location
TELEGRAM_SEND_LOCATIONSend point on the map location to a Telegram chat using the Bot API.
Send Message
TELEGRAM_SEND_MESSAGESend a text message to a Telegram chat using the Bot API. Sending is subject to Telegram's chat permissions and flood controls.
Send Photo
TELEGRAM_SEND_PHOTOSend a photo to a Telegram chat using the Bot API. Each call sends one photo rather than an album.
Send Poll
TELEGRAM_SEND_POLLSend a native poll to a Telegram chat using the Bot API, with a question and answer options. On success, Telegram returns the sent message containing the poll.
Set Bot Commands
TELEGRAM_SET_MY_COMMANDSUse this method to change the list of the bot's commands. See https://core.telegram.org/bots#commands for more details about bot commands.