1 | /**
|
2 | * @module botbuilder
|
3 | */
|
4 | /**
|
5 | * Copyright (c) Microsoft Corporation. All rights reserved.
|
6 | * Licensed under the MIT License.
|
7 | */
|
8 | import { Activity, TeamInfo, TeamsMeetingInfo, TenantInfo } from 'botbuilder-core';
|
9 | /**
|
10 | * Gets the TeamsMeetingInfo object from the current [Activity](xref:botframework-schema.Activity).
|
11 | * @param activity The current [Activity](xref:botframework-schema.Activity).
|
12 | * @returns The current [Activity](xref:botframework-schema.Activity)'s team meeting info, or null.
|
13 | */
|
14 | export declare function teamsGetTeamMeetingInfo(activity: Activity): TeamsMeetingInfo | null;
|
15 | /**
|
16 | * Gets the TenantInfo object from the current [Activity](xref:botframework-schema.Activity).
|
17 | * @param activity The current [Activity](xref:botframework-schema.Activity).
|
18 | * @returns The current [Activity](xref:botframework-schema.Activity)'s tenant info, or null.
|
19 | */
|
20 | export declare function teamsGetTenant(activity: Activity): TenantInfo | null;
|
21 | /**
|
22 | * Gets the TeamsInfo object from the current [Activity](xref:botframework-schema.Activity).
|
23 | * @param activity The current [Activity](xref:botframework-schema.Activity).
|
24 | * @returns The current [Activity](xref:botframework-schema.Activity)'s team's info, or null.
|
25 | */
|
26 | export declare function teamsGetTeamInfo(activity: Activity): TeamInfo | null;
|
27 | /**
|
28 | * Gets the Team Id from the current [Activity](xref:botframework-schema.Activity).
|
29 | * @param activity The current [Activity](xref:botframework-schema.Activity).
|
30 | * @returns The current [Activity](xref:botframework-schema.Activity)'s team's Id, or null.
|
31 | */
|
32 | export declare function teamsGetTeamId(activity: Activity): string | null;
|
33 | /**
|
34 | * Activity helper methods for Teams. * Activity helper methods for Teams.
|
35 | */
|
36 | export declare function teamsGetChannelId(activity: Activity): string | null;
|
37 | /**
|
38 | * Configures the current [Activity](xref:botframework-schema.Activity) to generate a notification within Teams.
|
39 | * @param activity The current [Activity](xref:botframework-schema.Activity).
|
40 | */
|
41 | export declare function teamsNotifyUser(activity: Activity, alertInMeeting?: boolean, externalResourceUrl?: string): void;
|
42 | //# sourceMappingURL=teamsActivityHelpers.d.ts.map |
\ | No newline at end of file |