This application is a LINE BOT written in Kotlin running on AWS Lambda, and used Serverless Framework
And based on moritalous/linebot-serverless-blueprint-java.
Response Echo Message
You can receive same message what you said.
ex) you said:'Hello.', bot said:'Hello.'
Send Push Message
By default, you can receive "Hello World!!" message at 00:00(GMT) on weekdays.
If you want to change theses setting, edit below content.
push: events: - schedule: rate: cron(0 0 ? * MON-FRI *) input: message: 'Hello World!!'
Create config files
# for development $ cp ./config/dev/environment.sample.yml ./config/dev/environment.yml # for production $ cp ./config/prod/environment.sample.yml ./config/prod/environment.yml
Set your keys in above files
CHANNEL_SECRET: FOO CHANNEL_ACCESS_TOKEN: BAR USER_ID: BAZ TABLE_NAME: QUX
You must to definish different
TABLE_NAME value between
Deploy on your AWS!!
$ npm run deploy