There are several modes for group chat. It depends on how your teacher or admin has set it up for you and your classroom.
Some teachers prefer group chat to be used as a “Virtual Notice Board” where only they can post messages and attachments, whereas some prefer group chat to be used as a common forum where anybody can post.
Your teacher can instantly convert them into the other. Please talk to your teacher about how they prefer using the group chat.