replaceManagedBotToken
Returns: StringOfficial docs ↗
Use this method to revoke the current token of a managed bot and generate a new one. Returns the new token as String on success.
Parameters
user_idIntegerRequiredUser identifier of the managed bot whose token will be replaced
Returns
On success, String is returned.