mtcute/packages/mtproxy
2023-10-30 14:59:34 +03:00
..
fake-tls.ts ESM + end-to-end tests (#11) 2023-10-16 19:23:53 +03:00
index.ts fix: ts 2023-10-23 11:45:17 +03:00
package.json chore: set version to 0.1.0 2023-10-30 14:59:34 +03:00
README.md docs: removed typedoc-plugin-coverage 2022-08-28 17:56:56 +03:00
tsconfig.json ESM + end-to-end tests (#11) 2023-10-16 19:23:53 +03:00
typedoc.cjs docs: updated typedoc, added ci, fixed some docs 2023-10-27 14:25:21 +03:00

@mtcute/mtproxy

MTProto proxy (MTProxy) transport for mtcute.

Usage

import { MtProxyTcpTransport } from '@mtcute/mtproxy'

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