This block will be executed with any text message and will return as parameter the text message.
any_text(&block)
Messenger
WhatsApp
Telegram
class MainContext < Conversation def blocks any_text do |text| @reply.text "You wrote: '#{text}'" end end end
Last updated 4 years ago
Was this helpful?