VoiceManager.from constructor
VoiceManager.from(
- dynamic payload,
- Snowflake guildId
Implementation
factory VoiceManager.from(dynamic payload, Snowflake guildId) {
return VoiceManager(
payload['deaf'] == true,
payload['mute'] == true,
payload['self_mute'] == true,
payload['self_deaf'] == true,
payload['self_video'] == true,
payload['self_stream'] == true,
payload['channel_id'],
payload['user_id'],
guildId
);
}