Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [#4154] teamsNotifyUser does not accept messages returned from MessageFactory #4166

Merged
merged 2 commits into from
Mar 23, 2022

Conversation

ceciliaavila
Copy link
Collaborator

Fixes #4154

Description

This PR updates the teamsNotifyUser method in teamsActivityHelper class to receive a Partial instead of an Activity enabling to call it using a MessageFactory.
This method only uses the Activity's ChannelData which is not a required property.

Specific Changes

  • Updated teamsNotifyUser method to receive a Partial as parameter.
  • Updated the method signature in botbuilder.api.md documentation.

Testing

These images show a Teams bot sending a notification to the user.
image

@ceciliaavila ceciliaavila requested a review from a team as a code owner March 18, 2022 19:06
@coveralls
Copy link

coveralls commented Mar 18, 2022

Pull Request Test Coverage Report for Build 2019048985

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.003%) to 84.473%

Totals Coverage Status
Change from base Build 2019042485: -0.003%
Covered Lines: 19731
Relevant Lines: 22123

💛 - Coveralls

@gabog
Copy link
Contributor

gabog commented Mar 21, 2022

Hi @EricDahlvang, can you please take a look at this PR?

Thanks

@EricDahlvang EricDahlvang merged commit aaf2c96 into main Mar 23, 2022
@EricDahlvang EricDahlvang deleted the southworks/update/teams-notify-user-param branch March 23, 2022 16:12
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.

teamsNotifyUser does not accept messages returned from MessageFactory.
4 participants