Top

RAINBOW CHANNELS IN CPAAS

Respondida

Comentários

6 comentários

  • Christophe IRLES

    Hi,


    Could you specify wich API you are talking about ?

    Are you using a SDK ? Which one ?

    Regards,
    Christophe

    0
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário Permalink

Por favor, entrar para comentar.

Ainda não consegue encontrar o que você precisa?

  • Contate-nos

    Você tem alguma pergunta sobre o Rainbow? Deixe-nos uma mensagem para obter mais informações.

    Contato
  • Pergunte à Comunidade

    Você precisa de ajuda? Faça suas perguntas na Comunidade para obter respostas de outros usuários do Rainbow.

    Enviar mensagem