Telegram Bot API
Telegram Bot API allows developers to integrate bots into the Telegram messaging platform, automating interactions and enhancing user engagement seamlessly. It provides a powerful interface to create custom bots that can perform a variety of tasks within Telegram chats and channels.
Features
- Easy integration with Telegram messaging platform via API
- Supports sending and receiving messages, photos, and other media
- Enables automation of repetitive tasks and interactions
- Provides webhook support for real-time updates
- Supports rich features like custom keyboards, inline queries, and more
Benefits
- Enhances user engagement through automated and interactive messaging
- Reduces manual workload by automating routine communication tasks
- Supports building scalable chatbots for marketing, support, and entertainment
- Improves response times and customer satisfaction with instant replies
- Facilitates seamless integration with existing systems and workflows
Available tools
26 actions available as tools
Unpin message
Unpins a message. [See the docs](https://core.telegram.org/bots/api#unpinchatmessage) for more information
Set chat permissions
Set default chat permissions for all members. [See the docs](https://core.telegram.org/bots/api#setchatpermissions) for more information
Send voice message
Sends a voice message. [See the docs](https://core.telegram.org/bots/api#sendvoice) for more information
Send video
Sends a video file to your Telegram Desktop application. [See the docs](https://core.telegram.org/bots/api#sendvideo) for more information
Send video note
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long. Use this method to send video messages. [See the docs](https://core.telegram.org/bots/api#sendvideonote) for more information
Send text message or reply
Sends a text message or a reply to your Telegram Desktop application. [See the docs](https://core.telegram.org/bots/api#sendmessage) for more information
Send sticker
Sends a .webp sticker to you Telegram Desktop application. [See the docs](https://core.telegram.org/bots/api#sendsticker) for more information
Send photo
Sends a photo to your Telegram Desktop application. [See the docs](https://core.telegram.org/bots/api#sendphoto) for more information
Send media by url or id
Sends a file (document, photo, video, audio, ...) by HTTP URL or by ID that exists on the Telegram servers. [See the docs](https://core.telegram.org/bots/api#inputmedia) for more information
Send document or image
Sends a document or an image to your Telegram Desktop application. [See the docs](https://core.telegram.org/bots/api#senddocument) for more information
Send audio file
Sends an audio file to your Telegram Desktop application. [See the docs](https://core.telegram.org/bots/api#sendaudio) for more information
Send album
Sends a group of photos or videos as an album. [See the docs](https://core.telegram.org/bots/api#sendmediagroup) for more information
Restrict chat member
Use this method to restrict a user in a supergroup. [See the docs](https://core.telegram.org/bots/api#restrictchatmember) for more information
Promote chat member
Use this method to promote or demote a user in a supergroup or a channel. [See the docs](https://core.telegram.org/bots/api#promotechatmember) for more information
Pin message
Pins a message. [See the docs](https://core.telegram.org/bots/api#pinchatmessage) for more information
List updates
Retrieves a list of updates from the Telegram server. [See the docs](https://core.telegram.org/bots/api#getupdates) for more information
List chats
List available Telegram chats. [See the docs](https://core.telegram.org/bots/api#getupdates) for more information
List administrators in chat
Use this module to get a list of administrators in a chat. [See the docs](https://core.telegram.org/bots/api#getchatadministrators) for more information
Kick chat member
Use this method to kick a user from a group, a supergroup or channel. [See the docs](https://core.telegram.org/bots/api#banchatmember) for more information
Get num members in chat
Use this module to get the number of members in a chat. [See the docs](https://core.telegram.org/bots/api#getchatmembercount) for more information
Forward message
Forwards messages of any kind. [See the docs](https://core.telegram.org/bots/api#forwardmessage) for more information
Export chat invite link
Generate a new primary invite link for a chat, [See the docs](https://core.telegram.org/bots/api#createchatinvitelink) for more information
Edit text message
Edits text or game messages. [See the docs](https://core.telegram.org/bots/api#editmessagetext) for more information
Edit media message
Edits photo or video messages. [See the docs](https://core.telegram.org/bots/api#editmessagemedia) for more information
Delete message
Deletes a message. [See the docs](https://core.telegram.org/bots/api#deletemessage) for more information
Create chat invite link
Create an additional invite link for a chat, [See the docs](https://core.telegram.org/bots/api#createchatinvitelink) for more information