AddChatMembers constructor

const AddChatMembers({
  1. required int chatId,
  2. required List<int> userIds,
})

Adds multiple new members to a chat; requires can_invite_users member right. Currently, this method is available only in supergroups and channels. This method can't be used to join a chat. Members can't be added to a channel if it has more than 200 members. Returns information about members that weren't added

Implementation

const AddChatMembers({required this.chatId, required this.userIds});