RocketChat / Rocket.Chat.Go.SDK

Go SDK for REST API and Realtime api
MIT License
60 stars 58 forks source link

include message type in Message model #37

Closed ldruschk closed 3 years ago

ldruschk commented 4 years ago

Unfortunately the feature is not documented here: https://rocket.chat/docs/developer-guides/realtime-api/the-message-object/

But the "t" field includes the type of the message (e.g. subscription-role-added, subscription-role-removed, ul (for a user leaving), uj (for a user joining) etc.)