@microsoft/agents-copilotstudio-client
Version:
Microsoft Copilot Studio Client for JavaScript. Copilot Studio Client.
24 lines (20 loc) • 579 B
text/typescript
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { Activity } from '@microsoft/agents-activity'
/**
* Represents a request to execute a turn in a conversation.
* This class encapsulates the activity to be executed during the turn.
*/
export class ExecuteTurnRequest {
/** The activity to be executed. */
activity?: Activity
/**
* Creates an instance of ExecuteTurnRequest.
* @param activity The activity to be executed.
*/
constructor (activity?: Activity) {
this.activity = activity
}
}