Module: Telegram::Bot::UpdatesController::MessageContext
- Extended by:
- ActiveSupport::Concern
- Includes:
- Session
- Defined in:
- lib/telegram/bot/updates_controller/message_context.rb
Overview
Allows to store context in session and treat next message according to this context.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#cancel ⇒ Object
Action to clear context.
Methods included from Session
Instance Method Details
#cancel ⇒ Object
Action to clear context.
52 53 54 |
# File 'lib/telegram/bot/updates_controller/message_context.rb', line 52 def cancel # Context is already cleared in action_for_message end |