Represents the voice state of a user in a guild's voice channel.

Constructors

  • Constructs a new VoiceState object.

    Parameters

    • client: Client

      The client instance managing this voice state.

    • data: any

      The raw data from the API representing the voice state.

    Returns VoiceState

Properties

channel?: GuildChannel
channelID?: string
deaf: boolean
guildID?: string
member?: Member
mute: boolean
requestToSpeakTimestamp?: string
selfDeaf: boolean
selfMute: boolean
selfStream?: boolean
selfVideo: boolean
sessionID: string
suppress: boolean
userID: string