linemsgbot

package module
v0.0.0-...-d68c5f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

README

LINEMSGBot

This is Echo Bot using LINE Messaging API on GAE/Go

This program needs the Go SDK for the LINE Messaging API https://github.com/line/line-bot-sdk-go .
To deploy Google App Engine, app.yaml file likes below is needed.

--- app.yaml ---
application: YOURGAEPROJECTNAME
version: 1
runtime: go
api_version: go1

handlers:

  • url: /.*
    script: _go_app

env_variables:
CHANNEL_SECRET: 'YOURSECRET'
CHANNEL_TOKEN: 'YOURTOKEN'
--- app.yaml ---

YOURSECRET is 'Channel Secret' in Basic information of LINE Developers.
YOURTOKEN is 'Channel Access Token' in Basic information of LINE Developers.
LINE Developers are in LINE BUSINESS CENTER.

This program is branched from https://github.com/line/line-bot-sdk-go/blob/master/examples/echo_bot/server.go
Thanks.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL