Answer the question
In order to leave comments, you need to log in
How to use Telegram Bot API and MTProxy?
When using SOCK5 + CURL (PHP) you can do this:
curl_setopt($curl, CURLOPT_PROXY, $proxy);
curl_setopt($curl, CURLOPT_PROXYUSERPWD, $proxy_auth);
curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
Answer the question
In order to leave comments, you need to log in
Telegram Bot API has nothing to do with MTProto. It works over HTTP. And, accordingly, MTProto proxy is not applicable to it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question