@mtcute/mtproxy
TypeScript icon, indicating that this package has built-in type declarations

0.17.0 • Public • Published

@mtcute/mtproxy

📖 API Reference

MTProto proxy (MTProxy) transport for mtcute.

Supports all kinds of MTProto proxies, including obfuscated and fake TLS.

Usage

import { MtProxyTcpTransport } from '@mtcute/mtproxy'

const tg = new TelegramClient({
    // ...
    transport: () => new MtProxyTcpTransport({
        host: 'localhost',
        port: 443,
        secret: 'secret'
    })
})

Readme

Keywords

none

Package Sidebar

Install

npm i @mtcute/mtproxy

Homepage

mtcute.dev

Weekly Downloads

0

Version

0.17.0

License

MIT

Unpacked Size

28.9 kB

Total Files

8

Last publish

Collaborators

  • teidesu