Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "0.1.0"
Version is the current version of the SDK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct { StatusCode int `json:"-"` // HTTP status code Type string `json:"type"` // Error type Message string `json:"message"` // Error message Response string `json:"response"` // Raw response body (if parsing failed) }
APIError represents an error returned by the API
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a Textfully API client
type MessageRequest ¶
MessageRequest represents a text message to be sent
type MessageResponse ¶
type MessageResponse struct { ID string `json:"id"` // Unique message ID Status string `json:"status"` // Message status (queued, sent, delivered, failed) CreatedAt time.Time `json:"created_at"` // Timestamp when message was created }
MessageResponse represents the API response for a sent message
Click to show internal directories.
Click to hide internal directories.