setCategory method

Future<void> setCategory(
  1. String categoryId, {
  2. String? reason,
})

Sets the category of the channel.

await channel.setCategory('new-category-id');

Implementation

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