Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Notify(token, message, imageThumbnail, imageFullsize string, image io.Reader) (*NotifyResponse, error)
- func (c *Client) NotifyWithImage(token, message string, image io.Reader) (*NotifyResponse, error)
- func (c *Client) NotifyWithImageURL(token, message, imageThumbnail, imageFullsize string) (*NotifyResponse, error)
- type NotifyResponse
- type RateLimit
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotifyInvalidAccessToken = errors.New("Invalid access token")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client calls LINE Notify API. refs https://notify-bot.line.me/doc/
func (*Client) NotifyWithImage ¶
func (*Client) NotifyWithImageURL ¶
func (c *Client) NotifyWithImageURL(token, message, imageThumbnail, imageFullsize string) (*NotifyResponse, error)
type NotifyResponse ¶
type NotifyResponse struct { Status int `json:"status"` Message string `json:"message"` RateLimit RateLimit }
NotifyResponse
Click to show internal directories.
Click to hide internal directories.