change RobotTokenType to enum