Presences - discord-php/DiscordPHP GitHub Wiki
Called with a PresenceUpdate object when a member's presence is updated.
$discord->on(Event::PRESENCE_UPDATE, function (PresenceUpdate $presence, Discord $discord) {
    // ...
});Requires the Intents::GUILD_PRESENCES intent. This intent is a priviliged intent, it must be enabled in your Discord Bot developer settings.
Called with a TypingStart object when a user starts typing in a channel.
// use Discord\Parts\WebSockets\TypingStart;
$discord->on(Event::TYPING_START, function (TypingStart $typing, Discord $discord) {
    // ...
});Requires the Intents::GUILD_MESSAGE_TYPING intent.
Called with a User object when the Bot's user properties change.
$discord->on(Event::USER_UPDATE, function (User $user, Discord $discord, ?User $oldUser) {
    // ...
});