Telegram Bot

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

Go to site

Integrate the Telegram Bot API with the HTTP / Webhook API

Setup the Telegram Bot API trigger to run a workflow which integrates with the HTTP / Webhook API. Pipedream's integration platform allows you to integrate Telegram Bot and HTTP / Webhook 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`,
    })
  },
})

Connect HTTP / Webhook

export default defineComponent({
  props: {
    http: {
      type: "http_request",
      default: {
        method: "GET",
        url: "http://api.open-notify.org/iss-now.json",
      }
    }
  },
  async run({steps, $}) {
    return await this.http.execute()
  },
})

Community Posts

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Traffic-Based Workflow in Pipedream
Building a Traffic-Based Workflow in Pipedream
Normally I don't like to blog about stuff that isn't generally available to all, but as it will be available sometime soon, I decided to go ahead anyway. And I built something really cool I want to share so that's another reason to talk about this now!