Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Proxyability #22

Merged
merged 2 commits into from
Sep 25, 2015
Merged

Add Proxyability #22

merged 2 commits into from
Sep 25, 2015

Conversation

DannySotzny
Copy link
Contributor

adds the possibility to use a proxy

@justdmitry justdmitry merged commit d678551 into justdmitry:master Sep 25, 2015
@justdmitry
Copy link
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
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