PHP code example of ziya / telegram_proxy
1. Go to this page and download the library: Download ziya/telegram_proxy library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ziya / telegram_proxy example snippets
_api_key = '<bot token>';
$url = '<url: ip address, domain name or your localhost>';
$proxy = new \ziya\Proxy\ProxyLoop($bot_api_key, $url);
$proxy->loop();