Skip to content

Conversation

gandiddi
Copy link
Contributor

Fixes #minor

Description

Porting changes from microsoft/botbuilder-dotnet#6655 to maintain parity with microsoft/botbuilder-dotnet.

This PR implements the new Teams batch APIs in TeamsOperations.

  • Send message to a list of users
  • Send message to all users in a tenant
  • Send message to all users in a team
  • Send message to a list of channels
  • Get Operation State
  • Get failed entries paginated
  • Cancel Operation

Specific Changes

  • Added batch operations models (BatchFailedEntry, BatchOperationState, BatchFailedEntriesResponse, TeamMember) to handle the operation responses and requests
  • Created RetryAction class to handle the retry logic of the operations
  • Implemented the new methods in TeamsOperations and TeamsInfo
  • Added unit test to cover the new methods.

Testing

The following images shows the related unit test passing.
teamsBatchAPI
image

@gandiddi gandiddi requested a review from a team as a code owner October 22, 2024 13:43
@gandiddi gandiddi requested a review from tracyboehrer October 22, 2024 13:47
@tracyboehrer tracyboehrer requested review from axelsrz and removed request for tracyboehrer March 25, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant