line

package
v0.0.0-...-89493d8 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ChatKind return Line chat entity kind name
	ChatKind = "LineChat"

	// UserKind return Line user entity kind name
	UserKind = "LineUser"
)

Variables

This section is empty.

Functions

func WebhookHandler

func WebhookHandler(w http.ResponseWriter, r *http.Request)

WebhookHandler is handler of Line API webhooks

Types

type Chat

type Chat struct {
	*bots.BotChatEntity
	LineUserID int
}

Chat is Line chat entity

type User

type User struct {
	*bots.BotUserEntity
}

User is Line user entity

Jump to

Keyboard shortcuts

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