Hey,
If the bot is installed for both of them already, then you will need conversationId to send notification. You can get the conversation Id from turnContext.Activity.Conversation.Id
and store it. You can get this when user install the bot (using OnConversationUpdateActivity)or when user interacts with the bot.
You can get user details from turnContext when user install the bot. If using OnConversationUpdateActivity then you can get it by turnContext.Activity.From
. (have a look at available properties)
Thanks,
Hunaid Hanfee
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.