getManagedBotToken
Get the token of a managed bot. BOT-ONLY
Parameters
The identifier of the bot user.
Result
string
The managed bot’s token.
Syntax
await client.getManagedBotToken(userId);
Get the token of a managed bot. BOT-ONLY
The identifier of the bot user.
The managed bot’s token.
await client.getManagedBotToken(userId);