GetUserReactionsCountRequest

data class GetUserReactionsCountRequest(val reactionSpaceId: String = "", val targetIds: List<String>, val reactionSpaceIds: List<String> = emptyList(), val reactedById: String? = null, val relationshipType: String? = null, val relationshipFromProfileId: String? = null, val liveLikePagination: LiveLikePagination = LiveLikePagination.FIRST, val targetGroupId: String? = null)

Request model for fetching reaction counts per target from the root reaction API.

Parameters

reactionSpaceId

legacy single reaction space ID, combined with reactionSpaceIds. A blank value omits the single-space filter.

targetIds

required list of 1 to 100 nonblank target IDs, sent as repeated target_id parameters. The empty default preserves existing constructor calls, but is rejected when fetching counts.

reactionSpaceIds

optional additional reaction space IDs, sent as repeated reaction_space_id parameters. The single ID and list are combined and deduplicated, with a maximum of 100 unique IDs. List entries must be nonblank. Omitting both space inputs omits the filter.

targetGroupId

optional target group filter. The SDK supplies client_id from its configuration.

reactedById

optional profile ID used to personalize response fields such as self_reacted_user_reaction_id.

relationshipType

optional relationship type filter. When provided, relationshipFromProfileId may also be sent.

relationshipFromProfileId

optional from-profile User ID used with relationshipType.

liveLikePagination

pagination direction for the request.

Constructors

Link copied to clipboard
constructor(reactionSpaceId: String = "", targetIds: List<String>, reactionSpaceIds: List<String> = emptyList(), reactedById: String? = null, relationshipType: String? = null, relationshipFromProfileId: String? = null, liveLikePagination: LiveLikePagination = LiveLikePagination.FIRST, targetGroupId: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard