It shall be the duty of any telegraph company, doing business in this state, to transmit all dispatches in the order in which they are received, under the penalty of one hundred dollars, to be recovered with costs of suit, by the person or persons whose dispatch is postponed out of its order: PROVIDED, That communications to and from public officers on official business, may have precedence over all other communications: AND, PROVIDED FURTHER, That intelligence of general and public interest may be transmitted for publication out of its order.