About this query
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This query returns a list of when a new photo is posted in a public channel where you are an admin. The @IFTTT bot must also be an admin in the channel.
- API endpoint slug
- telegram.history_of_photos_in_your_channel
- Runtime method
- performQuery("telegram.history_of_photos_in_your_channel")
Query fields
Chat ID Dropdown list
- Label
- Which channel?
- Helper text
- Both you and @IFTTT must be admins in the channel. You can use the @IFTTT bot to connect new channels.
- Slug
- chat_id
- Required
- true
- Can have default value
- false
Ingredients
Posted atDate and time the message was posted.
- Slug
- created_at
- Filter code
- Telegram.historyOfPhotosInYourChannel.PostedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
CaptionThe caption of the photo posted in the channel.
- Slug
- caption
- Filter code
- Telegram.historyOfPhotosInYourChannel.Caption
- Type
- String
- Example
- Look at this nice photo!
Post URLPublic URL to the post. User must be logged in to Telegram to view contents.
- Slug
- post_url
- Filter code
- Telegram.historyOfPhotosInYourChannel.PostUrl
- Type
- Web URL
- Example
- https://telegram.me/BotNews/21
Channel titleThe title of the channel.
- Slug
- channel_title
- Filter code
- Telegram.historyOfPhotosInYourChannel.ChannelTitle
- Type
- String
- Example
- Bot News Channel
Channel usernameThe username of the channel.
- Slug
- channel_username
- Filter code
- Telegram.historyOfPhotosInYourChannel.ChannelUsername
- Type
- String
- Example
- BotNews
Author nameThe author's name, when available.
- Slug
- author_name
- Filter code
- Telegram.historyOfPhotosInYourChannel.AuthorName
- Type
- String
- Example
- Pavel Durov
Photo URLThe URL of the image posted in the channel.
- Slug
- photo_url
- Filter code
- Telegram.historyOfPhotosInYourChannel.PhotoUrl
- Type
- Image URL
- Example
- https://botusercontent.telegra.ph/ifttt/file/eyJmIjoiQ/photo.jpg