umbot
Version:
Universal bot(vk, telegram, viber) or skills for Yandex.Alisa, Маруся and sber
12 lines (11 loc) • 442 B
TypeScript
import { Request } from './request/Request';
import { IYandexApi } from './interfaces';
export declare class YandexRequest {
protected _request: Request;
protected _oauth: string | null | undefined;
protected _error: string | null;
constructor(oauth?: string | null);
setOAuth(oauth: string | null): void;
call<T extends IYandexApi>(url?: string | null): Promise<T | null>;
protected _log(error?: string): void;
}