How to send welcome message for newly added users in ms teams chat bot?

Mayank Shukla 21 Reputation points
2020-11-25T08:11:26.377+00:00

How to send a welcome message for newly added users in ms teams chat bot?
What type of event or mechanism should I use to achieve this?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
909 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,895 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmyYang-MSFT 57,591 Reputation points Microsoft External Staff
    2020-11-26T02:29:49.61+00:00

    Hi @Mayank Shukla

    Based on my research, you can use the ConversationUpdate event ActivityTypes.ConversationUpdate // in c#.

    For more reference, please refer to:

    https://davide.dev/microsoft-bot-framework-showing-a-welcome-message-at-the-start-of-a-new-conversation/


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.
    0 comments No comments

  2. romungi-MSFT 48,671 Reputation points Microsoft Employee
    2020-11-25T16:02:18.343+00:00

    @Mayank Shukla You can use this sample from our botbuilder repo to create a welcome message to the user who has joined a conversation.

    1 person found this answer helpful.

Your answer

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