CreateNewSupergroupChat constructor

CreateNewSupergroupChat(
  1. {required String title,
  2. required bool is_forum,
  3. required bool is_channel,
  4. required String description,
  5. ChatLocation? location,
  6. required int message_auto_delete_time,
  7. required bool for_import,
  8. int? extra,
  9. int? clientId}
)

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

Returns Chat

Implementation

CreateNewSupergroupChat