Methods

inviteUsersToBot

Invite multiple users to a bot. USER-ONLY

Parameters

botId: ID

The identifier of the bot.

userIds: ID[]

The identifiers of the users to invite.

Result

void

Syntax

await client.inviteUsersToBot(botId, userIds);