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

x/grm/src/mod.ts>network.MTProtoState#writeDataAsMessage

MTProto API Client for Deno 🦕
Go to Latest
method network.MTProtoState.prototype.writeDataAsMessage
Re-export
import { network } from "https://deno.land/x/grm@0.6.0/src/mod.ts";
const { MTProtoState } = network;

Parameters

buffer: BinaryWriter
data: Buffer
contentRelated: boolean
optional
afterId: bigInt.BigInteger