revokeManagedBotToken

Revoke the token of a managed bot. BOT-ONLY

Parameters

userId: ID

The identifier of the bot user.

Result

string

The managed bot’s new token.

Syntax

await client.revokeManagedBotToken(userId);