A topic is a distinct path that must be constructed for each model to which you wish to subscribe in real-time. The SDK provides helper methods to create these topics for each model type. Each topic encompasses an events enum, which developers can select to subscribe to based on their business context and interests.
To subscribe to updates from a community or any content created within that community, the user must have the 'Member' status in that community. Once the user leaves the community, they will no longer receive real-time events.
COMMUNITY
- subscription to changes of the community object
POSTS
- subscription to changes of post objects in the community
COMMENTS
- subscription to changes of comment objects in the community
POST and COMMENTS
- subscription to changes of post and comment objects in the community
The default value is COMMUNITY
The functionality isn't currently supported by this SDK.
POST
- subscription to changes of the post object
COMMENTS
- subscription to changes of comment objects on the post
The default value is POST
The functionality isn't currently supported by this SDK.
COMMENT
- subscription to changes of the comment object
The functionality isn't currently supported by this SDK.
USER
- subscription to changes of the user object
POSTS
- subscription to changes of post objects in the user feed
COMMENTS
- subscription to changes of comment objects in the user feed
POST and COMMENTS
- subscription to changes of post and comment objects in the user feed
The default value is USER
The functionality isn't currently supported by this SDK.
MY_FOLLOWERS
- subscription to changes related users that current user follows
MY_FOLLOWING
- subscription to changes related users that follows current user
The functionality isn't currently supported by this SDK.