/** * @module botbuilder */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { Activity, TeamInfo, TeamsMeetingInfo, TenantInfo } from 'botbuilder-core'; /** * Gets the TeamsMeetingInfo object from the current [Activity](xref:botframework-schema.Activity). * @param activity The current [Activity](xref:botframework-schema.Activity). * @returns The current [Activity](xref:botframework-schema.Activity)'s team meeting info, or null. */ export declare function teamsGetTeamMeetingInfo(activity: Activity): TeamsMeetingInfo | null; /** * Gets the TenantInfo object from the current [Activity](xref:botframework-schema.Activity). * @param activity The current [Activity](xref:botframework-schema.Activity). * @returns The current [Activity](xref:botframework-schema.Activity)'s tenant info, or null. */ export declare function teamsGetTenant(activity: Activity): TenantInfo | null; /** * Gets the TeamsInfo object from the current [Activity](xref:botframework-schema.Activity). * @param activity The current [Activity](xref:botframework-schema.Activity). * @returns The current [Activity](xref:botframework-schema.Activity)'s team's info, or null. */ export declare function teamsGetTeamInfo(activity: Activity): TeamInfo | null; /** * Gets the Team Id from the current [Activity](xref:botframework-schema.Activity). * @param activity The current [Activity](xref:botframework-schema.Activity). * @returns The current [Activity](xref:botframework-schema.Activity)'s team's Id, or null. */ export declare function teamsGetTeamId(activity: Activity): string | null; /** * Activity helper methods for Teams. * Activity helper methods for Teams. */ export declare function teamsGetChannelId(activity: Activity): string | null; /** * Configures the current [Activity](xref:botframework-schema.Activity) to generate a notification within Teams. * @param activity The current [Activity](xref:botframework-schema.Activity). */ export declare function teamsNotifyUser(activity: Activity, alertInMeeting?: boolean, externalResourceUrl?: string): void; //# sourceMappingURL=teamsActivityHelpers.d.ts.map