setDescription method

Future<void> setDescription(
  1. String description, {
  2. String? reason,
})

Sets the description of the channel.

await channel.setDescription('new-description');

Implementation

Future<void> setDescription(String description, {String? reason}) =>
    _methods.setDescription(description, reason);