It wasn't binary nor electrical, but it was already digital. Excluding it would be arbitrarily restrictive.
AFAIK the Télégraphe Chappe was the first general purpose telegraph able to send arbitrary messages, and was used by both the administration (for civilian as well as military purpose) and the private sector for business.