CreateCommunity constructor

const CreateCommunity({
  1. required String name,
  2. required int chatId,
  3. required bool isChatHidden,
})

Creates a new community for the given chat. Returns identifier of the created community

Implementation

const CreateCommunity({
  required this.name,
  required this.chatId,
  required this.isChatHidden,
});