Expand description
Payloads that are incoming from the Discord Gateway API.
These are sent by the Discord Gateway API to shards. The only payload
required for the operation of a shard is Ready
; all other payloads are
for users to consume in their own operations based on the Intents
they
have set
Refer to Discord Docs / Gateway Events for Discord’s documentation about incoming and outgoing events.
Re-exports§
pub use self::invite_create::InviteCreate;
pub use self::reaction_remove_emoji::ReactionRemoveEmoji;
Modules§
- invite_
create - Gateway event payload when an invite is created.
- reaction_
remove_ emoji
Structs§
- Auto
Moderation Action Execution - Message has been blocked by AutoMod according to a rule.
- Auto
Moderation Rule Create - Auto moderation rule has been created.
- Auto
Moderation Rule Delete - Auto moderation rule has been deleted.
- Auto
Moderation Rule Update - Auto moderation rule has been updated.
- BanAdd
- BanRemove
- Channel
Create - Channel
Delete - Channel
Pins Update - Channel
Update - Command
Permissions Update - Entitlement
Create - Entitlement
Delete - Entitlement
Update - Guild
Audit LogEntry Create - The inner value of the
GuildAuditLogEntryCreate
variant of theEvent
enum. - Guild
Delete - Guild
Emojis Update - Guild
Integrations Update - Guild
Scheduled Event Create - Sent when a guild scheduled event is created. The inner payload is a
GuildScheduledEvent
. - Guild
Scheduled Event Delete - Sent when a guild scheduled event is deleted. The inner payload is a
GuildScheduledEvent
. - Guild
Scheduled Event Update - Sent when a guild scheduled event is updated. The inner payload is a
GuildScheduledEvent
. - Guild
Scheduled Event User Add - Sent when a user has subscribed to a guild scheduled event.
- Guild
Scheduled Event User Remove - Sent when a user has unsubscribed from a guild scheduled event.
- Guild
Stickers Update - Guild
Update - Hello
- Integration
Create - Integration
Delete - Integration
Update - Interaction
Create - Invite
Delete - Member
Add - Member
Chunk - Member
Remove - Member
Update - Message
Create - Message
Delete - Message
Delete Bulk - Message
Poll Vote Add - Sent when a user votes on a poll. If the poll allows multiple selection, one event will be sent per answer.
- Message
Poll Vote Remove - Sent when a user removes a vote on a poll. If the poll allows multiple selection, one event will be sent per answer.
- Message
Update - Presence
Update - User’s presence was updated.
- Reaction
Add - Reaction
Remove - Reaction
Remove All - Ready
- Role
Create - Role
Delete - Role
Update - Stage
Instance Create - Stage
Instance Delete - Stage
Instance Update - Thread
Create - Thread
Delete - Thread
List Sync - Thread
Member Update - Thread
Members Update - Thread
Update - Typing
Start - Unavailable
Guild - User
Update - Voice
Server Update - Voice
State Update - Webhooks
Update