before_anything
If it's called in the current context of the conversation, it will always be executed, at the beginning of the block matching process.
before_anything(&block)
before_anything(&block)
Platforms
Platform
Supported
Messenger
Telegram
Usage
In the example below, before_anything
and any_text
will always be executed on arrival of a text message:
Last updated
Was this helpful?