- Introduction
- Getting Started
- Permissions
- Core Resources
- Channels
- Messages
- Teams
- Roles
- Users
- Todos
- Direct Messages
- Applications
- Reactions
- Attachments
- Voice
- Webhooks
- Blog
- Category
- Schemas
- Websockets
- Example Bot
- WebSocket event envelope
- Websocket events
- CHANNEL_CREATED
- CHANNEL_DELETED
- CHANNEL_UPDATED
- MESSAGE_SEND
- MESSAGE_UPDATED
- MESSAGE_DELETED
- MESSAGE_REACTION_ADDED
- MESSAGE_REACTION_REMOVED
- PRESENCE_UPDATE
- TEAM_ROLE_CREATED
- TEAM_ROLE_DELETED
- TEAM_ROLES_UPDATED
- TEAM_UPDATED
- TODO_ITEM_CREATED
- TODO_ITEM_DELETED
- TODO_ITEM_UPDATED
- USER_JOINED_TEAM
- USER_LEFT_TEAM
- USER_JOINED_VOICE_CHANNEL
- USER_LEFT_VOICE_CHANNEL
- USER_PROFILE_UPDATED
- USER_ROLE_ADDED
- USER_ROLE_REMOVED
- USER_UPDATED_VOICE_METADATA
- BLOG_CREATED
- BLOG_DELETED
- CATEGORIES_PRIORITY_UPDATED
- CATEGORY_UPDATED
- CATEGORY_DELETED
- CATEGORY_CREATED
- CHANNELS_PRIORITY_UPDATED
- Connecting via WebSocket
Gateway Close Event Codes
Code | Description | Explanation |
---|---|---|
4000 | Unauthorized | The user could not be authenticated. |
4001 | Timeout | The connection was closed due to inactivity. |
4002 | Invalid Opcode | The client sent an invalid opcode. |
4003 | Invalid Version | The client attempted to connect using an unsupported API version. |
4004 | Too many connections |
Modified at 2025-01-28 12:01:16