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.
This is one of the exceptional blocks that when executed does not stop the matching process for subsequent blocks.
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