Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/src/mod.ts>MTProxyIO

MTProto API Client for Deno 🦕
Go to Latest
class MTProxyIO
import { MTProxyIO } from "https://deno.land/x/grm@0.8.0/src/mod.ts";

Constructors

new
MTProxyIO(connection: TCPMTProxy)

Properties

private
_dcId: number
private
optional
_decrypt: CTR
private
optional
_encrypt: CTR
private
_packetClass: AbridgedPacketCodec
private
_secret: Buffer
private
connection: PromisedNetSockets | PromisedWebSockets
optional
header: Buffer

Methods

read(n: number)
write(data: Buffer)