Helper functions and functional utilities to use within your Pipedream workflows
Emit new event each time a Telegram Bot command is received.
Emit new event each time a channel post is created or updated.
Emit new event each time a Telegram message is created or updated.
Accepts a base64-encoded string, returns a decoded UTF-8 string
Create an additional invite link for a chat, See the docs for more information
Get the difference, intersection, union, or symetric difference of two arrays/sets.
Pipedream provides a set of helper functions that make it easy to manipulate
and work with data in your workflow. You can use these helper functions to:
Here are some examples of what you can build using the Helper Functions API:
With the Telegram Bot API, you can build bots that perform a variety of tasks,
including:
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`,
})
},
})