-
@Serializable() public final class AttachmentUploaded media descriptor. Surfaced on Message.attachments and passed back into SendMessagePayload.attachments.
localUrl is an optional client-side preview URI (e.g.
content://orfile://) that the UI can keep displaying after a message is acknowledged. It is encoded on the Kotlin↔JNI boundary so the Rust SDK can stash it keyed by attachment id, and the same Rust SDK strips it from the wire (skip_serializing) before the server-bound POST. The value is then merged back onto the server-issued Message by id, soMessageUpdatedcarrieslocalUrlthrough to the consumer's UI without the server ever seeing it.
-
-
Method Summary
Modifier and Type Method Description final StringgetId()final StringgetName()final StringgetContentType()final StringgetUrl()final StringgetLocalUrl()
-