UNPKG

@tgsnake/core

Version:

Pure Telegram MTProto library for nodejs

14 lines (13 loc) 454 B
import { BytesIO } from './BytesIO.js'; import { TLObject } from './TLObject.js'; import { Buffer } from '../../platform.node.js'; export declare class Message extends TLObject { static ID: number; msgId: bigint; seqNo: number; length: number; body: TLObject; constructor(body: TLObject, msgId: bigint, seqNo: number, length: number); static read(data: BytesIO, ..._args: Array<any>): Promise<Message>; write(): Buffer; }