Documentation
¶
Overview ¶
Package delivery_receipt contains auto-generated files. DO NOT MODIFY
Package delivery_receipt contains auto-generated files. DO NOT MODIFY
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for managing a specific delivery receipt resource See https://www.twilio.com/docs/conversations/api/receipt-resource for more details
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the delivery receipt client
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchDeliveryReceiptResponse, error)
Fetch retrieves a delivery receipt resource See https://www.twilio.com/docs/conversations/api/receipt-resource#fetch-a-conversationmessagereceipt-resource for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) FetchWithContext ¶
func (c Client) FetchWithContext(context context.Context) (*FetchDeliveryReceiptResponse, error)
FetchWithContext retrieves a delivery receipt resource See https://www.twilio.com/docs/conversations/api/receipt-resource#fetch-a-conversationmessagereceipt-resource for more details
type ClientProperties ¶
ClientProperties are the properties required to manage the delivery receipt resources
type FetchDeliveryReceiptResponse ¶
type FetchDeliveryReceiptResponse struct { AccountSid *string `json:"account_sid,omitempty"` ChannelMessageSid string `json:"channel_message_sid"` ConversationSid string `json:"conversation_sid"` DateCreated time.Time `json:"date_created"` DateUpdated *time.Time `json:"date_updated,omitempty"` ErrorCode *int `json:"error_code,omitempty"` MessageSid string `json:"message_sid"` ParticipantSid string `json:"participant_sid"` Sid string `json:"sid"` Status string `json:"status"` URL string `json:"url"` }
FetchDeliveryReceiptResponse defines the response fields for the retrieved delivery receipt