DiscordPHP Documentation

WebSockets

Table of Contents

Classes

ApplicationAuthorized
Sent when a user adds the application to a server or to their account.
AutoModerationActionExecution
Sent when a rule is triggered and an action is executed (e.g. when a message is blocked).
ChannelInfoChannel
Represents ephemeral channel info returned by the gateway.
MessageInteraction
Sent on the message object when the message is a response to an Interaction without an existing message.
MessageReaction
Represents a specific reaction to a message by a specific user.
PresenceUpdate
A PresenceUpdate part is used when the `PRESENCE_UPDATE` event is fired on the WebSocket. It contains information about the users presence such as their status (online/away) and their current game.
RateLimited
A request the bot sent over the gateway that Discord rate limited, from the `RATE_LIMITED` event: which opcode, how long to wait before sending it again, and what the request was for.
TypingStart
A TypingStart part is used when the `TYPING_START` event is fired on the WebSocket. It contains information such as when the event was fired and then channel it was fired in.
VoiceChannelEffect
An emoji reaction or a soundboard sound sent in a voice channel the bot is connected to, from the `VOICE_CHANNEL_EFFECT_SEND` event.
VoiceServerUpdate
Tells the client that the voice channel's server has changed.
VoiceSession
The bot's voice connection in one guild, as the gateway describes it.
VoiceStateUpdate
Notifies the client of voice state updates about users.
On this page

Search results