Pocket

Service for managing a reading list of articles and videos

Go to site

Integrate the Pocket API with the Telegram Bot API

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

Send Telegram Message

Sends a message using the sendMessage API method: https://core.telegram.org/bots/api#sendmessage

 
Try it

Connect Pocket

const pocketReq = {
  method: "post",
  url: "/v3/add",
  data: {
    url: "https://pipedream.com",
    title: "What a great website!",
    access_token: auths.pocket.oauth_access_token,
  },
}
// proxy pocket request
return await require("@pipedreamhq/platform").axios(this, {
  url: "https://enkogw2a5epb176.m.pipedream.net",
  params: {
    http_respond: 1,
  },
  data: pocketReq,
})

Connect Telegram Bot

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