Skip to content

ippanpeople/Fully-automatic-LINE-commercial-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fully automatic LINE commercial robot

About this project

  • Webhook Event Objects
MessageEvent(訊息)
type
mode
timestamp
source:Source
reply_token
message:Message
FollowEvent(加入, 解除封鎖)
type
mode
timestamp
source:Source
reply_token
UnfollowEvent(封鎖)
type
mode
timestamp
source:Source
  • types of messages:
    • text (used)
    • sticker (used)
    • image (used)
    • video
    • audio
    • location (used)
    • imagemap (<3)
    • template (<3)
    • flex (excellent)

Detail

- app.py : main program
- line_bot_api.py : related modules

How to use

  1. use Dockerfile build env image
docker build -t rakunabe .
  1. create project file
mkdir app.py
  1. use line-bot-sdk supply code to build basic flask server
  1. run your project in the container
docker run --name rakunabe -p 5002:5002 --restart=always -v /root/Fully-automatic-LINE-commercial-robot:/app -d rakunabe
  1. check container normal executed or not
docker container ps | grep rakunabe
docker logs rakunabe

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published