Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 44969e6

Browse files
authored
Added DeliveryModes.EPHEMERAL (#1058)
1 parent 4777708 commit 44969e6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

libraries/bot-schema/src/main/java/com/microsoft/bot/schema/Activity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ public void setImportance(String withImportance) {
10001000
* A delivery hint to signal to the recipient alternate delivery paths for the
10011001
* activity.
10021002
* <p>
1003-
* The default delivery mode is \"default\".
1003+
* The default delivery mode is \"default\". See {@link DeliveryModes}.
10041004
*
10051005
* @return The delivery mode hint.
10061006
*/

libraries/bot-schema/src/main/java/com/microsoft/bot/schema/DeliveryModes.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ public enum DeliveryModes {
2323
/**
2424
* The value for expected replies delivery modes.
2525
*/
26-
EXPECT_REPLIES("expectReplies");
26+
EXPECT_REPLIES("expectReplies"),
27+
28+
/**
29+
* The value for ephemeral delivery modes.
30+
*/
31+
EPHEMERAL("ephemeral");
2732

2833
/**
2934
* The actual serialized value for a DeliveryModes instance.

0 commit comments

Comments
 (0)