rveachkc / pymsteams

Format messages and post to Microsoft Teams.
https://pypi.org/project/pymsteams/
Apache License 2.0
423 stars 78 forks source link

HttpPOST action body parameter ? #44

Closed jjh74 closed 5 years ago

jjh74 commented 5 years ago

Hello,

I can't find a way to add "body" parameter to (HttpPOST) potential actions (https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference#httppost-action). I made a small patch for this (https://github.com/jjh74/pymsteams/tree/action_body) if this seems reasonable I can create a PR for this. (Perhaps "headers" and "bodyContentType" should/could be exposed, but for my purposes "body" is enough).

rveachkc commented 5 years ago

Would you mind making a pull request with both changes into the develop branch?

It would be easiest for me to review if each change were it's own commit if possible.

jjh74 commented 5 years ago

Thanks, I'll create a PR with separate commits. It'll be couple of days before I'll have time to do this. I'll close these issues for now.