Send a message
Send a message, an image/video/document or both to a specific chat, group or channel.
200+ apps to connectΒ·Tested & maintained tasksΒ·Human support in English & Spanish
In detail
What it does and what it's for
Automating tasks with Telegram Bot allows you to send messages, images, videos, or documents to specific chats, groups, or channels efficiently. This integration supports HTML tags like bold, italic, and links, as well as interactive buttons that can direct users to URLs or trigger other automations.
Customize your messages dynamically using tags from other applications, Spintax, and Mustache to keep your posts engaging and varied. You can also include your own images or those generated from keywords with Unsplash, and add buttons that redirect users or initiate private chats with the bot.
- 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.
How it works
How it fits in an automated task
A Botize task pairs a trigger with one or more actions. This piece is one of them.
Pick a trigger
The event that starts the task, from this app or any other.
This action runs
Botize performs it automatically using the data the trigger delivers.
Turn it on and forget it
The task runs on its own from then on. If something's off, tweak it or we'll help you.
Already using Botize?
Connect your Telegram Bot
Add a profile to use it in your tasks. There's a step-by-step guide if you need it.
Add a new profile Step-by-step guideYour profiles
Your connected Telegram Bot accounts
These are the accounts you already have linked to Botize, ready to use in your tasks. You can reconnect or remove any of them.
Setup
Customization options
Fields you can adjust when using it in your automation.
Dynamic messages
Supports tags from any other app, Spintax and Mustache so your posts always vary and look attractive.
π Emojis, bold, Strikethrough text, Hyperlinks...
Posts with images
Own images or for example obtained from a keyword with Unsplash.
You can also generate your own images with Product Templates.
Posts with buttons
Buttons that send the user to the web or URL that you indicate.
And Buttons that when pressed by the user activate certain automations that you have programmed. For example: Open a private chat between the bot and the user who has clicked on it.
Rich text/HTML formatting
You can include the following HTML tags in your posts to format the text and make it more visually attractive to the reader.
| Tag | Example | Result |
|---|---|---|
| <B> | <b>Bold</b> text | Bold text |
| <STRONG> | <strong>Bold</strong> text | Bold text |
| <I> | <i>Italic</i> text | Italic text |
| <EM> | <em>Italic</em> text | Italic text |
| <U> | <u>Underlined</u> text | Underlined text |
| <INS> | <ins>Underlined</ins> text | Underlined text |
| <S> | <s>Strikethrough</s> text | |
| <STRIKE> | <strike>Strikethrough</strike> text | |
| <SPAN CLASS="TG-SPOILER"> | Text <span class="tg-spoiler">hidden</span> | Text ββββββ |
| <DEL> | <del>Strikethrough</del> text | |
| <A> | <a href="https://google.es">Hyperlink</a> text | Hyperlink text |
| <CODE> | <code>Preformatted</code> text1 | Preformatted text |
| <PRE> | <pre>Preformatted</pre> text1 | Preformatted text |
1. This format has the property of automatically copying the text to the user's clipboard when clicked.
Troubleshooting
Error messages and suggestions to fix it.
Output data
Information provided
When executed, this operation delivers the following data, which can be used in the same automatic task.
Tags
- Message Id {{message_id}}
- Chat Id {{chat_id}}
- File Id {{file_id}}
Learn by watching
Video tutorials
Short videos where you watch a real task being built from start to finish.
Get inspired
Ready-to-use automations
Real tasks built with Telegram Bot: switch them on in minutes and tweak them to your liking.
Frequently Asked Questions
How do I create a button in Telegram that when pressed opens a chat with a specific user or bot?
When creating the button in Botize, indicate the URL "https://t.me/username". This will create a button that when pressed will open a chat with the specified user/bot. Simply replace username with the Telegram username of the user or bot you want to talk to. For example, if the username of the user you want to talk to is 'Botize', the URL would be "https://t.me/botize". Clicking on this button will automatically open a conversation with that user on Telegram.
I receive the error: Can't parse entities. Can't find end tag corresponding to start tag strong
This error indicates that in the message that is being attempted to be sent through Telegram, contains a HTML 'strong' opening tag (or start) that does not have its corresponding closing tag (or end).
To fix it, check the message that is attempting to be sent and make sure all opening tags have a corresponding closing tag.
I receive the error: Can't parse entities. Tag <span> must have class 'tg-spoiler'
This error indicates that the message being sent through Telegram contains an HTML tag <span>, but it does not have the 'tg-spoiler' class.
Telegram only allows the <span> tag within a message if it is accompanied by the 'tg-spoiler' class. Otherwise, the tag should be removed from the message.
How do I get the ID of a topic?
To find the ID of a topic in Telegram, post a message in that topic and then copy the message link (right-click or long-press on mobile). When you paste it into a text editor, you'll see a URL similar to this: https://t.me/c/XXXXXXX/YY/ZZ. The number that appears in the YY position is the topic ID.
How do I get the URL of a public Telegram channel or group?
From the Telegram app on iOS/Android:
- Open your public channel or group and tap the name at the top.
- Tap Share link and you'll see a URL like
https://t.me/<username>; copy it from there.
@username, the chat is private.Common Errors
Bad Request: need administrator rights in the channel chat
To enable the bot to post messages in the specified chat, Telegram requires you to add the bot to the chat and grant it administrator permissions.
If you have already added the bot to the chat, please make sure that in the bot's permissions settings, under 'What can this bot do?', the 'Post messages' option is enabled.
Bad Request: wrong file identifier/HTTP URL specified
This error occurs when attempting to send a file that does not meet certain requirements set by Telegram.
Here's why this error can occur:
- File Type: Telegram only supports sending videos, images and GIF, PDF, and ZIP files.
- Voice Messages: Telegram only supports voice messages of type 'audio/ogg' and must not exceed 1MB in size.
Bad Request: message caption is too long
In Telegram, the text that accompanies images has a maximum limit of 1,024 characters. You should therefore review any caption you send and shorten it so it does not exceed this limit, since Telegram will reject anything longer.
As an alternativeβand to avoid the restriction Telegram imposes on messages that include imagesβyou can consider sending the image and the text in two separate messages.
Bad Request: too many messages to send as an album
Telegram sets a maximum of 10 photos or videos per post.
Edit your automation task and reduce the number of URLs to include in a single post.
Forbidden: bot can't initiate conversation with a user
This error occurs because Telegram bots cannot initiate a conversation with a user proactively. They can only respond to users who have sent them at least one message at some point. If the user has never interacted with the bot, the bot will not have permission to send them messages.
Error 'TOPIC_CLOSED'
This error message means that you're trying to send a message to a topic or thread in Telegram that has already been closed.
Telegram does not allow sending messages to closed topics, even if the bot or user has permissions in the group or channel.
To resolve this issue, edit your automation task and make sure you're using a topic that is currently open. If the topic was closed manually or automatically by Telegram, you'll need to select another valid topic in your task settings.
Need a hand?
Real people behind it
Email us
info@botize.com
Monday to Friday from 7 a.m. to 1 p.m. (Spain).
Message us on Telegram
t.me/botize
Monday to Friday from 7 a.m. to 1 p.m. (Spain).
Come with an idea.
Leave with an automation.
Create your first task in minutes. Do it once and forget about it forever.
Start automating