UNPKG

telegram-updated

Version:

NodeJS/Browser MTProto API Telegram client library,

22 lines (21 loc) 693 B
/// <reference types="node" /> import type { TelegramClient } from "../.."; import type { EntityLike } from "../../define"; import { Api } from "../api"; import { InlineResult } from "./inlineResult"; import { inspect } from "../../inspect"; export declare class InlineResults extends Array<InlineResult> { private result; private queryId; private readonly cacheTime; private readonly _validUntil; private users; private gallery; private nextOffset; private switchPm; [inspect.custom](): { [key: string]: any; }; constructor(client: TelegramClient, original: Api.messages.TypeBotResults, entity?: EntityLike); resultsValid(): boolean; }