Top

RAINBOW CHANNELS IN CPAAS

Répondu

Commentaires

6 commentaires

  • Christophe IRLES

    Hi,


    Could you specify wich API you are talking about ?

    Are you using a SDK ? Which one ?

    Regards,
    Christophe

    0
    Actions pour les commentaires Permalien
  • Jean-Pierre ALBINET

    Hi I'm asking if there is or will be an API or SDK to push external contents to channels.


    Regards

    0
    Actions pour les commentaires Permalien
  • Christophe IRLES

    All SDK (except C# SDK fro the moment) can manage Channel features ... It's why i'm asking you which SDK you want to use.

    Take a look to SDK documentation for more details

    Cf. https://hub.openrainbow.com/#/documentation/doc/hub/getting-started

    Regards,
    Christophe

    0
    Actions pour les commentaires Permalien
  • Jean-Pierre ALBINET

    Thanks, sorry I was not precise enough in my question. We developped a corporate social network that is used to announce projets won, events were the staff is involved (for example : Rallye Monte Carlo, Grand Prix, ...), caritative events, ....

    We want to push all the content of this application within a Rainbow Channel. 

    The SDK we will be using is the NODEJS sdk.

    I the API documentation I've seen 2 functions: 

    publishMessageToChannel(channel to write text on a channel

    createItem to push an url

    how can we publish a photo, a pdf, a video to a channel?

     

    0
    Actions pour les commentaires Permalien
  • Vincent BERDER

    Hello,

     

    I commited the file i use to do some tests/validationd about the SDK on github :

    https://github.com/Rainbow-CPaaS/Rainbow-Node-SDK/blob/master/src/Samples/index.ts

    look at method testChannelImage() you will see how to post HTML message + an image to a channel.

    Note that you have to upload the picture on your rainbow store before add it in the post.

     

    Regards,

    Vincent.

    0
    Actions pour les commentaires Permalien
  • Vincent BERDER

    Hello,

     

    In current release 1.66.1 you can upload file with Rainbow Node Sdk to conversation or bubble only.

    So i added in repository the method FileStorageService::uploadFileToStorage to Send a file in user storage.

    It will be available in next release.

     

    Regards,

    Vincent.

    0
    Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.

Vous n'avez pas trouvé ce que vous cherchez?

  • Contactez-nous

    Vous avez des questions? Laissez-nous un message pour obtenir plus d'informations.

    Contactez-nous
  • Demandez à la Communauté

    Vous avez besoin d'aide? Posez vos questions à la Communauté et obtenez des réponses d'autres utilisateurs Rainbow.

    Poster un message