prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
28 lines (27 loc) • 560 B
TypeScript
import { StyleType } from '../../common/types';
import Message from '../base/Message';
type Text = {
text: string;
color?: string;
};
type Image = {
base64: string;
height: number;
width: number;
};
export type InfoDataProps = {
breadcrumb: Text;
title: Text;
image: Image;
textInfo: Text;
style?: StyleType;
};
export default class InfoData extends Message {
breadcrumb: Text;
title: Text;
image: Image;
textInfo: Text;
style?: StyleType;
constructor(infoDataProps: InfoDataProps);
}
export {};