CloseChat constructor

const CloseChat({
  1. required int chatId,
})

Informs TDLib that the chat is closed by the user. Many useful activities depend on the chat being opened or closed

Implementation

const CloseChat({
  required this.chatId,
});