Top

RAINBOW CHANNELS IN CPAAS

Answered

Comments

6 comments

  • Christophe IRLES

    Hi,


    Could you specify wich API you are talking about ?

    Are you using a SDK ? Which one ?

    Regards,
    Christophe

    0
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • 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
    Comment actions Permalink

Please sign in to leave a comment.

Still can't find what you need?

  • Contact Us

    Do you have any question about Rainbow? Leave us a message to get more information.

    Contact
  • Ask the Community

    Do you need help? Ask your questions to the Community and get answers from other Rainbow users.

    Post message