Telegram Bot

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

Integrate the Telegram Bot API with the Filter API

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

Continue execution if a condition Is met with Filter API on New Bot Command Received (Instant) from Telegram Bot API
Telegram Bot + Filter
 
Try it
Continue execution if a condition Is met with Filter API on New Channel Updates (Instant) from Telegram Bot API
Telegram Bot + Filter
 
Try it
Continue execution if a condition Is met with Filter API on New Message Updates (Instant) from Telegram Bot API
Telegram Bot + Filter
 
Try it
Continue execution if a condition Is met with Filter API on New Updates (Instant) from Telegram Bot API
Telegram Bot + Filter
 
Try it
End execution if a condition is met with Filter API on New Bot Command Received (Instant) from Telegram Bot API
Telegram Bot + Filter
 
Try it
New Bot Command Received (Instant) from the Telegram Bot API

Emit new event each time a Telegram Bot command is received.

 
Try it
New Channel Updates (Instant) from the Telegram Bot API

Emit new event each time a channel post is created or updated.

 
Try it
New Message Updates (Instant) from the Telegram Bot API

Emit new event each time a Telegram message is created or updated.

 
Try it
New Updates (Instant) from the Telegram Bot API

Emit new event for each new Telegram event.

 
Try it
Create Chat Invite Link with the Telegram Bot API

Create an additional invite link for a chat, See the docs for more information

 
Try it
Continue execution if a condition Is met with the Filter API

Continue workflow execution only if a condition is met

 
Try it
Delete a Message with the Telegram Bot API

Deletes a message. See the docs for more information

 
Try it
End execution if a condition is met with the Filter API

End workflow execution if a condition is met

 
Try it
Edit a Media Message with the Telegram Bot API

Edits photo or video messages. See the docs for more information

 
Try it

Overview of Telegram Bot

With the Telegram Bot API, you can build bots that perform a variety of tasks,
including:

  • Sending and receiving messages
  • Social networking
  • Content management
  • File sharing
  • Location sharing
  • Bot administration
  • And more!

Connect Telegram Bot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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`,
    })
  },
})

Overview of Filter

The Filter API is a great way to build powerful workflows that can manipulate
and transform data. Here are some examples of what you can build using the
Filter API:

  • A workflow that transforms data from one format to another
  • A workflow that filters out data that does not meet certain criteria
  • A workflow that sorts data in a specific order
  • A workflow that calculates statistics or aggregates data
  • A workflow that combines data from multiple sources

Connect Filter

1
2
3
4
5
6
7
8
9
10
export default defineComponent({
  async run({ steps, $ }) {
    let condition = false
    if (condition == false) {
      $.flow.exit("Ending workflow early because the condition is false")
    } else {
        $.export("$summary", "Continuing workflow, since condition for ending was not met.")
    }
  },
})