* Noun: This is the most common usage, referring to the device itself.
* Example: "He sent a message via telegraph."
* Verb: This refers to the act of sending a message using a telegraph.
* Example: "They telegraphed the news to the family."
* Adjective: This describes something related to telegraphs or their use.
* Example: "They used telegraph wires to communicate."
So, to determine the part of speech, you need to look at how it's used in the sentence.