ziya/telegram_proxy

There is no license information available for the latest version (0.5) of this package.

Package for proxying telegram bot without any webhook

Installs: 245

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ziya/telegram_proxy

0.5 2021-09-23 20:55 UTC

This package is auto-updated.

Last update: 2025-11-24 06:09:56 UTC


README

You can run and test your telegram bot without webhook and using XDebug

composer require ziya/telegram_proxy "^0.3"

Examples

<?php
    require __DIR__ . '/vendor/autoload.php';

    $bot_api_key = '<bot token>';
    $url = '<url: ip address, domain name or your localhost>';
    $proxy = new \ziya\Proxy\ProxyLoop($bot_api_key, $url);
    $proxy->loop();