Skip to content

Add Proxyability#22

Merged
justdmitry merged 2 commits intojustdmitry:masterfrom
DannySotzny:master
Sep 25, 2015
Merged

Add Proxyability#22
justdmitry merged 2 commits intojustdmitry:masterfrom
DannySotzny:master

Conversation

@DannySotzny
Copy link
Copy Markdown
Contributor

adds the possibility to use a proxy

@justdmitry justdmitry merged commit d678551 into justdmitry:master Sep 25, 2015
@justdmitry
Copy link
Copy Markdown
Owner

Thanks for your contribution.

I replaced string proxyUrl with full-featured (credentials etc) IWebProxy in dedicated property, now you should create TelegramBot like this:

var bot = new TelegramBot(accessToken) {  WebProxy = new System.Net.WebProxy(...) };

@justdmitry
Copy link
Copy Markdown
Owner

Package ver. 3.7.50926 uploaded to NuGet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants