Closed RonZhang724 closed 4 years ago
Looking at the OpenUri Action, it looks like you might need to define targets in your code: https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference#openuri-action
It looks like this would be done in your myTeamsPotentialAction3.addAction call. Relevant source: https://github.com/rveachkc/pymsteams/blob/master/pymsteams/__init__.py#L105
I know this is 3 years late but as this is the first google result : You can use this method to have the button appears with OpenUri working : ` action = pymsteams.potentialaction(_name="Open Webpage")
action.addOpenURI("Open Web page",[{"os": "default", "uri":"https://www.google.be"}]) `
I was trying to add a potential action to open an URL. However, after running the following code snippet:
The OpenUri action does not show up (the other two actions showed up fine). What might be the cause?