Forum Discussion

vimalbhavsar's avatar
vimalbhavsar
Copper Contributor
Jul 07, 2022

Return Adaptive Card on composeExtensions message Context

Hello, I would like to call the adaptive card on this action method 'Share Message'. This is a Context type is Message in composeExtensions.

 

  • tarselim's avatar
    tarselim
    Copper Contributor

    vimalbhavsar Good afternoon, can you tell me how to set this up? since I do not show 
    my version  Microsoft Teams версии 1.5.00.14473 (64-разрядная) thanks )

    • vimalbhavsar's avatar
      vimalbhavsar
      Copper Contributor
      Hello, I have created a Messaging Extension application, and that manifest.template.json in composeExtensions i have a created a command and context is message.

      This is the part of code.
      {
      "id": "shareMessage",
      "context": [
      "message"
      ],
      "description": "Test command to run action on message context (message sharing)",
      "title": "Share Message",
      "type": "action",
      "parameters": [
      {
      "name": "includeImage",
      "title": "Include Image",
      "description": "Include image in Hero Card",
      "inputType": "toggle"
      }
      ]
      }

      So, i would like to call adaptivecard

Resources