mtcute/packages/mtproxy
2024-03-17 06:49:36 +00:00
..
fake-tls.ts chore!: started extracting platform-specific stuff into separate packages 2024-03-07 05:35:36 +03:00
index.ts chore!: started extracting platform-specific stuff into separate packages 2024-03-07 05:35:36 +03:00
package.json v0.8.0 2024-03-17 06:49:36 +00:00
README.md docs: updated packages readmes 2023-11-01 14:05:45 +03:00
tsconfig.json fix: tsconfig refs 2024-03-07 05:35:36 +03:00
typedoc.cjs chore: moved most configs to .config 2023-11-13 13:28:11 +03:00

@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'
    })
})