Class SocialUserMuteStatusChange

java.lang.Object
ovh.mythmc.social.api.callback.user.SocialUserMuteStatusChange

public final class SocialUserMuteStatusChange extends Object
Event fired before a SocialUser's mute status changes in a ChatChannel.

This event is fired before the mute status of a SocialUser is changed in a given ChatChannel. The event allows modification or cancellation of the mute status change. If cancelled, the mute status change will be prevented.

For global mute status changes, an independent SocialUserMuteStatusChange event will be fired for each channel.

Fields:

  • user: The SocialUser whose mute status is changing.
  • channel: The ChatChannel where the mute status will change.
  • status: true if the user will be muted, false if the user will be unmuted.
  • cancelled: Whether this event has been cancelled, preventing the mute status change.
  • Constructor Details

    • SocialUserMuteStatusChange

      public SocialUserMuteStatusChange()