botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

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

Open ShaliniRD100 opened this issue 2 years ago • 1 comments

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

ShaliniRD100 avatar Oct 06 '23 15:10 ShaliniRD100

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 avatar Jan 23 '24 00:01 dmvtech

Closing due to lack of response.

dmvtech avatar Mar 14 '24 18:03 dmvtech