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

0.12.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

Weekly Downloads

158

Version

0.12.0

License

MIT

Unpacked Size

104 kB

Total Files

18

Last publish

Collaborators

  • teidesu