OpenChat constructor

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

OpenChat (openChat) - TDLib function

Informs TDLib that the chat is opened by the user. Many useful activities depend on the chat being opened or closed (e.g., in supergroups and channels all updates are received only for opened chats).

Ok is returned on completion.

Implementation

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