WebSocketEvent mising getter for event

Hi all,

I am trying to get the mattermost sample go bot to work on my 6.1 installation. It looks like the members of WebSocketEvent in model/websocket_message.go have been made private (unexported? I am new to golang, so I am not sure of the terminology.). Instead there are setters and getters, except for WebSocketEvent.event. The GetEvent() function is missing.

Is this just an oversight? Or, is there a reason why it should not be possible to get the event type of a WebSocketEvent?

You can call the EventType method to get the event.

Ahh, there it was.
Thanks!

Hi Agnivade,

Would like to connect with you for a possible collaboration. Are you open to chat?