addChatMembers

Add multiple users at once to a channel or a supergroup.

Parameters

chatId: ID

The identifier of the channel or supergroup to add the users to.

userIds: ID[]

Result

Syntax

await client.addChatMembers(chatId, userIds);