// copy constructor for reduced boilerplate internal DiscordVoiceState(DiscordVoiceState other) { this.Discord = other.Discord; this.UserId = other.UserId; this.ChannelId = other.ChannelId; this.GuildId = other.GuildId; this.IsServerDeafened = other.IsServerDeafened; this.IsServerMuted = other.IsServerMuted; this.IsSuppressed = other.IsSuppressed; this.IsSelfDeafened = other.IsSelfDeafened; this.IsSelfMuted = other.IsSelfMuted; this.SessionId = other.SessionId; }
// copy constructor for reduced boilerplate internal DiscordVoiceState(DiscordVoiceState other) { this.Discord = other.Discord; this.UserId = other.UserId; this.ChannelId = other.ChannelId; this.GuildId = other.GuildId; this.IsServerDeafened = other.IsServerDeafened; this.IsServerMuted = other.IsServerMuted; this.IsSuppressed = other.IsSuppressed; this.IsSelfDeafened = other.IsSelfDeafened; this.IsSelfMuted = other.IsSelfMuted; this.IsSelfStream = other.IsSelfStream; this.IsSelfVideo = other.IsSelfVideo; this.SessionId = other.SessionId; this.RequestToSpeakTimestamp = other.RequestToSpeakTimestamp; }