react-chatbotify
Version:
A modern React library for creating flexible and extensible chatbots.
15 lines • 345 B
TypeScript
/**
* Defines the attributes within a chat message.
*/
export type Message = {
id: string;
content: string | JSX.Element;
sender: string;
type: string;
timestamp: string;
tags?: Array<string>;
contentWrapper?: React.ComponentType<{
children: React.ReactNode;
}>;
};
//# sourceMappingURL=Message.d.ts.map