RSS to Telegram
@dylburger
code:
data:privatelast updated:4 years ago
today
Build integrations remarkably fast!
You're viewing a public workflow template.
Sign up to customize, add steps, modify code and more.
Join 1,000,000+ developers using the Pipedream platform
steps.
rss_trigger
inactive
last updated:-last event:-
steps.
send_telegram_message
Sends a message using the sendMessage API method: https://core.telegram.org/bots/api#sendmessage
auth
(auths.telegram_bot_api)
params
Chat ID

Unique identifier for the target chat or username of the target channel (in the format @channelusername). Integer or String accepted.

 
integer ·params.chat_id
Message text

Text of the message to be sent, 1-4096 characters after entities parsing

New post: {{event.title}}{{event.link}}
string ·params.text
code
async (params, auths) => {
1
2
3
4
5
6
7
8
9
10
11
12
}
13
// https://core.telegram.org/bots/api#sendmessage
const { chat_id, text } = params

return await require("@pipedreamhq/platform").axios(this, {
  method: "POST",
  url: `https://api.telegram.org/bot${auths.telegram_bot_api.token}/sendMessage`,
  params: {
    chat_id,
    text,
  }
})