@tgsnake/core
Version:
Pure Telegram MTProto library for nodejs
21 lines (20 loc) • 723 B
TypeScript
import { TLObject } from '../TLObject.js';
import { BytesIO } from '../BytesIO.js';
import { Buffer } from '../../../platform.node.js';
export declare class BoolFalse extends TLObject {
static ID: number;
static value: boolean;
static write(): Buffer;
static read(_data: BytesIO, ..._arg: Array<any>): Promise<boolean>;
}
export declare class BoolTrue extends BoolFalse {
static ID: number;
static value: boolean;
static write(): Buffer;
static read(_data: BytesIO, ..._arg: Array<any>): Promise<boolean>;
}
export declare class Bool extends TLObject {
className: string;
static write(value: boolean): Buffer;
static read(data: BytesIO, ..._arg: Array<any>): Promise<boolean>;
}