Commit a3f98943 by Oleksandr Barabash

link added

parent b52ebde4
......@@ -71,7 +71,21 @@ class CardHelper:
}
}}]
})
card_body.append({
"type": "Container",
"items": [
{
"type": "ActionSet",
"actions": [
{
"type": "Action.OpenUrl",
"title": "Open in Browser",
"url": url
}
]
}
]
})
# ======================= URL =========================================
if acknowledge is not None and acknowledge and acknowledged_by is None:
card_body.append({
......
......@@ -317,7 +317,6 @@ class CosmosClient:
activity = turn_context.activity
reference = TurnContext.get_conversation_reference(activity)
reference_json = ConversationReference.get_schema().dump(reference)
# reference_dict = ConversationReferenceSchema().dump(reference)
container = await self.get_conversations_container()
reference_json.update({
CosmosDBConfig.Conversations.PK: reference.conversation.id
......
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