react-chatbotify
Version:
A modern React library for creating flexible and extensible chatbots.
15 lines • 414 B
TypeScript
/**
* Creates a new message with given content and sender.
*
* @param content content of the message
* @param sender sender of the message
*/
export declare const createMessage: (content: string | JSX.Element, sender: string) => {
id: string;
content: string | JSX.Element;
sender: string;
type: string;
timestamp: string;
tags: never[];
};
//# sourceMappingURL=messageBuilder.d.ts.map