microsft_teams_message_card plugin
Getting Started
This project is a fastlane plugin. To get started with fastlane-plugin-microsft_teams_message_card
, add it to your project by running:
fastlane add_plugin microsft_teams_message_card
About microsft_teams_message_card
Send a message card to your Microsoft teams channel
Note to author: Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
Example
microsft_teams_message_card(
title: "test title",
summary: "test summary",
text: "test text",
activity_title: "test activity_title",
activity_subtitle: Time.now.strftime("%d/%m/%Y %H:%M"),
activity_image: "test activity_image (must be start with https)",
theme_color: 8e8e93,
facts:[
{
"name"=>"Platform",
"value"=> ios
}
],
potential_action:[
{
"@type": "OpenUri",
"name": "View in TEST",
"targets": [
{
"os": "default",
"uri": "https://github.com/cheignon/fastlane-plugin-microsft_teams_message_card/edit/main/README.md"
}
]
},
...
],
teams_url: "https://outlook.office.com/webhook/..."
)
for type in the array of potential_action field don't forget to add "@type" else doesn't work
Run tests for this plugin
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
Issues and Feedback
For any other issues and feedback about this plugin, please submit it to this repository.
Troubleshooting
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
Using fastlane Plugins
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
About fastlane
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.