Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

222
Views
¿Cómo puedo tomar los datos de choiceSet en tarjetas adaptables?

Quiero los datos (es decir, el valor dentro de la matriz de opciones) dentro del conjunto de opciones rojo cuando seleccioné y hice clic en el btn, mantuve una imagen y agregué el envío de acción como acción. Enviar ya que ese es mi caso de uso, estoy bastante confundido cómo puedo hacer eso , Aquí está la carga útil de la tarjeta

 { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.2", "body": [ { "type": "Input.ChoiceSet", "id": "myColor2", "style": "expanded", "value": "1", "choices": [ { "title": "Red", "value": "1" } ] }, { "type": "Image", "altText": "it's a image", "url": "https://media.istockphoto.com/vectors/bhutanese-ngultrum-btn-vector-id1304476894", "width": "100px", "height": "100px", "horizontalAlignment": "Left", "selectAction": { "type": "Action.Submit", "id": "btn", "title": "btn" } } ]

}

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Una vez enviado haciendo clic en el icono, el bot debería recibir una actividad de tipo message pero sin texto. Los datos que desea están en la propiedad de value .

 { "activity": { "channelData": { "postBack": true, "clientActivityID": "<REMOVED>", "clientTimestamp": "2022-04-05T18:43:17.348Z" }, "type": "message", "value": { "myColor2": "1" }, "channelId": "emulator", "from": { "id": "<REMOVED>", "name": "", "role": "user" }, "locale": "en-us", "localTimestamp": "2022-04-05T11:43:17-07:00", "localTimezone": "America/Los_Angeles", "timestamp": "2022-04-05T18:43:17.408Z", "id": "<REMOVED>", "recipient": { "id": "<REMOVED>", "name": "Bot", "role": "bot" }, "conversation": { "id": "<REMOVED>" }, "serviceUrl": "http://localhost:3212" }, "id": "<REMOVED>", "timestamp": 1649184197408 }
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!