* Declarative sentences make a statement. They tell you something.
* The statement is a question. It asks if telegrams were popular before telephones.
To make it a declarative sentence, you could say:
* Telegrams were popular before telephones.
* Telegrams were a common form of communication before telephones were invented.