
Automate tasks with Telegram Bot
Bots are special Telegram accounts designed to handle messages automatically. Users can interact with bots by sending them command messages in private or group chats.
https://core.telegram.org/bots
Featured articles
Telegram task automation with Botize
Triggers
-
If bot receives a text message
It is triggered every time a user sends a text message to the bot or to a group/channel where the bot is located.
- You can choose to trigger the task for any message received or only for those that are preceded by a specific command (a word).
-
If bot receives a command
It is triggered every time the bot receives a command.
-
If bot receives data from a Web App
It is triggered every time the bot receives data from a Telegra Web App.
-
If a user presses a Telegram button
It is triggered every time a user clicks on the buttons attached to the posts of a chat.
- You can choose to trigger the task for a specific chat or for any chat where it has been displayed the button.
-
If bot receives a contact
It is triggered every time a user sends a contact from their address book to the bot.
- To send contacts to a bot, use the attach button in your Telegram application.
-
If bot receives an image
It is triggered every time a user sends an image to the bot.
-
If bot receives a message, image or file
It is triggered every the bot receives a text message, image or file to the bot.
Actions
-
Edit a message
Edit the text, image, video or file of a specific post.
-
Wait for user response
Task is paused and will resume once a response is received from the user.
-
Send a video
Send a video along with a description to a specific chat, group or channel.
- Supported video format: MP4.
- Maximum size 20 MB.
-
Send a document
Send a document along with a description to a specific chat, group or channel.
- Supported document formats: GIF, PDF and ZIP.
- Maximum size 20 MB.
-
Restrict chat member
Restricts the operations that a user can perform on a supergroup.
- The bot must be an administrator in the supergroup.
-
Send a poll
Send a message, an image or both to a specific chat, group or channel.
- The following tags are currently supported in the messages: b, strong , i, em, u, ins, s, strike, del, a, code, pre.
- You can include URL Buttons and Callback Buttons in posts.
-
Send a message
Send a message, an image/video/document or both to a specific chat, group or channel.
- The following tags are currently supported in the messages: b, strong , i, em, u, ins, s, strike, del, a, code, pre.
- You can include URL Buttons and Callback Buttons in posts.
-
Ask user
Send a message, an image/video/document or both to a specific chat and wait for the user's response before continuing.
- The following tags are currently supported in the messages: b, strong , i, em, u, ins, s, strike, del, a, code, pre.
- You can include URL Buttons and Callback Buttons in posts.
-
Forward message
Forward a message from one group or channel to another.
- Service messages can't be forwarded.
- Forwarding messages from groups or channels requires that your bot is included in them and with administrator permissions (also to forward from other channels and public groups).
-
Delete a message
Delete a message from a specific chat including service messages, with the following limitations:
- A message can only be deleted if it was sent less than 48 hours ago.
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
- Bots can delete outgoing messages in private chats, groups, and supergroups.
- Bots can delete incoming messages in private chats.
- Bots granted can_post_messages permissions can delete outgoing messages in channels.
- If the bot is an administrator of a group, it can delete any message there.
- If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there.
-
Get the URL of a file
Given a Telegram File Id, it returns the download URL.
- Telegram file download URLs are valid for one hour.
-
Reply to user
Reply to the message received from a user.
- The reply to messages is valid for both private chats, groups and channels.
- Reply can contain an image, video or file.
- The following tags are currently supported in the messages: b, strong , i, em, u, ins, s, strike, del, a, code, pre.
Related automations
Copy & paste this code to share the formula on your site:
Copy & paste this code to share the formula on your site:
Copy & paste this code to share the formula on your site:
Copy & paste this code to share the formula on your site:
Copy & paste this code to share the formula on your site:
Copy & paste this code to share the formula on your site:
Copy & paste this code to share the formula on your site:
Copy & paste this code to share the formula on your site:
Copy & paste this code to share the formula on your site:
Common Errors
Telegram requires you to indicate a Chat Id before executing this task
- Enter the 'Reply to user' step.
- Complete the 'Chat Id to reply' field by providing a valid chat Id or label.