linebot

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidSignature

func IsInvalidSignature(err error) bool

Types

type LineBot

type LineBot struct {
	Client        *origin.Client
	DefaultRoomID string
	Events        []*origin.Event
}

func New

func New() (*LineBot, error)

func (*LineBot) TextMessage

func (bot *LineBot) TextMessage(msg string) error

func (*LineBot) TextMessageWithRoomID

func (bot *LineBot) TextMessageWithRoomID(msg string, roomID string) error

func (*LineBot) TextMessageWithRoomKey

func (bot *LineBot) TextMessageWithRoomKey(msg string, roomKey string) error

func (*LineBot) TextReply

func (bot *LineBot) TextReply(msg string, replyToken string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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