The Microsoft Bot Framework provides what you need to build and connect intelligent bots that interact naturally wherever your users are talking, from text/sms to Skype, Slack, Office 365 mail and other popular services.
This PR implements the new Teams batch APIs in TeamsOperations.
[x] Send message to a list of users
[x] Send message to all users in a tenant
[x] Send message to all users in a team
[x] Send message to a list of channels
[x] Get Operation State
[x] Get failed entries paginated
[x] 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.
Fixes #minor
Description
Porting changes from https://github.com/microsoft/botbuilder-dotnet/pull/6655 to maintain parity with
microsoft/botbuilder-dotnet
.This PR implements the new Teams batch APIs in TeamsOperations.
Specific Changes
BatchFailedEntry
,BatchOperationState
,BatchFailedEntriesResponse
,TeamMember
) to handle the operation responses and requestsRetryAction
class to handle the retry logic of the operationsTeamsOperations
andTeamsInfo
Testing
The following images shows the related unit test passing.