Function makeHtmlMessage

  • Generates the content for a HTML Message event

    Returns

    Parameters

    • body: string

      the plaintext body of the message

    • htmlBody: string

      the HTML representation of the message

    Returns {
        body: string;
        format: string;
        formatted_body: string;
        msgtype: MsgType;
    }

    • body: string
    • format: string
    • formatted_body: string
    • msgtype: MsgType

Generated using TypeDoc