Problem with receiving events via websocket

I’m trying to write a bot for mattermost. People at work created me a bot with a token. I’m connecting via websocket. I manage to connect, and the Hello event arrives. But that’s all. No more events come. Mattermost version 5.39.0. How to receive any event, in particular the event about receiving new posts? Maybe I need to configure the bot somehow differently?