umbot
Version:
Universal bot(vk, telegram, viber) or skills for Yandex.Alisa, Маруся and sber
25 lines (24 loc) • 934 B
TypeScript
import { Buttons, TButton } from '../button';
import { ISberSmartAppCardPadding, TSberSmartAppTextColor, TSberSmartAppTypeface } from '../../platforms/interfaces';
export interface IImageParams {
titleTypeface?: TSberSmartAppTypeface;
titleText_color?: TSberSmartAppTextColor;
titleMargins?: ISberSmartAppCardPadding;
titleMax_lines?: number;
descTypeface?: TSberSmartAppTypeface;
descText_color?: TSberSmartAppTextColor;
descMargins?: ISberSmartAppCardPadding;
descMax_lines?: number;
[name: string]: any;
}
export declare class Image {
button: Buttons;
title: string;
desc: string;
imageToken: string | null;
imageDir: string | null;
isToken: boolean;
params: IImageParams;
constructor(image?: string | null, title?: string, desc?: string, button?: TButton | null);
init(image: string | null, title: string, desc?: string, button?: TButton | null): boolean;
}