GithubHelp home page GithubHelp logo

Comments (4)

anishprasad01 avatar anishprasad01 commented on June 2, 2024 1

I was able to reproduce this behavior. The bot is creating the Hero Card by getting the image from messagePayload.body.content as sent by Teams, and the attachments are indeed empty. You cannot simply access the URL provided in body, for security.

Let me verify if this is expected behavior or not, as that will inform next steps.

from botframework-services.

anishprasad01 avatar anishprasad01 commented on June 2, 2024

Hi @mpelekh,

A few questions:

  • What language are you using?
  • What are the versions of the relevant packages in your project?
  • How is this bot deployed?
  • Does the behavior change depending on which Teams client or conversation you use?

from botframework-services.

mpelekh avatar mpelekh commented on June 2, 2024

Hi @anishprasad01 !

  • What language are you using?

TypeScript.

  • What are the versions of the relevant packages in your project?

botbuilder: 4.16.0
botframework-connector: 4.16.0
botframework-schema: 4.16.0

  • How is this bot deployed?

The issue is reproducible for the bot application from AppSource as well as for the custom build application.
The bot is deployed as a node.js web server built with restify (v. 8.6.1) framework.

  • Does the behavior change depending on which Teams client or conversation you use?

No, it doesn't. The behavior is the same for both Web and for Desktop Teams clients and it doesn't depend on the conversation that is used.

Note: This issue is reproducible in any case when the message extension is used. You can use the "Steps to Reproduce" from the issue description and check the appropriate request in the network tab to see the payload on the message extension invoke.

from botframework-services.

anishprasad01 avatar anishprasad01 commented on June 2, 2024

@mpelekh,

Based on what I have heard from Teams and this Teams documentation on messaging extensions, it appears that this functionality is expected behavior, and will not be changed. Further inquiries on this point should be directed to Teams, as we don't control this on the bot side.

from botframework-services.

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.