Versions in this module Expand all Collapse all v0 v0.1.0 Jun 16, 2020 Changes in this version + var ErrParse = fmt.Errorf("sendblue: failed to parse phone number") + type Client struct + APIKey string + Client *http.Client + SecretKey string + func NewCustomClient(client *http.Client, api, secret string) *Client + func NewDefaultClient(api, secret string) *Client + func (c *Client) SendMessage(to, body string) (string, error) + type Message struct + Content string + Number string + func ReadWebhook(r io.ReadCloser) (*Message, error) + type MessageResponse struct + ErrorCode string + FromNumber string + MessageHandle string + Status string