Skip to content

Conversation

@santgr11
Copy link
Contributor

@santgr11 santgr11 commented Jun 22, 2020

Fixes #1156

Description

This pull request adds the linkToMessage property to the MessageActionsPayload Teams model in the BotBuilder-Schema library and tests to assign the properties and read them.

Specific Changes

Added the linkToMessage property in the _models.py and _models_py3.py files for the MessageActionsPayload class.

Also created the Tests folder, with a Teams subfolder, in which we created the test_messages_actions_payload.py file with tests where a MessageActionsPayload is created assigning all the properties and asserting that each one can be read.

Testing

In the next image, you can see how the linkToMessage is being used by the 51.teams-messaging-extensions-action sample from the BotBuilder-Samples repository
image

@axelsrz axelsrz merged commit c45a567 into microsoft:master Jun 23, 2020
@santgr11 santgr11 deleted the southworks/add/linkToMessage branch July 15, 2020 16:38
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.

Add linkToMessage to the MessageActionsPayload object (Python)

3 participants