Methods

inviteUserToBot

Invite a single user to a bot. USER-ONLY

Parameters

botId: ID

The identifier of the bot.

userId: ID

The identifier of the user to invite.

Result

void

Syntax

await client.inviteUserToBot(botId, userId);