Giter Site home page Giter Site logo

Comments (6)

tdurnford avatar tdurnford commented on August 19, 2024 1

Even though the documentation says AudioCards support images, channels like Skype, Teams, Facebook Messenger, and currently Web Chat resolve to a 'Payload is incorrect' or a 'Malformed activity' error when an AudioCard has an image attribute. Developers would have to add channel specific conditionals before adding an image to an AudioCard if they wanted to send AudioCards with images and use multiple channels.

Note, it appears that Web Chat is already configured to supports audio posters; however, the AudioCard Interface in DirectLineJs doesn't include image as a property and would still need to be updated.

from botframework-directlinejs.

danmarshall avatar danmarshall commented on August 19, 2024

Thanks @albertaparicio - this seems like a decent upgrade :)
If you like, you can fix up the code and send us a pull request! wink wink

from botframework-directlinejs.

billba avatar billba commented on August 19, 2024

If you're interested in adding this feature, please keep in mind that it will require pull requests to both DirectLineJS (for the typing) and Web Chat (for the implementation).

from botframework-directlinejs.

corinagum avatar corinagum commented on August 19, 2024

Note to Fixer

  • Typings needed to be added to DirectLineJS
  • Support audio card with image in Web Chat

from botframework-directlinejs.

corinagum avatar corinagum commented on August 19, 2024

Transferring this issue to Direct Line. However, since other channels don't support this (including Teams), we should consider whether we truly want / need to support AudioCards with images.

from botframework-directlinejs.

compulim avatar compulim commented on August 19, 2024

This is related to #255. The schema need to be updated to support images in audio cards.

from botframework-directlinejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.