View Source Nostrum.Struct.Event.VoiceState (Nostrum v0.10.0)
Represents a user's voice connection status
Summary
Types
Channel ID this voice state is for
Whether this user is deafened by the server
Guild ID this voice state is for, if applicable
Guild member this voice state is for, if applicable
Whether this user is muteened by the server
Time at which the user requested to speak, if applicable
Whether this user is locally deafened
Whether this user is locally muted
Whether the user is streaming using "Go Live"
Whether this user's camera is enabled
Session ID for this voice state
Whether this user is muted by the current user
Event sent when a user's voice status is updated
User this voice state is for
Types
@type channel_id() :: Nostrum.Struct.Channel.id()
Channel ID this voice state is for
@type deaf() :: boolean()
Whether this user is deafened by the server
@type guild_id() :: Nostrum.Struct.Guild.id() | nil
Guild ID this voice state is for, if applicable
@type member() :: Nostrum.Struct.Guild.Member.t() | nil
Guild member this voice state is for, if applicable
@type mute() :: boolean()
Whether this user is muteened by the server
@type request_to_speak_timestamp() :: DateTime.t() | nil
Time at which the user requested to speak, if applicable
@type self_deaf() :: boolean()
Whether this user is locally deafened
@type self_mute() :: boolean()
Whether this user is locally muted
@type self_stream() :: boolean()
Whether the user is streaming using "Go Live"
@type self_video() :: boolean()
Whether this user's camera is enabled
@type session_id() :: String.t()
Session ID for this voice state
@type suppress() :: boolean()
Whether this user is muted by the current user
@type t() :: %Nostrum.Struct.Event.VoiceState{ channel_id: channel_id(), deaf: deaf(), guild_id: guild_id(), member: member(), mute: mute(), request_to_speak_timestamp: request_to_speak_timestamp(), self_deaf: self_deaf(), self_mute: self_mute(), self_stream: self_stream(), self_video: self_video(), session_id: session_id(), suppress: suppress(), user_id: user_id() }
Event sent when a user's voice status is updated
@type user_id() :: Nostrum.Struct.User.id()
User this voice state is for