Teams class

Class representing a Teams.

Constructors

Teams(TeamsConnectorClientContext)

Create a Teams.

Methods

fetchChannelList(string, RequestOptionsBase)

Fetches channel list for a given team.

fetchChannelList(string, RequestOptionsBase, ServiceCallback<ConversationList>)

Fetches channel list for a given team.

fetchChannelList(string, ServiceCallback<ConversationList>)

Fetches channel list for a given team.

fetchMeetingInfo(string, RequestOptionsBase | ServiceCallback<TeamDetails>)

Fetch meeting information.

fetchMeetingInfo(string, RequestOptionsBase | ServiceCallback<TeamDetails>, ServiceCallback<TeamsMeetingInfo>)
fetchMeetingInfo(string, ServiceCallback<TeamsMeetingInfo>)
fetchMeetingParticipant(string, string, ServiceCallback<TeamsMeetingParticipant>)
fetchMeetingParticipant(string, string, TeamsFetchMeetingParticipantOptionalParams)

Fetch a meeting participant

fetchMeetingParticipant(string, string, TeamsFetchMeetingParticipantOptionalParams, ServiceCallback<TeamsMeetingParticipant>)
fetchTeamDetails(string, RequestOptionsBase)

Fetches details related to a team.

fetchTeamDetails(string, RequestOptionsBase, ServiceCallback<TeamDetails>)

Fetches details related to a team.

fetchTeamDetails(string, ServiceCallback<TeamDetails>)

Fetches details related to a team.

Constructor Details

Teams(TeamsConnectorClientContext)

Create a Teams.

new Teams(client: TeamsConnectorClientContext)

Parameters

client
TeamsConnectorClientContext

Reference to the service client.

Method Details

fetchChannelList(string, RequestOptionsBase)

Fetches channel list for a given team.

function fetchChannelList(teamId: string, options?: RequestOptionsBase): Promise<Models.TeamsFetchChannelListResponse>

Parameters

teamId

string

Team Id.

options

RequestOptionsBase

Optional. The options object to be used in every request.

Returns

Promise<Models.TeamsFetchChannelListResponse>

A Promise<Models.TeamsFetchChannelListResponse>.

fetchChannelList(string, RequestOptionsBase, ServiceCallback<ConversationList>)

Fetches channel list for a given team.

function fetchChannelList(teamId: string, options: RequestOptionsBase, callback: ServiceCallback<ConversationList>)

Parameters

teamId

string

Team Id.

options

RequestOptionsBase

The options object to be used in every request.

callback

ServiceCallback<ConversationList>

The callback.

fetchChannelList(string, ServiceCallback<ConversationList>)

Fetches channel list for a given team.

function fetchChannelList(teamId: string, callback: ServiceCallback<ConversationList>)

Parameters

teamId

string

Team Id.

callback

ServiceCallback<ConversationList>

The callback.

fetchMeetingInfo(string, RequestOptionsBase | ServiceCallback<TeamDetails>)

Fetch meeting information.

function fetchMeetingInfo(meetingId: string, options?: RequestOptionsBase | ServiceCallback<TeamDetails>): Promise<Models.TeamsMeetingInfoResponse>

Parameters

meetingId

string

Meeting Id, encoded as a BASE64 string.

options

RequestOptionsBase | ServiceCallback<TeamDetails>

Returns

Promise<Models.TeamsMeetingInfoResponse>

Promise<Models.TeamsFetchMeetingInfoResponse>

fetchMeetingInfo(string, RequestOptionsBase | ServiceCallback<TeamDetails>, ServiceCallback<TeamsMeetingInfo>)

function fetchMeetingInfo(meetingId: string, options: RequestOptionsBase | ServiceCallback<TeamDetails>, callback: ServiceCallback<TeamsMeetingInfo>)

Parameters

meetingId

string

Meeting Id, encoded as a BASE64 string.

options

RequestOptionsBase | ServiceCallback<TeamDetails>

The optional parameters

callback

ServiceCallback<TeamsMeetingInfo>

The callback

fetchMeetingInfo(string, ServiceCallback<TeamsMeetingInfo>)

function fetchMeetingInfo(meetingId: string, callback: ServiceCallback<TeamsMeetingInfo>)

Parameters

meetingId

string

Meeting Id, encoded as a BASE64 string.

callback

ServiceCallback<TeamsMeetingInfo>

The callback

fetchMeetingParticipant(string, string, ServiceCallback<TeamsMeetingParticipant>)

function fetchMeetingParticipant(meetingId: string, participantId: string, callback: ServiceCallback<TeamsMeetingParticipant>)

Parameters

meetingId

string

Meeting Id

participantId

string

Participant Id

callback

ServiceCallback<TeamsMeetingParticipant>

The callback

fetchMeetingParticipant(string, string, TeamsFetchMeetingParticipantOptionalParams)

Fetch a meeting participant

function fetchMeetingParticipant(meetingId: string, participantId: string, options?: TeamsFetchMeetingParticipantOptionalParams): Promise<Models.TeamsFetchMeetingParticipantResponse>

Parameters

meetingId

string

Meeting Id

participantId

string

Participant Id

Returns

Promise<Models.TeamsFetchMeetingParticipantResponse>

Promise<Models.TeamsFetchMeetingParticipantResponse>

fetchMeetingParticipant(string, string, TeamsFetchMeetingParticipantOptionalParams, ServiceCallback<TeamsMeetingParticipant>)

function fetchMeetingParticipant(meetingId: string, participantId: string, options: TeamsFetchMeetingParticipantOptionalParams, callback: ServiceCallback<TeamsMeetingParticipant>)

Parameters

meetingId

string

Meeting Id

participantId

string

Participant Id

options
TeamsFetchMeetingParticipantOptionalParams

The optional parameters

callback

ServiceCallback<TeamsMeetingParticipant>

The callback

fetchTeamDetails(string, RequestOptionsBase)

Fetches details related to a team.

function fetchTeamDetails(teamId: string, options?: RequestOptionsBase): Promise<Models.TeamsFetchTeamDetailsResponse>

Parameters

teamId

string

Team Id.

options

RequestOptionsBase

Optional. The options object to be used in every request.

Returns

Promise<Models.TeamsFetchTeamDetailsResponse>

A Promise<Models.TeamsFetchTeamDetailsResponse>.

fetchTeamDetails(string, RequestOptionsBase, ServiceCallback<TeamDetails>)

Fetches details related to a team.

function fetchTeamDetails(teamId: string, options: RequestOptionsBase, callback: ServiceCallback<TeamDetails>)

Parameters

teamId

string

Team Id.

options

RequestOptionsBase

The options object to be used in every request.

callback

ServiceCallback<TeamDetails>

The callback.

fetchTeamDetails(string, ServiceCallback<TeamDetails>)

Fetches details related to a team.

function fetchTeamDetails(teamId: string, callback: ServiceCallback<TeamDetails>)

Parameters

teamId

string

Team Id.

callback

ServiceCallback<TeamDetails>

The callback.