예제 #1
0
 /// <inheritdoc/>
 public async Task <Team> GetTeamAsync(string teamId)
 => await TeamsClient.GetResultAsync <Team>($"{WxTeamsConstants.TeamsUrl}/{teamId}");
예제 #2
0
 /// <inheritdoc/>
 public async Task <Role> GetRoleAsync(string roleId)
 => await TeamsClient.GetResultAsync <Role>($"{WxTeamsConstants.RolesUrl}/{roleId}");
예제 #3
0
 /// <inheritdoc/>
 public async Task <Event> GetEventAsync(string eventId)
 => await TeamsClient.GetResultAsync <Event>($"{WxTeamsConstants.EventsUrl}/{eventId}");
예제 #4
0
 /// <inheritdoc/>
 public async Task <TeamMembership> GetTeamMembership(string membershipId)
 => await TeamsClient.GetResultAsync <TeamMembership>($"{WxTeamsConstants.TeamMembershipsUrl}/{membershipId}");
예제 #5
0
 /// <inheritdoc/>
 public async Task <ResourceGroupMembership> GetResourceGroupMembershipAsync(string resourceGroupMembershipId)
 => await TeamsClient.GetResultAsync <ResourceGroupMembership>($"{WxTeamsConstants.ResourceMembershipsUrl}/{resourceGroupMembershipId}");
예제 #6
0
 /// <inheritdoc/>
 public async Task <Organization> GetOrganizationAsync(string organizationId)
 => await TeamsClient.GetResultAsync <Organization>($"{WxTeamsConstants.OrganizationsUrl}/{organizationId}");
예제 #7
0
 /// <inheritdoc/>
 public async Task <Person> GetMyUserDetails()
 => await TeamsClient.GetResultAsync <Person>($"{WxTeamsConstants.PeopleUrl}/me");
예제 #8
0
 /// <inheritdoc/>
 public async Task <Person> GetUserAsync(string userId)
 => await TeamsClient.GetResultAsync <Person>($"{WxTeamsConstants.PeopleUrl}/{userId}");
예제 #9
0
 /// <inheritdoc/>
 public async Task <Webhook> GetWebhookAsync(string webhookId)
 => await TeamsClient.GetResultAsync <Webhook>($"{WxTeamsConstants.WebhooksUrl}/{webhookId}");
예제 #10
0
 /// <inheritdoc/>
 public async Task <License> GetLicenseAsync(string licenseId)
 => await TeamsClient.GetResultAsync <License>($"{WxTeamsConstants.LicensesUrl}/{licenseId}");
예제 #11
0
 /// <inheritdoc/>
 public async Task <Message> GetMessageAsync(string messageId)
 => await TeamsClient.GetResultAsync <Message>($"{WxTeamsConstants.MessagesUrl}/{messageId}");
예제 #12
0
 /// <inheritdoc/>
 public async Task <MeetingDetails> GetMeetingDetailsAsync(string roomId)
 => await TeamsClient.GetResultAsync <MeetingDetails>($"{WxTeamsConstants.RoomsUrl}/{roomId}/meetingInfo");
예제 #13
0
 /// <inheritdoc/>
 public async Task <Room> GetRoomAsync(string roomId)
 => await TeamsClient.GetResultAsync <Room>($"{WxTeamsConstants.RoomsUrl}/{roomId}");