AmityCommunityRepository, a class that contain all community related methods. Then call
createCommunity()to obtain the RxJava and observe it in order to obtain the final community model.
AmityFileRepositorythen pass the obtained
joinCommunity()method will add the active user as a member of the channel.
withKeywordparameter let you filter communities based on the community
sortByparameters let you filter communities based on the order that the communities were created or based on alphabetical order
filterparameter let you filter communities based on the logged-in user membership status
categoryIdparameters let you filter communities based on community categories
AmityCommunityParticipationprovides a list of members by role in the given community.
AmityCommunityRepositorywill also be able to manage community categories. When communities are put into a category, you will be able to sort and filter each of the communities in that category.
Note. Right now categories will only be creatable and updatable from the Amity Social Cloud Console.
AmityCommunity.ktmodel allows user to get post count by feed type .
AmityPermission.REVIEW_COMMUNITY_POSTby following this: