Filter messages on MultiFeed
Telespace SupportUsing filters allows you to make the bot skipping messages that you do not want to be forwarded to your destinations.
Available filters:
- containsWordOf (MultiFeed SKIPS reposting of messages, containing at least one of the words listed in filter settings)
- notContainsWordOf (MultiFeed DOES reposting of ONLY messages, containing at least one of the words listed in filter settings)
- textContainsWordOf (MultiFeed SKIPS reposting of messages, containing at least one of the words listed in filter settings)
- textNotContainsWordOf (MultiFeed DOES reposting of ONLY messages, containing at least one of the words listed in filter settings)
- photos
- audios
- animations
- stickers
- videos
- voiceNotes
- documents
- mentions (@-starting and inline mentions of people/channels/groups on Telegram)
- links
- contacts
- emails
- hashtags
- text
- caption (messages that have a caption, e.g. media content with captions)
- inline
Most of the filters listed above are on/off filters, meaning they are either restrict (if enabled) or allow reposting of messages of a certain type (photos, audios, location, animations, links, etc.).
Filters containsWordOf, notContainsWordOf, textContainsWordOf, textNotContainsWordOf accept additional argument - list of of words, separated by coma.
What is the difference between containsWordOf and textContainsWordOf filters?
containsWordOf works for all message types that have a caption (e.g. photos, documents and etc.), whereas textContainsWordOf works only on text message. The same applies to notContainsWordOf/textNotContainsWordOf filters pair
⚡️ Updates: @TelespaceNews
❓Still have questions? Ask us at: @TelespaceSupport