Diameter is any line segment that passes through the center of the circle which in its endpoints lie on the circle.
Ahm you can say that a line in a circle is a diameter if that line passes through the center point (I think) then its endpoints are on the circle.