Unsplash

Beautiful Free Images & Pictures

Integrate the Unsplash API with the Telegram Bot API

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

New Bot Command Received (Instant) from the Telegram Bot API

Emit new event each time a Telegram Bot command is received.

 
Try it
New Channel Updates (Instant) from the Telegram Bot API

Emit new event each time a channel post is created or updated.

 
Try it
New Message Updates (Instant) from the Telegram Bot API

Emit new event each time a Telegram message is created or updated.

 
Try it
New Updates (Instant) from the Telegram Bot API

Emit new event for each new Telegram event.

 
Try it
Create Chat Invite Link with the Telegram Bot API

Create an additional invite link for a chat, See the docs for more information

 
Try it
Delete a Message with the Telegram Bot API

Deletes a message. See the docs for more information

 
Try it
Edit a Media Message with the Telegram Bot API

Edits photo or video messages. See the docs for more information

 
Try it
Edit a Text Message with the Telegram Bot API

Edits text or game messages. See the docs for more information

 
Try it
Export Chat Invite Link with the Telegram Bot API

Generate a new primary invite link for a chat, See the docs for more information

 
Try it

Overview of Unsplash

You can do a lot of amazing things with the Unsplash API! Whether you're
looking to build a photo-editing app, a wallpaper app, or a photo-sharing
website, you can use the Unsplash API to get access to over a million free,
high resolution photos. Here are some of the amazing things you can build with
the Unsplash API:

  • Photo-editing apps: You can use the Unsplash API to access, search for, and
    download high resolution photos so your users can use them as a starting
    point for their own creations.
  • Wallpaper apps: Why deal with copyright issues? With the Unsplash API you can
    easily obtain millions of photos to use as wallpaper in your app.
  • Photo-sharing websites: Why spend countless hours uploading and curating
    photos? With the Unsplash API you can access, search for, and download high
    resolution photos directly onto your website.
  • Image recognition: With the Unsplash API, you can leverage the millions of
    photos available to develop AI-powered image recognition and object detection
    software.
  • Advertisement websites: With the Unsplash API, you can easily integrate ads
    into your website by providing high resolution photos and links to the
    products in the photos.
  • Image search engines: Thanks to the variety of photos available, you can
    create a powerful image search engine to help your users find what they're
    looking for quickly.

Connect Unsplash

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    unsplash: {
      type: "app",
      app: "unsplash",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.unsplash.com/me`,
      headers: {
        Authorization: `Bearer ${this.unsplash.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Telegram Bot

With the Telegram Bot API, you can build bots that perform a variety of tasks,
including:

  • Sending and receiving messages
  • Social networking
  • Content management
  • File sharing
  • Location sharing
  • Bot administration
  • And more!

Connect Telegram Bot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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`,
    })
  },
})