require 'telegram/bot/config_methods' module Telegram extend Bot::ConfigMethods module Bot class Error < StandardError; end class NotFound < Error; end class Forbidden < Error; end autoload :Async, 'telegram/bot/async' autoload :Botan, 'telegram/bot/botan' autoload :Client, 'telegram/bot/client' autoload :ClientStub, 'telegram/bot/client_stub' autoload :DebugClient, 'telegram/bot/debug_client' autoload :Initializers, 'telegram/bot/initializers' autoload :Middleware, 'telegram/bot/middleware' autoload :RSpec, 'telegram/bot/rspec' autoload :UpdatesController, 'telegram/bot/updates_controller' autoload :UpdatesPoller, 'telegram/bot/updates_poller' end end require 'telegram/bot/railtie' if defined?(Rails)