UNPKG

converse.js

Version:
8 lines 442 B
/** * Parses a passed in message stanza and returns an object of attributes. * @param {Element} stanza - The message stanza * @returns {Promise<import('../../shared/types.ts').MessageAttributes|StanzaParseError>} */ export function parseMessage(stanza: Element): Promise<import("../../shared/types.ts").MessageAttributes | StanzaParseError>; import { StanzaParseError } from '../../shared/errors.js'; //# sourceMappingURL=parsers.d.ts.map