class Tourmaline::InlineQueryFilter
- Tourmaline::InlineQueryFilter
- Tourmaline::Filter
- Reference
- Object
Overview
Filters messages containing a specfic inline query callback.
Options:
callback : String | Regex
- string or regex to match
Context additions:
match : Regex::MatchData
- the match data returned by the successful match
Example:
filter = InlineQueryFilter.new(/^foo(\d+)/)