RemoveCommunityChat constructor

const RemoveCommunityChat({
  1. required int communityId,
  2. required int chatId,
})

Removes a chat from a community. Members of the chat, which aren't members of other chats in the community, will be removed from the community. Requires owner privileges in the supergroup or channel chat, or ownership of the bot for chats with bots, or can_edit_chat_list administrator right in the community

Implementation

const RemoveCommunityChat({required this.communityId, required this.chatId});