Telegraphy is usually a point to point long distance communication system with human operators manually sending and receiving, although later systems automated the sending and receiving.
Telex is usually a switched network long distance communication system, similar to the telephone system but using teletype equipment to transmit printed text instead of voice messages.