Closed
Description
The changes in [#6655] Implementation of Teams batch APIs may need to be ported to maintain parity with microsoft/botbuilder-dotnet.
#minorDescription
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
- Implemented the new methods in TeamsOperations, TeamsOperationsExtensions, and TeamsInfo.
- Created
Microsoft.Bot.Connector/RetryAction
class to handle the retry logic of the operations.- Added
BatchFailedEntriesResponse
,BatchFailedEntry
, andBatchOperationState
classes in Bot.Schema/Teams to handle the operation response types.- Added unit test to cover the new methods.
Testing