Comments (7)
How exactly you want to use proxies in bot API? Can't find any proxy-related objects/messages
from nettelegrambotapi.
from nettelegrambotapi.
Attachments are not copied to GitHub, write them "in text" please
from nettelegrambotapi.
MTProto Proxies have these Properties:
Server,port,secret key
from nettelegrambotapi.
:(
Re-read Bot API. It does not use proxies in any way.
from nettelegrambotapi.
@justdmitry sup
As you well aware - telegram is restricted in some countries, e.g. Russia, so direct requests to api.telegram are not possible
Using proxy could solve this issue, it is possible to pass proxy to HttpClient constructor
I know how to pass http and Socks proxies there, but what with MTProto?
from nettelegrambotapi.
@Ezergil MTProto is not used for bot API, only for "native" Telegram communications. You need http(s) proxy. Use TelegramBot.WebProxy
or override TelegramBot.MakeHttpMessageHandler
to add your proxy info.
from nettelegrambotapi.
Related Issues (20)
- How to display the preview of received information (C# code correction request) HOT 1
- AnswerInlineQuery in NetTelegramBotApi HOT 3
- Chat type response from GetChat has missing properties
- Call back query HOT 3
- Dynamic Inline keyboards HOT 5
- SSL/TLS secure channel issue HOT 1
- Delete Message from group HOT 2
- Left from group when add HOT 8
- getFile give an error in webhook mode
- User in group HOT 2
- All Group Message HOT 2
- Bot Messages HOT 2
- Add member HOT 1
- Add member to group HOT 1
- Know that user join a channel HOT 5
- Related to issue #71 HOT 5
- TLS 1.2 issue HOT 4
- Bot is saving received pictures as .tmp HOT 1
- The bot stops responding to messages HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nettelegrambotapi.