Data schemas
These pages describe the objects that appear inside frames, such as users, channels, and messages. Command pages link here instead of repeating each object’s fields.
| Page | What it covers |
|---|---|
| Common frames | error, auth_error, rate_limit, auth_success, and ready. |
| User | A member’s identity, roles, status, and connected apps. |
| Channel | Text, voice, forum, and separator channels, and their permissions. |
| Message | Messages, replies, mentions, reactions, embeds, and polls. |
| Attachment | Uploaded files. |
| Thread | Conversations inside forum channels. |
| Role | Roles, their permissions, and how they colour users. |
| Time fields | Which fields use seconds and which use milliseconds. |
The handshake has its own section in the protocol model. For request fields and responses, see the command reference.
