Instantly when receiving a text message in a chat

Telegram

Trigger

It is triggered every time you receive a message in the specified chat.
Allows you to read the content of any chat, including chats with download-protected content.


Information provided

When executed, this operation delivers the following data, which can be used in the same automatic task.

  • Tags

  • Post Number {{post_number}}

    Number of the message that was posted

  • Post Id {{post_id}}

    Internal Unique identifier for the post or message

  • Chat Id {{chat_id}}

    Unique identifier for the chat where the post was published

  • Message Thread Id {{message_thread_id}}

    Unique identifier for the chat thread (topic) where the post was published

  • URL Message {{url_message}}

    URL address of the published message

  • Message {{message}}

    Content of the published message

  • Message HTML {{message_html}}

    Message in HTML format if the message includes HTML tags. If not, the content of this tag is identical to that of the {{message}} tag

  • Post Date-time {{post_datetime}}

    Date and time when the post was published

  • User Id {{user_id}}

    Unique identifier for the user who published the post

  • Reply to Message Id {{reply_to_msg_id}}

    Identifier of the message the post is responding to (if applicable)

  • Poll: Data {{poll}}

    Contains all the information related to a possible poll that the message may include

  • Poll: Question {{poll.question}}

    Contains the question of the poll

  • Poll: Options {{poll.options}}

    Contains all the different options of the poll

  • Poll: Option Nº1 {{poll.options.0}}

    Contains the text of the first option of the poll. If there are more options, you can access them with {{poll.options.1}}, {{poll.options.2}}, etc.


Related automations

Copies the text and the first image from each post in a public group to another one of mine
Copies the text and the first image from each post in a public or private chat/group/channel to another one of mine
Copy the text of the messages and the first image from those posts that contain certain keywords from a chat/group/channel on Telegram, whether it's public or private, into a group/channel/chat of mine
Post a message from a group or private channel and wait until the next day
Post messages from a group or private channel by removing any URL
Send me only the messages that Oliver or Jack posts in the private group
Save images posted in a private group or channel to Dropbox
Forward to Line every message from the private group or channel
Forward only images posted in a certain group or private channel
Copy only messages that do not contain certain words
Forward messages translated into another language
Extracts each new message from a public/private Telegram chat, searches and replaces certain words, and then publishes it in a separate Telegram chat
Extracts the text and the possible first image from each message in a Telegram group/channel and saves both pieces of information in Dropbox
Respond with ChatGPT to the messages your Telegram user receives in a specific chat
Examines each new message received in a chat, and if it does not contain certain URLs, copies it to one of my chats
Copy the content of each new message from one Telegram chat to another if certain conditions are met
Detect every new post in a private Telegram chat, modify the affiliate links of AliExpress products it may contain, and publish it in one of your chats
Extract each new message from a Telegram chat. If it contains a poll, it publishes it in a chat you own

Frequently Asked Questions


Do I need to create a bot for each channel or group I copy?

It is not necessary. You can add the same Telegram bot that you have created with Botfather in two or more groups and channels.

Can I copy messages in more than one group or channel at the same time?

Yes, you can create a task for each group or channel, or you can do it within the same task by adding more steps.

Why do I need to have a Scale or Automate plan?

Because it is required to install a cloud server connected to your Telegram account permanently.

Can I read, copy and download images, videos and files?

Yes, in addition to text messages, you can also read and download images, videos and files (up to 2GB), regardless of whether it is a public, private chat or if the content is protected against downloads.

Occasionally there may be files or chats whose content cannot be downloaded, generally due to the country in which it is located and firewall restrictions that prevent access from servers located in Europe.

However, please note that Telegram premium stickers cannot be read, copied, or reproduced in other chats.

Can I copy videos and files from one chat to another?

Due to the limitations of the Telegram API, when videos or files are smaller than 50MB, they will be copied from the source chat to the destination chat. However, if the size of a video/file exceeds 50MB, what will be sent to the destination chat is a direct link to the video/file for downloading.

Is this tool allowed by Telegram?

Yes, we use the Official Telegram API to build an application with access to groups and private channels to which the Telegram account that you indicate is connected.

Can I specify any date range?

Yes, any date range for which there is logically content in the channel or group of your choice.

Is there some sort of limit to the number of files that can be downloaded?

When copying or downloading files from other chats, they will be temporarily stored on a 20GB disk. In case you run out of space, the older files will be automatically deleted to always keep 500 MB of free space available.

If you need to copy files of several gigabytes, you might require additional space.

What types of chats (channels, groups, bots, users,...) does it accept?

You can read and download the content of any Telegram chat, including public and private groups, public and private channels, users and other Telegram bots.

How fast are messages copied?

Messages are copied in a matter of seconds. However, please note that if they contain images, videos, or files, these will need to be downloaded first, which may cause some messages to take longer to copy.

Can I forward messages?

In Telegram, automatic forwarding of messages between chats, groups, and channels is only possible if the source and destination chat are both yours (you are the administrator) and you can add a bot within them for this purpose.

If you cannot forward messages because the source chat is not yours, what Telegram allows you to do is copy those messages (copy texts, images, videos, and files) to another chat.

How do I connect my Telegram account to Botize?

First, you need to subscribe to Botize Automate or Scale. Once you've done that, we'll set up access to Telegram for you within 6 to 12 hours and send you an email with a link to connect your personal Telegram account to Botize.

During the connection process, we use Telegram's official API, so you'll need to have the official Telegram app installed on your phone. However, you won't need to install, configure, or modify anything on your phone to make the connection.

When registering my number on the Telegram.org website, I receive the error 'Incorrect App Name'.

When registering your phone number on the Telegram.org website and it asks for an application name ('App Name'), you can enter any word or name that has not been used by another user and consists only of letters and numbers, without spaces or special characters.

Can I modify the text that I extract from a Telegram chat?

Yes, you can use tools like find/replace to modify the texts. You have a step-by-step video (Spanish) here.

Write us

By email or by Telegram.
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Let's talk

Choose day and time.
We share the screen and answer all your questions.