Can't find the contact photo function in NodeJS SDK
RéponduI want to display contacts by NodeJS SDK, however, I can't find the contact photo, how can I get this function, I can get it through RainbowSDK.getContact().getPhoto() on android SDK, but on NodeJS SDK, it doesn't have this method..
-
Hi,
Meantime you can create the avatar url, if any with:
On Production:
https://cdn.openrainbow.com/api/avatar/<user id>?size=256On the Sandbox
https://sandbox.openrainbow.com/api/avatar/<user id>?size=256Best regards,
Pascal -
Hi, docs updated, SDK updated.
New API: https://hub.openrainbow.com/#/documentation/doc/sdk/node/api/contacts#Contacts+getAvatarByContactId
Vous devez vous connecter pour laisser un commentaire.
Commentaires
3 commentaires