This block will be executed if the message is one of the defined keywords.
keyword(String|Array, &block)
Platforms
Platform
Supported
Messenger
WhatsApp
Telegram
Usage
classMainContext<Conversationdefblocks keyword ["stop","close","quit"] do @reply.text "I'll stop responding you until you write the keyword 'start'"end keyword "start"do @rsp.text("Great!") @reply.text "Let's chat again! 😃"endendend