Hhertz/node_modules/matrix-bot-sdk/lib/helpers/RichReply.d.ts
2025-07-31 23:47:20 +03:00

18 lines
657 B
TypeScript

/**
* Helper for creating rich replies.
* @category Utilities
*/
export declare class RichReply {
private constructor();
/**
* Generates the event content required to reply to the provided event with the
* provided text.
* @param {string} roomId the room ID the event being replied to resides in
* @param {any} event the event to reply to
* @param {string} withText the plain text to reply with
* @param {string} withHtml the HTML to reply with
* @returns {any} the content of the event representing the reply
*/
static createFor(roomId: string, event: any, withText: string, withHtml: string): any;
}