390b65f796
- added readme in each package - updated typedoc, fixed related issues - use @link instead of @see - moved configs to typedoc.js, improved exclusion of unneeded stuff - custom plugin for typedoc for cross-package references - preparing to move documentation to separate repository
20 lines
341 B
Markdown
20 lines
341 B
Markdown
# @mtcute/mtproxy
|
|
|
|
![](./coverage.svg)
|
|
|
|
MTProto proxy (MTProxy) transport for mtcute.
|
|
|
|
## Usage
|
|
|
|
```typescript
|
|
import { MtProxyTcpTransport } from '@mtcute/mtproxy'
|
|
|
|
const tg = new TelegramClient({
|
|
// ...
|
|
transport: () => new MtProxyTcpTransport({
|
|
host: 'localhost',
|
|
port: 443,
|
|
secret: 'secret'
|
|
})
|
|
})
|
|
```
|