SDK node.js - Compatibility break in conversations.getConversationByBubbleId
RéponduHi,
Message format retrieved by method conversations.getConversationByBubbleId has changed.
In 1.39.3, message.fromJid returns the contact object
In 1.44.0, it returns only the jid.
-
Commentaire officiel
Hi,
due to partial implementation, the 1.39 doesn't returns the good value, but the documentation was right, fromJId must return the jid string:
-> v1.39
https://github.com/Rainbow-CPaaS/Rainbow-Node-SDK/blob/v1.39.3/lib/common/models/Message.js#L25
-> v1.44:
https://github.com/Rainbow-CPaaS/Rainbow-Node-SDK/blob/v1.44.0/lib/common/models/Message.js#L25
Actions pour les commentaires
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires