Built-in filter that matches plain text message updates.
Usage
# Match any text message
filter ExGram.Router.Filters.Text
filter :text
# Match text exactly
filter :text, "hello"
# Match text against a regex
filter :text, ~r/^\d+$/
# Keyword list matchers
filter :text, prefix: "!"
filter :text, suffix: "?"
filter :text, contains: "hello"Options
nil— matches any text updatestring— matches if the text equals the string exactly%Regex{}— matches if the text matches the regexprefix: string— matches if the text starts with the given prefixsuffix: string— matches if the text ends with the given suffixcontains: string— matches if the text contains the given substring