Giter Site home page Giter Site logo

Comments (5)

tracyboehrer avatar tracyboehrer commented on June 12, 2024

Will it work or we should remove the code from the sample?

Since that isn't an SDK sample, I can't say much about it. However, that method being protected is appropriate. That would only get called if the Activity.name == 'composeExtension/submitAction' and the Activity.value is BotMessagePreviewActionType "send".

You could see if it's making it handleTeamsMessagingExtensionSubmitAction. That would what it falls through to if the expected Activity value isn't present.

from botbuilder-js.

ChetanSharma-msft avatar ChetanSharma-msft commented on June 12, 2024

Hello @tracyboehrer - This sample was the part of bot builder SDK repo and we have just migrated the sample in Teams Samples Repository.

I will again try to run it and check if it's hitting the method.

from botbuilder-js.

tracyboehrer avatar tracyboehrer commented on June 12, 2024

@ChetanSharma-msft Either the sample is wrong, or the Activity arriving doesn't match the TeamsActivityHandler. You'll need to provide details on the Activity values.

The only way that method will get called is if:

Activity.name == 'composeExtension/submitAction' and the Activity.value is BotMessagePreviewActionType "send".

from botbuilder-js.

tracyboehrer avatar tracyboehrer commented on June 12, 2024

Closing due to inactivity. My previous comment stands. If the Teams handling for this has changed, then of course the SDK can be changed to match. But this hasn't been established, and I rather suspect the sample is just wrong.

from botbuilder-js.

austinparkk avatar austinparkk commented on June 12, 2024

@ChetanSharma-msft hey have you figured out how to get that event? i am running into the same issue.

from botbuilder-js.

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.