Class: Telegram::BotManager::Controller

Inherits:
Telegram::Bot::UpdatesController
  • Object
show all
Includes:
Telegram::Bot::UpdatesController::MessageContext, Telegram::Bot::UpdatesController::Session
Defined in:
lib/telegram/bot_manager/controller.rb

Instance Method Summary collapse

Constructor Details

#initialize(bot, controller, **options) ⇒ Controller

Returns a new instance of Controller.



15
16
17
18
19
# File 'lib/telegram/bot_manager/controller.rb', line 15

def initialize(bot, controller, **options)
  super(bot, controller, **options)
rescue => exception
  rescue_with_handler(exception)
end