How to display shortcut buttons in MS Teams App?

Anonymous
2024-10-09T05:10:56.0366667+00:00

I have seen that in "Click Up" Teams app there are 3 shortcuts buttons displayed; how do I achieve the similar thing in my app. Any code changes required or manifest file configurations?

User's image

Microsoft Teams | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Prasad-MSFT 10,186 Reputation points Microsoft External Staff Moderator
    2024-10-09T05:49:18.33+00:00

    Suggested actions enable your bot to present buttons. You can create a list of suggested actions (also known as quick replies) that will be shown to the user for a single turn of the conversation.

    https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-howto-add-suggested-actions?view=azure-bot-service-4.0&tabs=csharp#suggest-action-using-button

    Sample Ref: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-suggested-actions

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

  2. Prasad-MSFT 10,186 Reputation points Microsoft External Staff Moderator
    2024-10-09T07:16:30.03+00:00

    Suggested actions enable your bot to present buttons. You can create a list of suggested actions (also known as quick replies) that will be shown to the user for a single turn of the conversation.

    https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-howto-add-suggested-actions?view=azure-bot-service-4.0&tabs=csharp#suggest-action-using-button

    Sample Ref: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-suggested-actions


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.