Skip to content

port: [#6655] Implementation of Teams batch APIs #4527

Closed
@sw-joelmut

Description

@sw-joelmut

The changes in [#6655] Implementation of Teams batch APIs may need to be ported to maintain parity with microsoft/botbuilder-dotnet.

#minor

Description

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, and BatchOperationState classes in Bot.Schema/Teams to handle the operation response types.
  • Added unit test to cover the new methods.

Testing

These images show some of the new operations working.
image
image

Metadata

Metadata

Assignees

Labels

feature-requestA request for new functionality or an enhancement to an existing one.parityThe issue describes a gap in parity between two or more platforms.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions