I have experience in this. The Supreme Court of the United States has ruled on it. If it’s open comment time, they cannot censor except for obscene or threatening speech. All they can do is set a time limit. Don’t cuss or make violent threats and you’re good. If they censor you it’s an open and shut civil rights case.
If it’s a public hearing for a specific matter, they can restrict comment to that topic.
This is exactly what it is for so many. Some take it further: you made us hurt, now it’s your turn to hurt. These ones know Trump is a conman but they want everyone who moved to a suburb somewhere to pay for what’s happened to rural areas.