CreateChannel constructor

CreateChannel({
  1. required String channelType,
  2. required bool one2one,
  3. List<String>? subscribeUserIds,
  4. String? name,
  5. String? description,
  6. String? parentId,
  7. String? parentType,
  8. String? folder,
  9. String? nickname,
  10. String? avatarUrl,
  11. int? readMessageMaxRole,
  12. int? sendMessageMaxRole,
})

Implementation

CreateChannel({
  required this.channelType,
  required this.one2one,
  this.subscribeUserIds,
  this.name,
  this.description,
  this.parentId,
  this.parentType,
  this.folder,
  this.nickname,
  this.avatarUrl,
  this.readMessageMaxRole,
  this.sendMessageMaxRole,
});