when i retrieve some messages with rainbowSDK.im.getMessagesFromConversation , i got a json response that contains some key. I see key "type" that have value "FileSharing " if the conversation contain file. The question is how can i retrieve file in the json that gained from rainbowSDK.im.getMessagesFromConversation API.
You see in that picture above, i just use
<p ng-switch on="$ctrl.item.type.value">
because i don't know how to get file from rainbowSDK.im.getMessagesFromConversation.
thanks for response :D
Please sign in to leave a comment.