|
||
---|---|---|
.. | ||
fake-tls.ts | ||
index.ts | ||
package.json | ||
README.md | ||
tsconfig.json | ||
typedoc.cjs |
@mtcute/mtproxy
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'
})
})