microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.45k stars 2.44k forks source link

Sending intro message before the user starts the conversation on the Team? #6615

Closed ShaliniRD100 closed 4 months ago

ShaliniRD100 commented 9 months ago

How to Send intro message before the user starts the conversation on the Team? I added a code in OnMembersAddedAsync this is working on Bot framework emulator but when deploy the package and open in Teams channel. This message is not sent to the user

dmvtech commented 6 months ago

Is this a brand new bot for Teams? Is this with 1:1 conversation or part of a group/Teams Channel?

For Teams (bot) channel, the welcome message only (ever) get's sent once. In other words; the OnMembersAddedAsync method only ever gets called once. If you have another user (not part of a Teams Channel that already contains the bot) that can talk to the bot, they should get the welcome/OnMembersAddedAsync. If not, there is some problem.

dmvtech commented 4 months ago

Closing due to lack of response.