UNPKG

umbot

Version:

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

19 lines (18 loc) 467 B
import { TemplateCardTypes } from './TemplateCardTypes'; import { IVkButton } from '../../button'; export interface IVkCardElement { title: string; description: string; photo_id: string; buttons?: IVkButton[]; action?: { type: string; }; } export interface IVkCard { type: string; elements: IVkCardElement[]; } export declare class VkCard extends TemplateCardTypes { getCard(isOne: boolean): Promise<IVkCard | string[]>; }