Commit a7b4871b by Oleksandr Barabash

on message get group added

parent 87029a43
...@@ -340,6 +340,13 @@ class TeamsMessagingExtensionsActionPreviewBot(TeamsActivityHandler): ...@@ -340,6 +340,13 @@ class TeamsMessagingExtensionsActionPreviewBot(TeamsActivityHandler):
await turn_context.send_activity(i18n.t("tenant_forbidden")) await turn_context.send_activity(i18n.t("tenant_forbidden"))
return return
if turn_context.activity.channel_id == Channels.ms_teams:
team_details = await TeamsInfo.get_team_details(turn_context)
await turn_context.send_activity(
f"What is this ????: {team_details.aad_group_id}"
)
# save conversation reference # save conversation reference
reference = await self.cosmos_client.create_conversation_reference( reference = await self.cosmos_client.create_conversation_reference(
turn_context turn_context
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment