Forum Discussion

Chandrasekaran Nageswaran's avatar
Chandrasekaran Nageswaran
Brass Contributor
Mar 20, 2021

Teams Search Messaging Extension - Update Existing Adaptive Card Posts!

Dear All

 

I have been working on MS Teams search messaging extension and implemented an app that query backend systems and users could select the preview card.

 Once selected, it will appear on the compose box to post the selected value. Everything is working as expected, however, I couldn't able to figure out how to refresh the card that it was approved/rejected, which was posted by the user after users take actions on the option provided on the card, in this case after clicking on Submit button (See below screenshot)

 

 

I tried using "Send Activity" or "Update Activity", but it is throwing an error stating that "The bot is not part of conversational roaster". 

 

Could you please guide me what I have missed here?

 

Thanks

Chandrasekaran Nageswaran

8 Replies

    • Nikitha-MSFT's avatar
      Nikitha-MSFT
      Iron Contributor
      We are not able to repro the issue at out end. When you click on the submit button you will receive the OnTeamsMessagingExtensionCardButtonClickedAsync event there you can use send activity to send message. try if that helps
      • Chandrasekaran Nageswaran's avatar
        Chandrasekaran Nageswaran
        Brass Contributor

        Nikitha-MSFT 

        I doing exactly the same what you had mentioned, but it throwing the same issue "The BOT is not part of conversation roaster"

        Attaching the code snippet for your reference.

         

         

        Any help is much appreciated.

         

        Thanks

        Chandrasekaran

Resources