OpenChatSimilarChat constructor

const OpenChatSimilarChat({
  1. required int chatId,
  2. required int openedChatId,
})

Informs TDLib that a chat was opened from the list of similar chats. The method is independent from openChat and closeChat methods

Implementation

const OpenChatSimilarChat({
  required this.chatId,
  required this.openedChatId,
});