This project is a fastlane plugin. To get started with fastlane-plugin-line_message
, add it to your project by running:
fastlane add_plugin line_message
Use to send message to Line chat
Note to author: Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
line_message(
api_token: ENV["LINE_MESSAGE_API_TOKEN"],
to: ENV["LINE_MESSAGE_TARGET"],
messages: [{
"type": "text",
"text": "test ๆ"
}, {
"type": "sticker",
"packageId": "1",
"stickerId": "1"
}]
)
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
.
- Post message to https://api.line.me/v2/bot/message/push
- Read more for Line api's documents at https://developers.line.biz
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.