зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-08-28 15:26:18 +03:00
fix: deprecation warning in routes_helper
Этот коммит содержится в:
@@ -47,7 +47,7 @@ module Telegram
|
||||
as: RoutesHelper.route_name_for_bot(bot),
|
||||
format: false,
|
||||
}.merge!(options)
|
||||
post(path || "telegram/#{bot.token && RoutesHelper.token_hash(bot.token)}", params)
|
||||
post(path || "telegram/#{bot.token && RoutesHelper.token_hash(bot.token)}", **params)
|
||||
UpdatesPoller.add(bot, controller) if Telegram.bot_poller_mode?
|
||||
end
|
||||
end
|
||||
|
||||
Ссылка в новой задаче
Block a user