# Namespace EchoHub.Core.Models | EchoHub Documentation

# Namespace EchoHub.Core.Models

### Classes

Attachment

  A file attached to a message (image, audio, or any file). A message may carry zero or more attachments alongside its text content (Discord-style).

Channel

ChannelMembership

InviteCode

  A registration invite code. When the server runs with `Server:Registration = "invite"`, new accounts (REST and IRC alike) require a valid, unexpired, not-fully-used code.

Message

RefreshToken

ServerStatsReport

  A snapshot of server activity over one reporting window, produced periodically by the stats-report background job. Each report is logged as pretty-printed JSON and persisted for historical trend analysis. The window is "since the previous report" (or since startup for the first report of a run).

User

### Enums

AttachmentKind

  The kind of a message attachment. Determines how the client renders it (ASCII preview for images, a play affordance for audio, a download line for files).

MessageType

ServerRole

UserStatus