AmityCommunityRepository

Functions

Link copied to clipboard

Initiates a function chain to create a community.

Link copied to clipboard
fun deleteCommunity(communityId: String): Completable

deletes a community

Link copied to clipboard

Initiates a function chain to edit a community.

Link copied to clipboard

Initiates a function chain to query for categories.

Link copied to clipboard
fun getCategory(categoryId: String): Flowable<AmityCommunityCategory>

Gets a LiveObject of category

Link copied to clipboard

Initiates a function chain to query for communities.

Link copied to clipboard
fun getCommunity(communityId: String): Flowable<AmityCommunity>

Gets a LiveObject of community

Link copied to clipboard

Queries for recommended communities.

Link copied to clipboard

Queries for trending communities.

Link copied to clipboard
fun joinCommunity(communityId: String): Completable

joins a community

Link copied to clipboard
fun leaveCommunity(communityId: String): Completable

leaves a community

Link copied to clipboard

Instantiates AmityCommunityParticipation.

Link copied to clipboard

Instantiates AmityCommunityModeration.

Link copied to clipboard
Link copied to clipboard

Initiates a function chain to update a community.