Skip to content

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_idIntegerRequired
User identifier of the managed bot whose token will be replaced

Returns

On success, String is returned.

GramIO Usage

Errors

Tips & Gotchas

See Also