Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 787 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 787 Bytes

LINE Bot

This LINE bot just do message forwarding from LINE room/group to Telegram.

webhook

  • /l2tg - line2telegram: forward text message from LINE group/room to Telegram chat

change log

  • r0.02 add the feature to forward posted image.
  • r0.01 forward text message.

Requirement

.env file

require to define system variables ie. Token, API key,

LINE_TOKEN=
TG_TOKEN=
TG_CHANNEL=
SKIP_USER_ID=

host at Heroku

  • create an apps on Heroku
  • define all variables if you do not use .env file.
  • upload code to Heroku.