Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Line ¶
type Line struct {
// contains filtered or unexported fields
}
Line struct holds info about client and destination ID for communicating with line API.
func New ¶
New creates a new instance of Line notifier service For more info about line api credential: -> https://github.com/line/line-bot-sdk-go
func (*Line) AddReceivers ¶
AddReceivers receives user, group or room IDs then add them to internal receivers list.
type Notify ¶ added in v0.18.0
type Notify struct {
// contains filtered or unexported fields
}
Line Notify struct holds info about client and destination token for communicating with line API.
func NewNotify ¶ added in v0.18.0
func NewNotify() *Notify
New creates a new instance of Line notify service For more info about line notify api: -> https://notify-bot.line.me/doc/en/
func (*Notify) AddReceivers ¶ added in v0.18.0
AddReceivers receives token then add them to internal receivers list.
Click to show internal directories.
Click to hide internal directories.