← RSS + Telegram Bot integrations

Edit a Media Message with Telegram Bot API on New Item in Feed from RSS API

Pipedream makes it easy to connect APIs for Telegram Bot, RSS and 800+ other apps remarkably fast.

Trigger workflow on
New Item in Feed from the RSS API
Next, do this
Edit a Media Message with the Telegram Bot API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

This integration creates a workflow with a RSS trigger and Telegram Bot action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Item in Feed trigger
    1. Connect your RSS account
    2. Configure timer
    3. Configure Feed URL
  3. Configure the Edit a Media Message action
    1. Connect your Telegram Bot account
    2. Configure Chat ID
    3. Configure Message ID
    4. Select a Media Type
    5. Optional- Configure Caption
    6. Optional- Configure File Name
    7. Configure Media
    8. Optional- Select a Parse Mode
    9. Optional- Configure Reply Markup
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger


This integration uses pre-built, open source components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.


Description:Emit new items from an RSS feed

Trigger Code

import rss from "../../app/rss.app.mjs";
import { defineSource } from "@pipedream/types";
import rssCommon from "../common/common.mjs";
export default defineSource({
    key: "rss-new-item-in-feed",
    name: "New Item in Feed",
    description: "Emit new items from an RSS feed",
    version: "1.0.3",
    type: "source",
    dedupe: "unique",
    props: {
        url: {
            propDefinition: [
    hooks: {
        async activate() {
            // Try to parse the feed one time to confirm we can fetch and parse.
            // The code will throw any errors to the user.
            await this.rss.fetchAndParseFeed(this.url);
    async run() {
        const items = await this.rss.fetchAndParseFeed(this.url);
        this.rss.sortItems(items).forEach((item) => {
            const meta = this.generateMeta(item);
            this.$emit(item, meta);

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
RSSrssappThis component uses the RSS app.

How often you want to poll the feed for new items

Feed URLurlstring

Enter the URL for any public RSS feed

Trigger Authentication

The RSS API does not require authentication.

About RSS

Real Simple Syndication


Description:Edits photo or video messages. [See the docs](https://core.telegram.org/bots/api#editmessagemedia) for more information

Action Code

import {
} from "../../common/constants.mjs";
import telegramBotApi from "../../telegram_bot_api.app.mjs";

export default {
  key: "telegram_bot_api-edit-media-message",
  name: "Edit a Media Message",
  description: "Edits photo or video messages. [See the docs](https://core.telegram.org/bots/api#editmessagemedia) for more information",
  version: "0.0.2",
  type: "action",
  props: {
    chatId: {
      propDefinition: [
    messageId: {
      propDefinition: [
    type: {
      propDefinition: [
      options: [
          label: "Photo",
          label: "Video",
    caption: {
      propDefinition: [
    filename: {
      propDefinition: [
    media: {
      propDefinition: [
      label: "Media",
    parse_mode: {
      propDefinition: [
    reply_markup: {
      propDefinition: [
  async run({ $ }) {
    const resp = await this.telegramBotApi.editMessageMedia({
      type: this.type,
      media: this.media,
      caption: this.caption,
      parse_mode: this.parse_mode,
    }, {
      chatId: this.chatId,
      messageId: this.messageId,
      reply_markup: this.reply_markup,
    $.export("$summary", `Successfully edited the ${this.type || "media"} message in chat, "${this.chatId}"`);
    return resp;

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

Telegram BottelegramBotApiappThis component uses the Telegram Bot app.
Chat IDchatIdstring

Enter the unique identifier for the target chat (e.g. 1035597319) or username of the target public chat (in the format @channelusername or @supergroupusername). For example, if the group's public link is t.me/mygroup, the username is @mygroup.

Message IDmessageIdstring

Enter the message ID.

Media TypetypestringSelect a value from the drop down menu:{ "label": "Photo", "value": "photo" }{ "label": "Video", "value": "video" }

Enter the caption.

File Namefilenamestring

Enter a filename.


File to send. Pass a file_id to send a file that exists on the Telegram servers, pass an HTTP URL for Telegram to get a file from the Internet, or pass the path to the file (e.g., /tmp/myFile.ext) to upload a new one using a file downloaded to /tmp. File must meet Telegram's requirements for MIME type and size.

Parse Modeparse_modestringSelect a value from the drop down menu:MarkdownV2HTMLMarkdown
Reply Markupreply_markupstring

Enter additional interface options that are a JSON-serialized object including an inline keyboard, a custom reply keyboard, instructions to remove the reply keyboard or instructions to force a reply from the user, e.g. {"inline_keyboard":[[{"text":"Some button text 2","url":"https://botpress.org"}]]} or {"keyboard":[["Yes","No"],["Maybe"]]}. Note: keyboard cannot be used with channels. See the docs for more information.

Action Authentication

Telegram Bot uses API keys for authentication. When you connect your Telegram Bot account, Pipedream securely stores the keys so you can easily authenticate to Telegram Bot APIs in both code and no-code steps.

To use the Telegram Bot API, you must first create a new bot by chatting with the BotFather.

Telegram Bot how to

After you create your bot, copy the bot token and add it below.

About Telegram Bot

Telegram is a cloud-based instant messaging and voice over IP service

More Ways to Connect Telegram Bot + RSS