Versions in this module Expand all Collapse all v9 v9.1.1 Oct 21, 2022 v9.1.0 Jul 12, 2022 v9.0.0 Jul 6, 2022 Changes in this version + const ClientVersion + const Endpoint + var DefaultPagination = &PaginationRequest + var ErrUnexpectedResponse = errors.New("the MessageBird API is currently unavailable") + func SetErrorReader(r errorReader) + type Client interface + Request func(v interface{}, method, path string, data interface{}) error + type DefaultClient struct + AccessKey string + DebugLog *log.Logger + HTTPClient *http.Client + func New(accessKey string) *DefaultClient + func (c *DefaultClient) Request(v interface{}, method, path string, data interface{}) error + type Error struct + Code int + Description string + Parameter string + func (e Error) Error() string + type ErrorResponse struct + Errors []Error + func (r ErrorResponse) Error() string + type Feature int + type PaginationRequest struct + Limit int + Offset int + func (cpr *PaginationRequest) QueryParams() string + type Price struct + Amount int + Currency string + type Recipient struct + Mcc *string + Mccmnc *string + MessageLength *int + MessagePartCount int + Mnc *string + Price *Price + Recipient int64 + RecipientCountry *string + RecipientCountryPrefix *int + RecipientOperator *string + Status string + StatusDatetime *time.Time + StatusErrorCode *int + StatusReason *string + type Recipients struct + Items []Recipient + TotalCount int + TotalDeliveredCount int + TotalDeliveryFailedCount int + TotalSentCount int Other modules containing this package github.com/messagebird/go-rest-api github.com/messagebird/go-rest-api/v6 github.com/messagebird/go-rest-api/v7 github.com/messagebird/go-rest-api/v8