{"action":"created","issue":{"url":"https://api.github.com/repos/lostisland/faraday/issues/595","repository_url":"https://api.github.com/repos/lostisland/faraday","labels_url":"https://api.github.com/repos/lostisland/faraday/issues/595/labels{/name}","comments_url":"https://api.github.com/repos/lostisland/faraday/issues/595/comments","events_url":"https://api.github.com/repos/lostisland/faraday/issues/595/events","html_url":"https://github.com/lostisland/faraday/issues/595","id":165236298,"number":595,"title":"Send file through url instead of upload","user":{"login":"JorgeDDW","id":811257,"avatar_url":"https://avatars.githubusercontent.com/u/811257?v=3","gravatar_id":"","url":"https://api.github.com/users/JorgeDDW","html_url":"https://github.com/JorgeDDW","followers_url":"https://api.github.com/users/JorgeDDW/followers","following_url":"https://api.github.com/users/JorgeDDW/following{/other_user}","gists_url":"https://api.github.com/users/JorgeDDW/gists{/gist_id}","starred_url":"https://api.github.com/users/JorgeDDW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JorgeDDW/subscriptions","organizations_url":"https://api.github.com/users/JorgeDDW/orgs","repos_url":"https://api.github.com/users/JorgeDDW/repos","events_url":"https://api.github.com/users/JorgeDDW/events{/privacy}","received_events_url":"https://api.github.com/users/JorgeDDW/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-13T04:45:38Z","updated_at":"2016-08-25T13:34:41Z","closed_at":"2016-08-25T13:34:41Z","body":"Hi there,\r\n\r\nIn my part of learn Ruby, JSON, and Telegram Bots I want to make a Pokedext, and here is what i need to send file through the url i get from the API instead of upload from the server:\r\n\r\n`    bot.api.send_photo(chat_id: message.chat.id, photo: Faraday::UploadIO.new('~/Desktop/jennifer.jpg', 'image/jpeg'))\r\n`\r\n\r\nWhat do I need to change in order to use a url ?"},"comment":{"url":"https://api.github.com/repos/lostisland/faraday/issues/comments/242387771","html_url":"https://github.com/lostisland/faraday/issues/595#issuecomment-242387771","issue_url":"https://api.github.com/repos/lostisland/faraday/issues/595","id":242387771,"user":{"login":"sbleon","id":198711,"avatar_url":"https://avatars.githubusercontent.com/u/198711?v=3","gravatar_id":"","url":"https://api.github.com/users/sbleon","html_url":"https://github.com/sbleon","followers_url":"https://api.github.com/users/sbleon/followers","following_url":"https://api.github.com/users/sbleon/following{/other_user}","gists_url":"https://api.github.com/users/sbleon/gists{/gist_id}","starred_url":"https://api.github.com/users/sbleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbleon/subscriptions","organizations_url":"https://api.github.com/users/sbleon/orgs","repos_url":"https://api.github.com/users/sbleon/repos","events_url":"https://api.github.com/users/sbleon/events{/privacy}","received_events_url":"https://api.github.com/users/sbleon/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T13:34:41Z","updated_at":"2016-08-25T13:34:41Z","body":"Since this is more of a support request than a suggestion of a change to faraday, I'm going to close it.\r\n\r\nJorge, if you need more help with this issue I recommend posting on StackOverflow. That will probably get a lot more eyeballs on it!"}}
{"actor":{"display_login":"sbleon"}}