From ad2f27e17bae2bc3a576bf1a7eb2e0d1e9a33c10 Mon Sep 17 00:00:00 2001 From: Eric Dahlvang Date: Mon, 9 Mar 2020 12:20:59 -0700 Subject: [PATCH] Add ephemeral to DeliveryModes (parity) --- .../botbuilder/schema/_connector_client_enums.py | 1 + libraries/botbuilder-schema/botbuilder/schema/_models.py | 4 ++-- libraries/botbuilder-schema/botbuilder/schema/_models_py3.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libraries/botbuilder-schema/botbuilder/schema/_connector_client_enums.py b/libraries/botbuilder-schema/botbuilder/schema/_connector_client_enums.py index ba33d9c00..d2027a277 100644 --- a/libraries/botbuilder-schema/botbuilder/schema/_connector_client_enums.py +++ b/libraries/botbuilder-schema/botbuilder/schema/_connector_client_enums.py @@ -100,6 +100,7 @@ class DeliveryModes(str, Enum): normal = "normal" notification = "notification" expect_replies = "expectReplies" + ephemeral = "ephemeral" class ContactRelationUpdateActionTypes(str, Enum): diff --git a/libraries/botbuilder-schema/botbuilder/schema/_models.py b/libraries/botbuilder-schema/botbuilder/schema/_models.py index 31e1a3f31..1b9599a61 100644 --- a/libraries/botbuilder-schema/botbuilder/schema/_models.py +++ b/libraries/botbuilder-schema/botbuilder/schema/_models.py @@ -133,7 +133,7 @@ class Activity(Model): :param delivery_mode: A delivery hint to signal to the recipient alternate delivery paths for the activity. The default delivery mode is "default". Possible values include: 'normal', - 'notification', 'expectReplies' + 'notification', 'expectReplies', 'ephemeral' :type delivery_mode: str or ~botframework.connector.models.DeliveryModes :param listen_for: List of phrases and references that speech and language priming systems should listen for @@ -146,7 +146,7 @@ class Activity(Model): :type semantic_action: ~botframework.connector.models.SemanticAction :param caller_id: A string containing an IRI identifying the caller of a bot. This field is not intended to be transmitted over the wire, but is - instead populated by bots and clients based on cryptographically + instead populated by bots and clients based on cryptographically verifiable data that asserts the identity of the callers (e.g. tokens). :type caller_id: str """ diff --git a/libraries/botbuilder-schema/botbuilder/schema/_models_py3.py b/libraries/botbuilder-schema/botbuilder/schema/_models_py3.py index 792ab6c13..709c352f0 100644 --- a/libraries/botbuilder-schema/botbuilder/schema/_models_py3.py +++ b/libraries/botbuilder-schema/botbuilder/schema/_models_py3.py @@ -133,7 +133,7 @@ class Activity(Model): :param delivery_mode: A delivery hint to signal to the recipient alternate delivery paths for the activity. The default delivery mode is "default". Possible values include: 'normal', - 'notification', 'expectReplies' + 'notification', 'expectReplies', 'ephemeral' :type delivery_mode: str or ~botframework.connector.models.DeliveryModes :param listen_for: List of phrases and references that speech and language priming systems should listen for