Create a group chat using bot

Prasad Rao Kalluri 1 Reputation point
2022-01-26T13:52:31.637+00:00

I was successful in building Bot which sends Msg to one email id

Next Task for me is to enable Bot for Create a group chat using multiple email ids

Example. I want to notify 3 members thru Teams Msg (Group Chat not the Channel)

This is very important. Please help.

Microsoft Teams | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sayali-MSFT 3,991 Reputation points Microsoft External Staff Moderator
    2022-01-27T07:53:21.243+00:00

    To install the Microsoft Teams bot in a group chat, add the groupchat scope to your bot. This allows all members of the conversation to interact with your bot. After the bot is installed, it has access to metadata about the conversation, such as the list of conversation members.
    Bots in a group only receive messages when they are mentioned @botname. They do not receive any other messages sent to the conversation. The bot must be @mentioned directly.

    Ref. Doc:-https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/channel-and-group-conversations?tabs=dotnet

    Sample doc:-https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/channel-and-group-conversations?tabs=dotnet#code-sample

    Thanks,

    Sayali


    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.

    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.