зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-09-04 02:05:52 +03:00
Deprecate telegram_webhooks in favor of telegram_webhook
Этот коммит содержится в:
@@ -12,6 +12,15 @@ module Telegram
|
||||
# Raised for valid telegram response with 404 status code.
|
||||
class NotFound < Error; end
|
||||
|
||||
module_function
|
||||
|
||||
def deprecation_0_14
|
||||
@deprecation ||= begin
|
||||
require 'active_support/deprecation'
|
||||
ActiveSupport::Deprecation.new('0.14', 'Telegram::Bot')
|
||||
end
|
||||
end
|
||||
|
||||
autoload :Async, 'telegram/bot/async'
|
||||
autoload :Botan, 'telegram/bot/botan'
|
||||
autoload :Client, 'telegram/bot/client'
|
||||
|
||||
Ссылка в новой задаче
Block a user