简体   繁体   中英

Get GroupsId from Bot Framework in Microsoft Teams

My question is related to the Bot Framework, with Microsoft Teams. The idea is to be able to get the current groupId (if we are not in a 1:1 convesation) to be able to make some Graph request

I tried to get the channel data, with this method

TeamsChannelData channelData = context.Activity.GetChannelData<TeamsChannelData>()

But I just have the channel id (Something like 19:b7bce0b2cba1453ca50dd3750ba3bdd7@thread.skype )

Actually It's not enough to get the GroupId, even with the /beta graph endpoint.

Any pointer on how to works with the current group in MS Teams, with a Bot ?

Thx all !

Thanks for bringing to us. The improvement to include the AAD group id to channel data is still in progress. We will let u know once it is released to public.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM