Skip to main content
Module

x/grm/mod.ts>MessagePacker

MTProto API Client for Deno 🦕
Go to Latest
class MessagePacker
Re-export
import { MessagePacker } from "https://deno.land/x/grm@0.5.0/mod.ts";

Constructors

new
MessagePacker(state: MTProtoState, logger: any)

Properties

private
_log: any
private
_pendingStates: RequestState[]
private
_queue: any[]
private
_ready: Promise<unknown>
private
_state: MTProtoState
private
setReady: ((value?: any) => void) | undefined

Methods

append(state: RequestState)
extend(states: RequestState[])
get()