LINE messaging webhook adapter for Lita
Add lita-line to your Lita instance's Gemfile:
gem "lita-line"
Use line adapter in lita_config.rb
config.robot.adapter = :line
config.adapters.line.channel_secret = ENV["LINE_CHANNEL_SECRET"]
config.adapters.line.channel_token = ENV["LINE_CHANNEL_TOKEN"]
channel_secret
(String): Bot's Channel secretchannel_token
(String): Bot's Channel token
Create a line bot at https://business.line.me/ and get its secret and token in https://developers.line.me
- Deploy your lita app to heroku
- Setting the webhook callback address:
https://{your-lita-app-name}.herokuapp.com/callback
in https://developers.line.me
The API documentation, useful for plugin authors, can be found for the latest gem release on RubyDoc.info
- Lita-line-bot | A simple LINE messaging bot use Lita