Comments (5)
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.
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.
@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.
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.
@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)
- replyToId not part of token response of oauthprompt HOT 12
- @azure/msal-node and @azure/msal-browser versions are deprecated (both have new major versions)
- Add support for isVisible property in SharePoint Bot Adaptive Card Extension
- 'yarn' command not found while installing 'botbuilder-dialogs' HOT 2
- Cannot catch MemberNotFoundInConversation error when calling getConversationPagedMembers HOT 7
- port: Add zh-cn to supported locales HOT 1
- handleTeamsMessagingExtensionCardButtonClicked method is not working. HOT 11
- Support Federated Identity Credential HOT 2
- Adaptive card reverting back after reacting to it in Teams HOT 1
- CertificateAppCredentials defaults tenant to botframework.com HOT 4
- Support for multi-instance app customization in Teams? HOT 1
- TeamsInfo.getTeamChannels returning 403 Service Error Unknown HOT 2
- Facing FetchError: request to https://login.botframework.com/v1/.well-known/openidconfiguration failed, reason: unable to get local issuer certificate
- Skype is not sending the attachment details along with request object in group chats HOT 6
- `Input.Text` not displaying when used with `isRequired: true` HOT 1
- Update axios in botbuilder-core from 0.28 to 1.6.4 HOT 3
- Why the thumbnailCard image has a extra `margin-top: 0.8rem;` style? HOT 1
- contentType for excel attachment HOT 5
- Channel moderation settings are evaluated incorrectly when posting as a bot. HOT 6
- Teams botbuilder inline attachment download stopped working HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botbuilder-js.