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 5184fbd commit 0952104Copy full SHA for 0952104
app/jobs/telegram_background_worker_job.rb
@@ -26,7 +26,7 @@ def perform(args)
26
private
27
28
def bot
29
- @bot ||= Rails.application.config.telegram_bot
+ @bot ||= Telegram::Bot::Client.new(Rails.application.credentials.dig(:telegram_bot_token))
30
end
31
32
def delete_message(chat_id:, message_id:)
0 commit comments