UNPKG

umbot

Version:

Universal bot(vk, telegram, viber) or skills for Yandex.Alisa, Маруся and sber

24 lines (23 loc) 659 B
import { Model } from './db/Model'; import { IModelRules } from './interface'; export interface IImageModelState { imageToken: string; path: string; type: string; } export declare class ImageTokens extends Model<IImageModelState> { private TABLE_NAME; static readonly T_ALISA = 0; static readonly T_VK = 1; static readonly T_TELEGRAM = 2; static readonly T_MARUSIA = 3; imageToken: string | null; path: string | null; type: number; caption: string | null; constructor(); tableName(): string; rules(): IModelRules[]; attributeLabels(): IImageModelState; getToken(): Promise<string | null>; }