We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 343e717 commit b8ebc2dCopy full SHA for b8ebc2d
lib/telegram/bot/routes_helper.rb
@@ -47,7 +47,7 @@ def telegram_webhook(controller, bot = :default, path: nil, **options)
47
as: RoutesHelper.route_name_for_bot(bot),
48
format: false,
49
}.merge!(options)
50
- post(path || "telegram/#{bot.token && RoutesHelper.token_hash(bot.token)}", params)
+ post(path || "telegram/#{bot.token && RoutesHelper.token_hash(bot.token)}", **params)
51
UpdatesPoller.add(bot, controller) if Telegram.bot_poller_mode?
52
end
53
0 commit comments