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 user sends a message with the /ifttt command and a key phrase to the source group.
- API endpoint slug
- telegram.history_of_messages_with_key_phrase_in_a_group
- Runtime method
- performQuery("telegram.history_of_messages_with_key_phrase_in_a_group")
Query fields
Chat ID Dropdown list
- Label
- Which group?
- Helper text
- You can use the @IFTTT bot to connect new groups.
- Slug
- chat_id
- Required
- true
- Can have default value
- false
Filter Text input
- Label
- Key phrase
- Helper text
- Any #hashtag or keyword. The Trigger fires when anyone sends a message with the command /ifttt and the key phrase to the group.
- Slug
- filter
- Required
- true
- Can have default value
- true
Reply text Text input > Other
- Label
- What to send as a reply?
- Helper text
- The bot will reply to the command with this text. Leave blank for a standard message.
- Slug
- reply_text
- Required
- true
- Can have default value
- true
Ingredients
Triggered atDate and time event was triggered.
- Slug
- created_at
- Filter code
- Telegram.historyOfMessagesWithKeyPhraseInAGroup.TriggeredAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Group titleThe title of the group.
- Slug
- group_title
- Filter code
- Telegram.historyOfMessagesWithKeyPhraseInAGroup.GroupTitle
- Type
- String
- Example
- Bot News Group
Author nameThe name of the author who triggered the Applet.
- Slug
- author_name
- Filter code
- Telegram.historyOfMessagesWithKeyPhraseInAGroup.AuthorName
- Type
- String
- Example
- Pavel Durov
Author usernameAuthor username, when available.
- Slug
- author_username
- Filter code
- Telegram.historyOfMessagesWithKeyPhraseInAGroup.AuthorUsername
- Type
- String
- Example
- durov
TextRepresents a plain-text message contents. Does not include the 'Key phrase'.
- Slug
- text
- Filter code
- Telegram.historyOfMessagesWithKeyPhraseInAGroup.Text
- Type
- String
- Example
- Hello world!
HTMLRepresents HTML-formatted message contents.
- Slug
- html
- Filter code
- Telegram.historyOfMessagesWithKeyPhraseInAGroup.HTML
- Type
- String
- Example
- Hello <b>world</b>.<br/>This string <i>can</i> contain <pre>some</pre> HTML <code>tags</code>.