Krishna089
Krishna089

Reputation: 101

How to get the Teams Unique ID based from "List chats" Graph API of the User who already interacted with the bot

We have installed bot for all the users, but we failed to capture Teams Unique ID for few users on the Conversation Update event. Is there a way to get the Teams Unique ID (29:***) for the users who have already chatted with the bot without any user interaction with the bot. In this Docs, says if you lose chat thread ID we can get again, but how to get the Teams Unique Id using Chat thread ID, So I can send the notification to those users.

Any help would be appreciated.

Thanks.

Upvotes: 0

Views: 315

Answers (1)

Gousia Begum
Gousia Begum

Reputation: 2124

We don't have API to fetch user's 29 id without a conversation. There is API that can return a user's profile details but it has to be in conversation context.But, If You have teamId, you could fetch the roster and get the channel account.

Upvotes: 1

Related Questions