after_all
If it was called, this block will always be executed at the end of the matching process, even if another block was executed previously.
before_anything(&block)
before_anything(&block)Platforms
Platform
Supported
Usage
class MainContext < Conversation
def actions
intent :greeting do
@reply.text "Hello, how can I help you?"
end
after_all do
logger.info "This block will be executed on every incoming message or event"
end
end
endLast updated
Was this helpful?