Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.
Get a URL and emit the HTTP body as an event on every request
Emit new event when the content of the URL changes.
Emit new event each time a Telegram Bot command is received.
Emit new event each time a channel post is created or updated.
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
Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.
Edits text or game messages. See the docs for more information
The Telegram Bot API allows you to build bots that can interact with users on the Telegram platform. Using Pipedream, you can automate messaging, handle commands, and trigger actions based on conversations or alerts. Pipedream's serverless execution model enables you to create complex workflows involving Telegram messages without managing any infrastructure. With Pipedream's integration, you can process inbound messages, send outbound notifications, and connect the Telegram Bot API with numerous other services to create powerful automation solutions.
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`,
})
},
})
Build, test, and send HTTP requests without code using your Pipedream workflows. The HTTP / Webhook action is a tool to build HTTP requests with a Postman-like graphical interface.
Define the target URL, HTTP verb, headers, query parameters, and payload body without writing custom code.
This action can also use your connected accounts with third-party APIs. Selecting an integrated app will automatically update the request’s headers to authenticate with the app properly, and even inject your token dynamically.
Pipedream integrates with thousands of APIs, but if you can’t find a Pipedream integration simply use Environment Variables in your request headers to authenticate with.
The HTTP/Webhook action exports HTTP response data for use in subsequent workflow steps, enabling easy data transformation, further API calls, database storage, and more.
Response data is available for both coded (Node.js, Python) and no-code steps within your workflow.
// To use any npm package on Pipedream, just import it
import axios from "axios"
export default defineComponent({
async run({ steps, $ }) {
const { data } = await axios({
method: "GET",
url: "https://pokeapi.co/api/v2/pokemon/charizard",
})
return data.species
},
})