Skip to main content

Hello,

our development team is trying to implement receiving attachments from the Team Messaging API. (files, images, videos etc)

When we're listing messages in our chat using this call: https://developers.ringcentral.com/api-reference/Posts/readGlipPostsNew

if the message contains attachment(s), sometimes we're getting an object containing 2 properties per attachment (f.e. attachments: [{id: "2181292580874", type: "File"}]),

Screenshot 2023-04-19 at 9.11.41 AM.pngScreenshot 2023-04-19 at 9.11.14 AM.png

and sometimes we're getting 4 properties per attachment. Screenshot 2023-04-18 at 11.52.54 PM.png

So sometimes we're getting the id and type. Right now, we can't locate the API call in the documentation that somehow uses this id to get more information about the attachment. Are we missing something, or is this not yet implemented?

When we're getting contentUri as one of the 4 fields, I assume we have all that is needed, but in the instances where we get 2 fields, I'm not sure what to do.

Kind regards

I think that is the case where the file (attachment) was deleted from the team. You can double check from the RC app to see how many files are still found from the team.

screen-shot-2023-04-19-at-114440-am.png


Reply