setBitrate method

Future<void> setBitrate(
  1. int bitrate, {
  2. String? reason,
})

Sets the bitrate of the voice channel.

await channel.setBitrate(64000);

Implementation

Future<void> setBitrate(int bitrate, {String? reason}) =>
    _methods.setBitrate(bitrate, reason);