JoinChat constructor

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

Adds the current user as a new member to a chat. Private and secret chats can't be joined using this method

Implementation

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