cant send any file after add twitter gem/faraday gem
hi guys
i created a robot and on last days and works perfectly , but after add twitter gem i cant send any file/video/photo to telegram and return this error
Telegram API has returned the error. (ok: "false", error_code: "400", description: "Bad Request: wrong persistent file_id specified: Wrong character in the string") (Telegram::Bot::Exceptions::ResponseError) from /root/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/telegram-bot-ruby-0.8.4/lib/telegram/bot/api.rb:58:inmethod_missing'`
bot.api.sendVideo(chat_id: message.chat.id, video: File.new("./#{video.filename}"),duration: video.duration,caption: video.title.to_s + ' @idownload_bot',text: video.description.to_s+ ' @idownload_bot')
and
bot.api.sendPhoto(chat_id: message.chat.id,caption: description.to_s + ' @idownload_bot', photo: File.new(open(image)))
i think this error is about like faraday , its true ? how fix it :'(((