umbot
Version:
Universal bot(vk, telegram, viber) or skills for Yandex.Alisa, Маруся and sber
24 lines (23 loc) • 670 B
TypeScript
import { Model } from './db/Model';
import { IModelRules } from './interface';
export interface ISoundModelState {
soundToken: string;
path: string;
type: string;
}
export declare class SoundTokens extends Model<ISoundModelState> {
private readonly TABLE_NAME;
static readonly T_ALISA = 0;
static readonly T_VK = 1;
static readonly T_TELEGRAM = 2;
static readonly T_MARUSIA = 3;
soundToken: string | null;
path: string | null;
type: number;
isAttachContent: boolean;
constructor();
tableName(): string;
rules(): IModelRules[];
attributeLabels(): ISoundModelState;
getToken(): Promise<string | null>;
}