Comments (9)
Hey @Kajiro,
This is due to a channel limitation on Skype's end. They unfortunately do not support SuggestedActions aka "Quick Replies" if they are not part of a Card.
(See Channel Skype: | Feature: Suggested actions, then Notes -> Availability)
I spun up a v3 Node.js bot to test as well, and Skype did not send the activity's text in addition to the suggestedActions; but the prompt and suggestedActions were sent over WebChat.
from botbuilder-python.
I checked my bot again and saw that it was possible using version 12.1815.210.0 on Windows 10 Enterprise, so I'm looking back into this, sorry @Kaijiro!
from botbuilder-python.
No problem, thank you for the investigation. If you need me to test anything, feel free to ask !
from botbuilder-python.
@Kaijiro, the issue was actually that the suggestedAction was being sent to the bot instead of to the user. The correct code is this:
activity.suggested_actions = SuggestedActions(actions=replies, to=[activity.recipient.id])
as opposed to this:
activity.suggested_actions = SuggestedActions(actions=replies, to=[activity.from_property.id])
For some reason the Emulator was rendering the SuggestedActions to you, when in reality you shouldn't have been seeing them at all.
I opened a bug on microsoft/BotFramework-WebChat#1057 to fix this bug in webchat (which is used in the Emulator).
Let me know if this solves the problem for you
from botbuilder-python.
Are you sure about this ? Here, my activity
variable is the result of the request deserialization, so the from
attribute of activity
is my final user and the recipient
is the bot itself.
Please, correct me if I'm wrong.
from botbuilder-python.
@stevengum Hey, any news about this issue ? I just checked the code snippet I posted and saw that I named two variables activity
... Everything should be clearer now
from botbuilder-python.
@Kaijiro sorry I missed your earlier comment; the code you've changed it to above should be correct; developers should be using the incoming deserialized activity
to generate the SuggestedActions.to
property on the response activity by using activity.from_property
from botbuilder-python.
Hey !
I changed the code because I had a copy/paste error. This is the code actually used to send SuggestedActions but I can only see it in the Emulator, every other client does not render it.
from botbuilder-python.
It sounds like you've been squared away for some time, so I'm going to close this out for now. If you're still facing this problem, please create a new issue.
from botbuilder-python.
Related Issues (20)
- port: CertificateServiceClientCredentialsFactory
- Ability to pass BotFrameworkConnectorConfiguration into ConfigurationBotFrameworkAuthentication
- Add AllowedCallersClaimsValidator, AllowedSkillsClaimsValidator
- ESRP in build pipelines HOT 1
- aiohttp.web_exceptions.HTTPNotFound: Not Found HOT 7
- Recommended change to 3.8.6 or above HOT 2
- CloudAdapter' object has no attribute 'create_connector_client' HOT 13
- Add connect_named_pipe method to CloudAdapter in support of DirectLine Speech
- Can't deploy echo-bot.py. ModuleNotFoundError: No module named 'aiohttp' HOT 3
- CVE-2020-22083 security vulnerability in botbuilder-python SDK HOT 2
- botbuilder-integration-aiohttp - Python 3.12 compatibility HOT 4
- TeamsChannelAccount model missing aadObjectId
- Bot gives same response multiple times when deployed with azure bot service HOT 4
- BotBuilder-Python SSO not working HOT 5
- SSO: AttributeError: 'CloudAdapter' object has no attribute 'exchange_token' HOT 2
- Occasional unexpected ConversationNotFound
- AttributeError: 'CloudAdapter' object has no attribute 'sign_out_user' HOT 2
- Starting from 4.15.0 - <Request POST /api/messages > has failed with exception: KeyError('access_token')
- Need to upgrade aiohttp dependency to 3.9.4
- use managed identity in Python bot
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-python.