addChatMembers
Add multiple users at once to a channel or a supergroup.
Parameters
The identifier of the channel or supergroup to add the users to.
The identifiers of the users to add to the channel or supergroup.
Result
An array of FailedInvitation that has at most a length that is the same as that of the parameter userIds. If empty, it means that all the provided users were added.
Syntax
await client.addChatMembers(chatId, userIds);