1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-09-04 18:25:51 +03:00

Add UpdatesController#webhook_request

Этот коммит содержится в:
Max Melentiev
2023-04-16 20:15:45 +01:00
родитель ca20bb0533
Коммит cbe7186c44
12 изменённых файлов: 76 добавлений и 12 удалений

Просмотреть файл

@@ -16,7 +16,7 @@ module Telegram
def call(env)
request = ActionDispatch::Request.new(env)
update = request.request_parameters
controller.dispatch(bot, update)
controller.dispatch(bot, update, request)
[200, {}, ['']]
end