/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import * as msRest from '@azure/ms-rest-js'; import * as Models from '../models'; import { TeamsConnectorClientContext } from '../'; import { ConversationList, TeamDetails, TeamsMeetingInfo, TeamsMeetingParticipant, TeamsMeetingNotificationRecipientFailureInfos, TeamsMeetingNotification } from '../../schema'; /** Class representing a Teams. */ export declare class Teams { private readonly client; /** * Create a Teams. * * @param {TeamsConnectorClientContext} client Reference to the service client. */ constructor(client: TeamsConnectorClientContext); /** * Fetches channel list for a given team. * * @param teamId Team Id. * @param options Optional. The options object to be used in every request. * @returns A `Promise`. */ fetchChannelList(teamId: string, options?: msRest.RequestOptionsBase): Promise; /** * Fetches channel list for a given team. * * @param teamId Team Id. * @param callback The callback. */ fetchChannelList(teamId: string, callback: msRest.ServiceCallback): void; /** * Fetches channel list for a given team. * * @param teamId Team Id. * @param options The options object to be used in every request. * @param callback The callback. */ fetchChannelList(teamId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Fetches details related to a team. * * @param teamId Team Id. * @param options Optional. The options object to be used in every request. * @returns A `Promise`. */ fetchTeamDetails(teamId: string, options?: msRest.RequestOptionsBase): Promise; /** * Fetches details related to a team. * * @param teamId Team Id. * @param callback The callback. */ fetchTeamDetails(teamId: string, callback: msRest.ServiceCallback): void; /** * Fetches details related to a team. * * @param teamId Team Id. * @param options The options object to be used in every request. * @param callback The callback. */ fetchTeamDetails(teamId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Fetch a meeting participant * * @summary Fetches a meeting participant * @param meetingId Meeting Id * @param participantId Participant Id * @param [options] The optional parameters * @returns Promise */ fetchMeetingParticipant(meetingId: string, participantId: string, options?: Models.TeamsFetchMeetingParticipantOptionalParams): Promise; /** * @param meetingId Meeting Id * @param participantId Participant Id * @param callback The callback */ fetchMeetingParticipant(meetingId: string, participantId: string, callback: msRest.ServiceCallback): void; /** * @param meetingId Meeting Id * @param participantId Participant Id * @param options The optional parameters * @param callback The callback */ fetchMeetingParticipant(meetingId: string, participantId: string, options: Models.TeamsFetchMeetingParticipantOptionalParams, callback: msRest.ServiceCallback): void; /** * Fetch meeting information. * * @summary Fetches information of a Teams meeting. * @param meetingId Meeting Id, encoded as a BASE64 string. * @param [options] The optional parameters * @returns Promise */ fetchMeetingInfo(meetingId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback): Promise; /** * @param meetingId Meeting Id, encoded as a BASE64 string. * @param callback The callback */ fetchMeetingInfo(meetingId: string, callback: msRest.ServiceCallback): void; /** * @param meetingId Meeting Id, encoded as a BASE64 string. * @param options The optional parameters * @param callback The callback */ fetchMeetingInfo(meetingId: string, options: msRest.RequestOptionsBase | msRest.ServiceCallback, callback: msRest.ServiceCallback): void; /** * Send meeting notification. * * @param meetingId Meeting Id. * @param notification The content and configuration for the notification to send. * @param options The optional parameters. */ sendMeetingNotification(meetingId: string, notification: TeamsMeetingNotification, options?: msRest.RequestOptionsBase): Promise; /** * @param meetingId Meeting Id. * @param notification The content and configuration for the notification to send. * @param callback The callback. */ sendMeetingNotification(meetingId: string, notification: TeamsMeetingNotification, callback: msRest.ServiceCallback): void; /** * @param meetingId Meeting Id. * @param notification The content and configuration for the notification to send. * @param options The optional parameters. * @param callback The callback. */ sendMeetingNotification(meetingId: string, notification: TeamsMeetingNotification, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; } //# sourceMappingURL=teams.d.ts.map