Hello manav, To proactively send messages to users in Microsoft Teams using a bot, even if they have never interacted with the bot before, you can use the adapter.createConversationAsync
method. This method allows you to create a new conversation with a user and send a message to them.
To send a proactive message to a user, a group chat, or a team, your bot must have the requisite access to send the message. For a group chat or team, the app that contains your bot must be first installed in that location.
You can refer the below document and code sample-
1.https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet
2.https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/5f341fdd6d57f68654218007047f1c9ccfcf8aaa/samples/bot-conversation/nodejs/bots/teamsConversationBot.js#L511