fetchFileSentInConversation

abstract suspend fun fetchFileSentInConversation(    conversation: IRainbowConversation,     limit: Int,     offset: Int): RainbowResult<List<RainbowFileDescriptor>>

Fetches a list of RainbowFileDescriptor sent in a conversation This method accept a limit and an offset parameters for pagination, when limit is set to 0, the API returns a maximum of 100 results. If offset is greater that the limit of RainbowFileDescriptor sent in this conversation, no results are returned.

Return

RainbowResultRainbowFileDescriptor>> callback(onSuccess, onError)

Parameters

conversation

IRainbowConversation the conversation object for which we want to fetch the RainbowFileDescriptor

limit

Int a strictly positive integer representing the maximum number of RainbowFileDescriptor to fetch

offset

Int a strictly positive integer representing the position of the first RainbowFileDescriptor to fetch