Actually, they are two different things.
A tamper switch is used to communicate to the fire alarm panel if a sprinkler system valve has been closed. It almost always sends a "trouble" signal to the fire alarm panel, and sometimes the fire department itself.
A flow switch is used in a sprinkler system to tell the fire alarm panel if water is moving in the pipe. Water flow could result from a broken pipe or sprinkler head, or an actual fire that has caused a sprinkler to activate. Either way, it sends an alarm signal to the panel, which in turn activates the notification appliances (horns, strobes, bells, etc) and also notifies the fire department.