Schedule

Trigger workflows on an interval or cron schedule.

Go to site

Integrate the Schedule API with the Telegram Bot API

Setup the Schedule API trigger to run a workflow which integrates with the Telegram Bot API. Pipedream's integration platform allows you to integrate Schedule and Telegram Bot remarkably fast. Free for developers.

Connect Telegram Bot

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    telegram_bot_api: {
      type: "app",
      app: "telegram_bot_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.telegram.org/bot${this.telegram_bot_api.$auth.token}/getMe`,
    })
  },
})