createChannel abstract method

void createChannel({
  1. required String name,
  2. int? position,
  3. int? maxUsers,
  4. String? description,
  5. bool? temporary,
  6. Channel? parent,
})

Creates a new channel. On success onChannelAdded will be invoked on all registered listeners.

Implementation

void createChannel(
    {required String name,
    int? position,
    int? maxUsers,
    String? description,
    bool? temporary,
    Channel? parent});