There's not necessarily a perfect offline equivalent but it would sort of be like if the president tried to forbid a newspaper from running an editorial next to the text of a presidential speech- obviously unconstitutional. (not a perfect comparison because twitter users who are blocked can and do get around it by screenshotting or just linking to the tweet even though they can't reply to it)
I think the more interesting part of this is the ruling that the president's "personal" twitter account is an official government instrument.