nodeSDK - need a method to accept invitations
I'm developing a BOT whose subscribers are identified though invite-accept method. The nodeSDK does not propose a method to "accept invitation". How to do that automatically ? Thanks
-
Hi Patrick,
Currently, a bot can't auto-accept users in his network to avoid big numbers at the end.
In near future, we will rework this feature by separating two concepts: adding a contact to the network, sharing presence with a contact.
So, it will be possible to have an auto-accept.
In the meantime, we have delivered a new API that allows an admin to add users in the network of an other user.
Here is a link to this API: https://hub.openrainbow.com/#/documentation/doc/sdk/node/api/contacts#Contacts+joinContacts
This method is also available as a REST API : https://hub.openrainbow.com/api/admin/index.html#tag/Users-Networks
Hope this will help you,
Regards,
Olivier
-
Good morning,
administrator can add the contacts before the rainbow account is activated?
Example :
RainbowAccount A is created by Admin B.
Admin B intermediately can add the contacts C, D to RainbowAccount A?
Once RainbowAccount A is activated. User A has to accept the contacts C and D?
Best regards.
Please sign in to leave a comment.
Comments
2 comments