Built-in filter that matches inline query updates.
Usage
filter ExGram.Router.Filters.InlineQuery
filter :inline_query
# Match a specific query string (exact match)
filter :inline_query, "search"
# Match against a regex
filter :inline_query, ~r/^@\w+/
# Keyword list matchers
filter :inline_query, prefix: "@"
filter :inline_query, suffix: "!"
filter :inline_query, contains: "bot"Options
nil— matches any inline query updatestring— matches if the query text equals the string exactly%Regex{}— matches if the query text matches the regexprefix: string— matches if the query text starts with the given prefixsuffix: string— matches if the query text ends with the given suffixcontains: string— matches if the query text contains the given substring