Commit 9b9762c9 by Oleksandr Barabash

experimental message invoke response

parent 052ee6ba
......@@ -399,9 +399,13 @@ class TeamsMessagingExtensionsActionPreviewBot(TeamsActivityHandler):
height=TaskModuleConfig.HEIGHT,
url=link,
fallback_url=link)
return TaskModuleResponse(
task=TaskModuleContinueResponse(value=task_info)
await turn_context.send_activity(
Activity(value=TaskModuleResponse(
task=TaskModuleContinueResponse(value=task_info)
),
type=ActivityTypes.invoke_response)
)
return
if message_lower == cmd_help.lower():
tenant_id = turn_context.activity.conversation.tenant_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