Delay the execution of any part of your workflow for as little as one millisecond, or as long as one year.
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.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
Create an additional invite link for a chat, See the docs for more information
Edits photo or video messages. See the docs for more information
Edits text or game messages. See the docs for more information
The Delay API allows you to build workflows that wait a specified amount of
time before continuing. This can be useful for rate-limiting actions, or
waiting for an external event to occur.
Here are some examples of what you can build using the Delay API:
export default defineComponent({
async run({steps, $}) {
// Specify the amount of time to delay your workflow in milliseconds
return $.flow.delay(5000)
},
})
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`,
})
},
})