Automatically if there's a new post in a Public Channel

Telegram Channels and Groups

Trigger

It is triggered every time there is a new message on a public channel, extracting the message in plain text and HTML as well as the URL of any possible image it may contain. Due to Telegram restrictions, it is only possible to extract videos through the option 'if there is a new post in a chat, group, or private channel'.

  • You don't need to register a Telegram bot.
  • You don't need to subscribe to the channel.
  • Telegram scales the images from the extracted posts to a maximum width of 800 pixels.


Information provided

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

  • Tags

  • Chat Id {{chat_id}}

    Unique identifier for a specific user, bot, chat or group. It is a text or numeric value and can be either a private chat between two users or a group chat with multiple participants. The chat_id is used by Telegram's API to identify the specific chat. .
    For example: -100489123323

  • Message Id {{message_id}}

    Unique identifier for the message.
    For example: 81

  • Message {{message}}

    Text content of the message that was received through the Telegram service. This field contains plain text, emojis and special characters.
    For example: Hello world

  • Message HTML {{message_html}}

    Text content of the message that was received through the Telegram service. This field can contain any kind of text, including plain text, emojis, special characters, and even formatted text using markdown or HTML.
    For example: Hello <b>world</b>

  • Buttons HTML {{buttons_html}}

    The HTML code that includes all the buttons that may be in a Telegram post. The buttons allow the user to interact with the post, for example, to open a link, to reply the message, to join a group, etc.

  • Post Date-time {{post_datetime}}

    Date and time when the message was sent.
    For example: 2023-01-23T03:45:35+00:00

  • Image URL {{image_url}}

    URL of any image included in the message.
    For example: https://cdn5.telegram-cdn.org/file/RhsCvQENlt30ibIhX.jpg

The channel no longer exists or it is public but does not have the preview option enabled

The URL of the channel you have specified in the task belongs to a channel that no longer exists or Telegram does not allow previewing the content, which is necessary for Botize to read the messages.

Telegram may disable the preview for some channels based on the content they publish.

Telegram can disable the preview of certain channels based on the content they publish. You can confirm if this is the cause by opening the channel link in a browser's incognito mode and clicking the 'Preview channel' link that Telegram displays. If the channel's content is not displayed, it's because Telegram has disabled this function.

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.