Namespace EchoHub.Core.DTOs
Classes
- AttachmentDto
A file attached to a message. AsciiPreview holds the color-tag art for images (null otherwise). For end-to-end encrypted channels the content behind Url and the preview are ciphertext the server cannot read.
- ChannelCryptoDto
Public crypto metadata for a channel — enough for a client to derive its join credential from a passphrase. Never includes the wrapped room key.
- ChannelMetaDto
Human-facing summary of a channel (the
/metacommand). For encrypted channels the server still knows these figures — count, timestamps, and stored blob sizes — even though it cannot read the content itself. EstimatedSizeBytes is the sum of stored attachment blob sizes plus message text length, so it is an estimate, not an exact on-disk total.
- DeleteAccountRequest
Password re-confirmation for destructive self-service account actions.
- RekeyChannelRequest
Passphrase change for an encrypted channel: the client proves knowledge of the old passphrase (old auth key), then supplies the re-wrapped room key under the new one.
- ReplyRefDto
Reference to the message a reply targets. Content is treated exactly like message content on the wire: transport-encrypted, and for end-to-end encrypted rooms it is room ciphertext the client must decrypt (the server truncates only plaintext snippets). Null on a MessageDto when the original message no longer exists.
- UserDataExportDto
Everything the server holds about a user, as stored. For end-to-end encrypted rooms the message content in here is room ciphertext — the server cannot include plaintext it never had.