fetchReactionsForChannelItem

abstract suspend fun fetchReactionsForChannelItem(    channel: Channel,     channelItem: IChannelItem,     reactionType: ReactionType? = null,     limit: Int = 50,     offset: Int = 0): RainbowResult<ChannelItemReactions>

Fetch reactions for a specific channel item.

This method retrieves reactions associated with a specific IChannelItem within a given Channel. If reactionType is set to null, all types of reactions will be retrieved.

Return

A RainbowResult containing the ChannelItemReactions object with the reactions on success. In case of failure, the result will include error details.

Parameters

channel

The Channel object containing the item for which reactions are retrieved.

channelItem

The IChannelItem for which reactions are fetched.

reactionType

An optional ReactionType to filter reactions by type. If null, all reaction types are retrieved.

limit

An Int specifying the maximum number of reactions to retrieve (default value is 50).

offset

An Int specifying the position of the first reaction to retrieve (default value is 0).