Module twilight_model::gateway::payload::incoming
source · 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
Gateway event payload when an invite is created.
Structs
Message has been blocked by AutoMod according to a rule.
Auto moderation rule has been created.
Auto moderation rule has been deleted.
Auto moderation rule has been updated.
The inner value of the
GuildAuditLogEntryCreate
variant of the
Event
enum.Sent when a guild scheduled event is created. The inner payload is a
GuildScheduledEvent
.Sent when a guild scheduled event is deleted. The inner payload is a
GuildScheduledEvent
.Sent when a guild scheduled event is updated. The inner payload is a
GuildScheduledEvent
.Sent when a user has subscribed to a guild scheduled event.
Sent when a user has unsubscribed from a guild scheduled event.
User’s presence was updated.