lib/telegram/reply/send_photo.rb in tg-bot-0.0.4 vs lib/telegram/reply/send_photo.rb in tg-bot-0.0.5

- old
+ new

@@ -3,10 +3,10 @@ module Telegram module Reply def send_photo(chat_id: @chat.id, photo:, **options) - url = Telegram::URL::SEND_PHOTO + url = Telegram::URL.new(@telegram_bot_token).send_photo params = { chat_id: chat_id, photo: photo, caption: options[:caption].presence, parse_mode: options[:parse_mode].presence, \ No newline at end of file