Community Post Settings

Introducing CommunityPostSettings with enhanced options to create post.There are 3 possible options for CommunityPostSettings.

  • CommunityPostSettings.ANYONE_CAN_POST : Anyone can create the post and add to the community feed immediately.

  • CommunityPostSettings.ADMIN_REVIEW_POST_REQUIRED : Allow users to create posts in a community. Then, create another layer of moderation to allow community moderators to decide whether the post should reflect on the community feed.

  • CommunityPostSettings.ONLY_ADMIN_CAN_POST : Allow only community moderators to create a post in the community.

You can check community post settings by importing CommunityPostSettings .

Create Community

If you want to create a community and need to review post before they're added to your community feed, you can call the following:

Note. The isPostReviewEnabled value is published by default. if you do not call this function, a post of member will be shown on community feed immediately without reviewing.

Update Community

If you want to update a community and change the status of isPostReviewEnable, you can call the following:

Last updated