AmityUserRepository

Functions

Link copied to clipboard
fun flagUser(userId: String): Completable
Link copied to clipboard
Link copied to clipboard
fun getCurrentUser(): Flowable<AmityUser>
Link copied to clipboard
fun getReachedUsers(viewedType: AmityViewedType, viewedId: String): Flowable<PagingData<AmityUser>>
Link copied to clipboard
fun getUser(userId: String): Flowable<AmityUser>
Link copied to clipboard
fun getUserByIds(userIds: Set<String>): Flowable<List<AmityUser>>
Link copied to clipboard
Link copied to clipboard
fun getViewedUsers(postId: String): Flowable<PagingData<AmityUser>>
Link copied to clipboard
fun isUserFlaggedByMe(userId: String): Single<Boolean>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun unflagUser(userId: String): Completable