Expand description
Component impls for the eight GroupMutableMetadata-backed
attribute components.
Three flavours, distinguished by the typed Value they expose:
- String (
GROUP_NAME,GROUP_DESCRIPTION,GROUP_IMAGE_URL,APP_DATA,MIN_SUPPORTED_PROTOCOL_VERSION):Value = String, wire bytes are UTF-8. - Big-endian
i64(MESSAGE_DISAPPEAR_FROM_NS,MESSAGE_DISAPPEAR_IN_NS):Value = i64, wire bytes are exactly 8 bytes (i64::to_be_bytes). The legacyGroupMutableMetadatapath stringifies these as decimal; the AppData path uses the binary representation directly so callers don’t have to round-trip through ASCII. - Fixed-length signer key (
COMMIT_LOG_SIGNER):Value = xmtp_cryptography::Secret(zeroized on drop) holding exactlyED25519_KEY_LENGTHbytes — the raw Ed25519 private-key material that the legacy path hex-encoded into a string. The length is enforced at decode time; callers continue to handle aSecretend-to-end without a hex round-trip.
AppDataUpdate::Update payloads pass through verbatim after the
component-specific length/UTF-8 validation, and there is no delta
encoding.
Structs§
- AppData
Component - Commit
LogSigner Component Componentimpl for theCOMMIT_LOG_SIGNERcomponent.- Group
Description Component - Group
Image UrlComponent - Group
Name Component - Message
Disappear From NsComponent - Message
Disappear InNs Component - MinSupported
Protocol Version Component