There are accordion style vent hoses and the aluminum or steel pipe. The accordion style is most favored because it is flexible, but all types of accordion vents, even the foil type has ridges inside where lint can settle and can cause a fire.
The length of any dryer vent hose or pipe should never be more than 25 feet long. If the hose or pipe must bend at a 45 degree angle, deduct 2.5 feet from 25 feet for each angle. If the hose or pipe must bend at a 90 degree angle, deduct 5 feet from the 25 feet for every bend.
Using aluminum or steel pipes with a smooth surface inside will allow the lint to flow more freely at a distance. If the distance of the vent hose must be 25 feet long, a pipe will be easier to keep clean than an accordion type hose.