{"action":"closed","issue":{"url":"https://api.github.com/repos/windkh/node-red-contrib-telegrambot/issues/44","repository_url":"https://api.github.com/repos/windkh/node-red-contrib-telegrambot","labels_url":"https://api.github.com/repos/windkh/node-red-contrib-telegrambot/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/windkh/node-red-contrib-telegrambot/issues/44/comments","events_url":"https://api.github.com/repos/windkh/node-red-contrib-telegrambot/issues/44/events","html_url":"https://github.com/windkh/node-red-contrib-telegrambot/issues/44","id":324622911,"number":44,"title":"http proxy and https proxy","user":{"login":"moinsse","id":39434283,"avatar_url":"https://avatars0.githubusercontent.com/u/39434283?v=4","gravatar_id":"","url":"https://api.github.com/users/moinsse","html_url":"https://github.com/moinsse","followers_url":"https://api.github.com/users/moinsse/followers","following_url":"https://api.github.com/users/moinsse/following{/other_user}","gists_url":"https://api.github.com/users/moinsse/gists{/gist_id}","starred_url":"https://api.github.com/users/moinsse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moinsse/subscriptions","organizations_url":"https://api.github.com/users/moinsse/orgs","repos_url":"https://api.github.com/users/moinsse/repos","events_url":"https://api.github.com/users/moinsse/events{/privacy}","received_events_url":"https://api.github.com/users/moinsse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-19T11:30:01Z","updated_at":"2018-05-19T13:07:17Z","closed_at":"2018-05-19T13:07:17Z","author_association":"NONE","body":"Hello,\r\n\r\nIs there a possibility to add a http proxy in the parameters ? I am using a raspberry pi behind a corporate proxy.\r\n\r\nI managed to use it in command line python with \"telepot\"\r\n(example of python code.py  below)\r\nproxy_url = \"http://nameofproxy:3128\"\r\ntelepot.api._pools = {\r\n    'default': urllib3.ProxyManager(proxy_url=proxy_url, num_pools=3, maxs....\r\n}\r\ntelepot.api._onetime_pool_spec = (urllib3.ProxyManager, dict(proxy_url=pro....\r\nbot = telepot.Bot('<token>')\r\n(etc ... code of the codebot.py following)\r\n\r\nWithout using this, i cannot connect to my telegrambot. But using the proxy option, I can communicate with my bot easily. Is there something similar in the options of node-red-contrib-telegrambot or something that could done easily ?\r\n\r\nThank you for the answers.\r\n"}}
{"actor":{"display_login":"moinsse"}}