Documentation - v0.28.1
    Preparing search index...

    Variable proxyTransportFromUrlConst

    proxyTransportFromUrl: (url: string) => TelegramTransport = ...

    Create a proxy transport based on an url.

    Supported URLs (self-explanatory):

    • socks4://user:pass@1.2.3.4:80
    • socks5://user:pass@1.2.3.4:80
    • http://user:pass@1.2.3.4:80
    • https://user:pass@1.2.3.4:443
    • https://t.me/proxy?server=example.com&port=443&secret=3dpBFlW2hP6Hq_WOwiNeKBY

    Type Declaration