fetchReactionsForChannelItem

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

Fetch reactions from a given channel item with specified limit and offset.

The response is sent in the success callback as a @object:ArrayItemList<@object:ChannelUser>.

Parameters

channel

Channel object whose reaction are retrieved

channelItem

IChannelItem object whose reaction are retrieved

reactionType

ReactionType enumeration of the type of reaction to retrieve (null for all types)

limit

Int that allow to specify the number of reactions to retrieve (default value 50)

offset

Int Allow to specify the position of first channel to retrieve (default value 0)

listener

RainbowListener callback (onSuccess, onError)