This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TranscriptLoggerMiddleware set turnContext.Activity.From.Role (#1057)
- Loading branch information
1 parent
06c3fdc
commit 4777708
Showing
3 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
libraries/bot-schema/src/main/java/com/microsoft/bot/schema/ActivityEventNames.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
package com.microsoft.bot.schema; | ||
|
||
/** | ||
* Define values for common event names used by activities of type | ||
* ActivityTypes.Event. | ||
*/ | ||
public final class ActivityEventNames { | ||
private ActivityEventNames() { | ||
|
||
} | ||
|
||
/** | ||
* The event name for continuing a conversation. | ||
*/ | ||
public static final String CONTINUE_CONVERSATION = "ContinueConversation"; | ||
|
||
/** | ||
* The event name for creating a conversation. | ||
*/ | ||
public static final String CREATE_CONVERSATION = "CreateConversation"; | ||
} |