CreateNewSupergroupChat constructor

const CreateNewSupergroupChat({
  1. required String title,
  2. required bool isChannel,
  3. required String description,
  4. ChatLocation? location,
  5. required bool forImport,
})

Creates a new supergroup or channel and sends a corresponding messageSupergroupChatCreate. Returns the newly created chat

Implementation

const CreateNewSupergroupChat({
  required this.title,
  required this.isChannel,
  required this.description,
  this.location,
  required this.forImport,
});