Documentation ¶
Index ¶
Constants ¶
View Source
const (
LINE_NOTIFY_URL string = "https://notify-api.line.me/api/notify"
)
Variables ¶
This section is empty.
Functions ¶
func LineNotificationOff ¶
func LineNotificationOff()
func LineNotificationOn ¶
func LineNotificationOn()
Types ¶
type LineNotifyToken ¶
func NewNotifyClient ¶
func NewNotifyClient(token string) *LineNotifyToken
func NewNotifyClientWithTag ¶
func NewNotifyClientWithTag(token, tag string) *LineNotifyToken
func (*LineNotifyToken) SendImageFile ¶
func (t *LineNotifyToken) SendImageFile(msg, imgpath string) error
func (*LineNotifyToken) SendImageUrl ¶
func (t *LineNotifyToken) SendImageUrl(msg, imgurl, thumbUrl string) error
func (*LineNotifyToken) SendMessage ¶
func (t *LineNotifyToken) SendMessage(msg string) error
func (*LineNotifyToken) SendSticker ¶
func (t *LineNotifyToken) SendSticker(msg string, packageId, id int32) error
Click to show internal directories.
Click to hide internal directories.