Module: Telegram::Bot

Defined in:
lib/telegram/bot.rb,
lib/telegram/bot/async.rb,
lib/telegram/bot/rspec.rb,
lib/telegram/bot/tasks.rb,
lib/telegram/bot/client.rb,
lib/telegram/bot/railtie.rb,
lib/telegram/bot/version.rb,
lib/telegram/bot/middleware.rb,
lib/telegram/bot/client_stub.rb,
lib/telegram/bot/debug_client.rb,
lib/telegram/bot/routes_helper.rb,
lib/telegram/bot/config_methods.rb,
lib/telegram/bot/updates_poller.rb,
lib/telegram/bot/client/api_helper.rb,
lib/telegram/bot/updates_controller.rb,
lib/telegram/bot/client/typed_response.rb,
lib/telegram/bot/rspec/client_matchers.rb,
lib/telegram/bot/updates_controller/rescue.rb,
lib/telegram/bot/updates_controller/session.rb,
lib/telegram/bot/updates_controller/testing.rb,
lib/telegram/bot/updates_controller/commands.rb,
lib/telegram/bot/client/request_body_formatter.rb,
lib/telegram/bot/updates_controller/translation.rb,
lib/telegram/bot/updates_controller/typed_update.rb,
lib/telegram/bot/updates_controller/reply_helpers.rb,
lib/telegram/bot/updates_controller/log_subscriber.rb,
lib/telegram/bot/updates_controller/instrumentation.rb,
lib/telegram/bot/updates_controller/message_context.rb,
lib/telegram/bot/updates_controller/callback_query_context.rb

Defined Under Namespace

Modules: Async, ConfigMethods, DebugClient, RSpec, RoutesHelper, Tasks Classes: Client, ClientStub, Error, Forbidden, Middleware, NotFound, Railtie, UpdatesController, UpdatesPoller

Constant Summary collapse

VERSION =
'0.16.0'.freeze

Class Method Summary collapse

Class Method Details

.deprecation_0_16Object



17
18
19
20
21
22
# File 'lib/telegram/bot.rb', line 17

def deprecation_0_16
  @deprecation ||= begin
    require 'active_support/deprecation'
    ActiveSupport::Deprecation.new('0.16', 'Telegram::Bot')
  end
end

.gem_versionObject



5
6
7
# File 'lib/telegram/bot/version.rb', line 5

def self.gem_version
  Gem::Version.new VERSION
end