CreateNewSupergroupChat constructor

const CreateNewSupergroupChat({
  1. required String title,
  2. required bool isForum,
  3. required bool isChannel,
  4. required String description,
  5. ChatLocation? location,
  6. required int messageAutoDeleteTime,
  7. 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.isForum,
  required this.isChannel,
  required this.description,
  this.location,
  required this.messageAutoDeleteTime,
  required this.forImport,
});