google_chat_message plugin
Getting Started
This project is a fastlane plugin. To get started with fastlane-plugin-google_chat_message
, add it to your project by running:
fastlane add_plugin google_chat_message
About google_chat_message
Send simple text messages to Google Chat
-
Including links in message text
To provide alternate link text for your link, use the following syntax:
<https://example.com/foo|my link text>
Example:
send_text = "Hey click \n<https://jenkins.io/|my link text> 🌐!"
Rendering Message:
Hey click my link text 🌐!
-
Messages that @mention specific users
A bot can @mention a user in a message, providing the user ID in the following syntax:
<users/USER_ID>
Example:
send_text = "Hey <users/123456789012345678901> go 🏄♂️!"
Rendering Message:
Hey @Josh go 🏄♂️!
-
Using formatted text in messages
Basic formatting to the message text, including bold, italic, and strikethrough
Example
Check out the example Fastfile
to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins
and bundle exec fastlane test
.
send_text = "Thank you for using Google Chat Message! 🎉"
google_chat_message(
text: send_text,
webhook: 'http:// webhook'
)
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.