@microsoft/agents-hosting-teams
Version:
Microsoft 365 Agents SDK for JavaScript
26 lines (25 loc) • 1.15 kB
TypeScript
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { AgentApplicationBuilder, TurnState } from '@microsoft/agents-hosting';
import { TeamsApplication } from './teamsApplication';
/**
* A builder class for creating and configuring a TeamsApplication instance.
* Extends the AgentApplicationBuilder class to provide additional Teams-specific configuration options.
* @template TState - The type of the turn state.
*/
export declare class TeamsApplicationBuilder<TState extends TurnState> extends AgentApplicationBuilder<TState> {
private _teamsOptions;
/**
* Sets whether to remove recipient mentions from messages.
* @param removeRecipientMention - A boolean indicating whether to remove recipient mentions.
* @returns The current instance of TeamsApplicationBuilder for method chaining.
*/
setRemoveRecipientMention(removeRecipientMention: boolean): this;
/**
* Builds and returns a new TeamsApplication instance with the configured options.
* @returns A new TeamsApplication instance.
*/
build(): TeamsApplication<TState>;
}