tgsnake
Version:
Telegram MTProto framework for nodejs.
16 lines (15 loc) • 428 B
TypeScript
import type { Snake } from '../Client/index.js';
import type { Telegram } from '../Methods/Telegram.js';
import type { Client } from '../platform.node.js';
export declare class TLObject {
protected _client: Snake;
className: string;
constructor(client: Snake);
get client(): Snake<{}>;
get api(): Telegram;
get core(): Client;
toJSON(): {
[key: string]: any;
};
toString(): string;
}