Neither reply is incorrect but neither is complete.
Firstly you need to distinguish between applied forces (loads) and resisting forces. Remember that support reactions are considered as applied forces.
Secondly you need to distinguish between the structure as a whole and the individual members.
The same loads can be applied to a truss, a frame or a beam considered as a whole structure. The difference lies in the response of the members ie the resisting forces.
So a truss (as a structure) supported on two knife edges is subject to the same shear forces and bending moments as a beam carrying the same loads and supported on the same knife edges.
Trusses are designed as an assemblage of relatively (to the whole structure) slender members that offer only axial resistance forces ie tension and compression. As previously stated their joints are considered as free to rotate it pins, hinges or whatever. Further forces applied to the structure as a whole (loads) are applied only at these joints.
The upshot of this is that no bending could be transmitted via a joint from one member to another.
Another consequence is that the reactions for a truss are necesarily forces, not moments.
Beams on the other hand offer resisting shear forces and moments directly and so can readily carry applied loads at any point along the beam.
The reactions for a beam may be forces, moments or both.
Frames contain members that are linked by joints that can transmit a moment from one member to the next. These members offer resisting moments and are thus like beams, as previously noted.
Not all the joints need to be able to transmit moment and not all the moment may be transmitted.
Consequently frames may have reactions that are simple forces, moments or both.
Another consequence of all this is that the internal resisting forces of truss members will be either tension or compression, but not both.
On the other hand, the internal resisting forces in beams always include both tension and compression beams always
Hope this helps.