User
Represents a user in the system.Snowflake user ID
Display name of the user
Unique username (may be null)
Current online/idle status
Profile photo
Whether this user is a bot account
Snowflake emoji ID for custom icon
Color code for user display
Protocol Definition
ChatPhoto
Represents a photo/avatar for a chat or user.Snowflake file ID referencing the full-resolution image
Low-resolution preview data (thumbnail)
Protocol Definition
UserStatus
Represents a user’s online/presence status.Deprecated: Whether user is online
Current status enum value
Status Enum
User is actively online
User is idle/away
Protocol Definition
Message
Represents a chat message.Reference to the chat containing this message
Snowflake message ID
Snowflake user ID of the message author
Message text content
Snowflake message ID being replied to
Attached media items (images, videos, files, etc.)
Text formatting entities (bold, links, mentions, etc.)
Unix timestamp when message was last edited
Special message type (call, join, leave)
Information about forwarded message origin
MessageType Enum
Unknown or regular message type
Voice/video call message
User joined message
User left message
Protocol Definition
MessageEntity
Represents text formatting in a message.Starting character index (UTF-8 offset)
Length of the entity in characters
The type of entity. Exactly one of:
Bold text formatting
Italic text formatting
Underline text formatting
Strikethrough text formatting
Inline code formatting
Implicit URL (text content is the URL)
Spoiler text (hidden until clicked)
Code block with optional language
Masked URL (display text differs from URL)
Custom emoji reference
User mention by ID
User mention by username
Entity Types
CustomEmojiEntity
Snowflake emoji ID
TextUrlEntity
The actual URL
PreEntity
Programming language for syntax highlighting
Protocol Definition
Channel
Represents a channel within a community.Snowflake channel ID
Snowflake community ID this channel belongs to
Channel name
Channel type (text, voice, category)
Sort position within the community
Snowflake channel ID of parent category (if any)
Protocol Definition
ChannelType
Enum defining channel types.Text channel
Voice channel
Category (container for other channels)
Protocol Definition
Community
Represents a community (server/guild).Snowflake community ID
Whether the current user owns this community
Community name
Community icon/photo
User’s permission bitfield for this community
Whether notifications are muted
Protocol Definition
CommunityMember
Represents a member of a community.Snowflake user ID
Snowflake community ID
Array of snowflake role IDs assigned to this member
Community-specific nickname
Protocol Definition
CommunityRole
Represents a role in a community.Snowflake role ID
Snowflake community ID
Role name
Permission bitfield for this role
Role priority/hierarchy (higher = more important)
Display color for role
Whether to display members with this role separately in member list
Whether this role is publicly assignable
Protocol Definition
CommunityPermission
Enum defining community permission flags (bitfield).No permissions (0)
Full administrator access (1 << 0)
View channels (1 << 1)
Send messages in text channels (1 << 2)
Connect to voice channels (1 << 3)
Modify channel settings (1 << 4)
Send media attachments (1 << 5)
Delete other users’ messages (1 << 6)
Pin messages (1 << 7)
Speak in voice channels (1 << 8)
Modify community settings (1 << 9)
Manage roles (1 << 10)
Kick/ban members (1 << 11)
Protocol Definition
PermissionOverrides
Represents permission overrides (positive and negative).Positive permission bitfield (allowed permissions)
Negative permission bitfield (denied permissions)
Protocol Definition
ChannelOverride
Represents channel-specific permission overrides for a role.Snowflake community ID
Snowflake channel ID
Snowflake role ID
Permission overrides for this role in this channel
Protocol Definition
Group
Represents a group chat.Snowflake chat ID
Group name
Whether the current user owns this group
Array of snowflake user IDs of participants
Protocol Definition
Conversation
Represents a conversation entry in the user’s chat list.Reference to the chat
Snowflake message ID of last message (or chat ID if no messages)
Snowflake message ID of last read message
Number of unread messages
Unsent draft message text
User’s permission overrides for this chat
Whether notifications are muted for this conversation
Protocol Definition
RelationshipStatus
Enum defining friend relationship statuses.Invalid/no relationship
Confirmed friend
Incoming friend request (they sent to you)
Outgoing friend request (you sent to them)
User is blocked
Suggested friend
Protocol Definition
Relationship
Represents a relationship between users.Snowflake user ID of the other user
Relationship status
Protocol Definition
Entrypoint
Represents a server entrypoint for connection.Server hostname
Server IP address
Server port number
Region identifier