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 message 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_posts_in_your_channel
- Runtime method
- performQuery("telegram.history_of_posts_in_your_channel")
Query fields
Chat ID Dropdown list
- Label
- Which channel?
- Helper text
- Both you and @IFTTT must be admins in the channel. 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.historyOfPostsInYourChannel.PostedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Channel titleThe title of the channel.
- Slug
- channel_title
- Filter code
- Telegram.historyOfPostsInYourChannel.ChannelTitle
- Type
- String
- Example
- Bot News Channel
Channel usernameThe username of the channel.
- Slug
- channel_username
- Filter code
- Telegram.historyOfPostsInYourChannel.ChannelUsername
- Type
- String
- Example
- BotNews
Author nameThe author's name, when available.
- Slug
- author_name
- Filter code
- Telegram.historyOfPostsInYourChannel.AuthorName
- Type
- String
- Example
- Pavel Durov
Post textThe plain text contents of the post.
- Slug
- text
- Filter code
- Telegram.historyOfPostsInYourChannel.PostText
- Type
- String
- Example
- Hello world!
Post HTMLThe HTML-formatted message contents.
- Slug
- html
- Filter code
- Telegram.historyOfPostsInYourChannel.PostHTML
- Type
- String
- Example
- Hello <b>world</b>.<br/>This string <i>can</i> contain <pre>some</pre> HTML <code>tags</code>.
Post URLPublic URL to the post. User must be logged in to Telegram to view contents.
- Slug
- post_url
- Filter code
- Telegram.historyOfPostsInYourChannel.PostUrl
- Type
- Web URL
- Example
- https://telegram.me/BotNews/21