microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ShaliniRD100 opened this issue · 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

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.

Closing due to lack of response.