Skip to main content

Module quote_send

Module quote_send 

Source
Expand description

Quoted app-message metadata. Callers resolve the selected message and persist this reference and the final XML before submitting a send attempt.

Structs§

QuoteReference
A reference to the immediate selected message. App messages retain raw type 49 here; their application subtype belongs in their serialized content.

Constants§

MAX_QUOTE_CONTENT_BYTES
MAX_QUOTE_XML_BYTES

Functions§

quote_send_request
Submit the persisted quote XML with the reply subtype in AppMsg.Type. Reference MsgSource inside the XML is separate from outgoing MsgSource.
quote_send_request_with_source
Outgoing source belongs to this reply; embedded reference source stays in XML.
quote_xml
Build an appmsg fragment, followed by fromusername, as required by the app-message carrier. Embedded source XML remains text inside content.