Comments (3)
Can you please post the JSON of the message? Thank you.
from botframework-emulator.
@alexcocian In case it's helpful, here's an example of a card that successfully posts back for me in the emulator:
{
"type": "message",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.hero",
"content": {
"buttons": [
{
"type": "postBack",
"value": "post back",
"title": "post back"
}
]
}
}
],
"from": {
"id": "89fk09e0fijjckmal",
"name": "Bot"
},
"recipient": {
"id": "12345",
"name": "User 1"
},
"replyToId": "ek6n8li8ag3h347dgc"
}
Here's the code to generate the card (Node.JS SDK):
bot.dialog('/', (session) => {
const card = new builder.HeroCard(session)
.buttons([
builder.CardAction.postBack(session, 'post back', 'post back')
]);
const msg = new builder.Message(session).addAttachment(card);
builder.Prompts.choice(session, msg, "post back");
});
from botframework-emulator.
@alexcocian Closing due to inactivity. If you're still seeing this issue, please open a new one. Thank you.
from botframework-emulator.
Related Issues (20)
- Unable to login to Azure Account Something went wrong error HOT 1
- JSON previewer is not open HOT 2
- Login in to Emulator does not work HOT 2
- Token is not getting generated. HOT 2
- Can't connect to WSL with post 400 error about connection refused - emulator doesn't connect to localhost HOT 9
- OAuth Prompt not working in Emulator HOT 9
- Text output window size HOT 1
- Support of updateActivity (update message) and deleteActivity (delete message)
- Unable to remove ngrok configuration from botFreamwork-Emulator HOT 2
- Bot is not able to listen on http://localhost:3978/api/messages. HOT 5
- Is the Emulator still being actively maintained? HOT 8
- Arlington application id
- Bot Framework Emulator Login problem HOT 3
- Support ngrok v3.1 HOT 5
- Test 1
- Test 2
- "The bot's Microsoft App ID or Microsoft App Password is incorrect." after following Steps to Add Cosmos DB HOT 3
- Add support for Azure Relay service as an alternative for Ngrok HOT 4
- Typing indicator not rendering while waiting on a delayed activity
- I cant see my adaptive card on the Bot builder emulator, it appears as blank. HOT 3
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 botframework-emulator.