Documentation ¶
Overview ¶
Package message_interactions contains auto-generated files. DO NOT MODIFY
Package message_interactions 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 message interaction resources See https://www.twilio.com/docs/proxy/api/sending-messages for more details
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the message interactions client
func (Client) Create ¶
func (c Client) Create(input *CreateMessageInteractionInput) (*CreateMessageInteractionResponse, error)
Create creates a new message interaction See https://www.twilio.com/docs/proxy/api/sending-messages#create-a-messageinteraction-resource for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) CreateWithContext ¶
func (c Client) CreateWithContext(context context.Context, input *CreateMessageInteractionInput) (*CreateMessageInteractionResponse, error)
CreateWithContext creates a new message interaction See https://www.twilio.com/docs/proxy/api/sending-messages#create-a-messageinteraction-resource for more details
type ClientProperties ¶
ClientProperties are the properties required to manage the message interactions resources
type CreateMessageInteractionInput ¶
type CreateMessageInteractionInput struct { Body *string `form:"Body,omitempty"` MediaURL *string `form:"MediaUrl,omitempty"` }
CreateMessageInteractionInput defines the input fields for creating a new message interaction resource
type CreateMessageInteractionResponse ¶
type CreateMessageInteractionResponse struct { AccountSid string `json:"account_sid"` Data *string `json:"data,omitempty"` DateCreated time.Time `json:"date_created"` DateUpdated *time.Time `json:"date_updated,omitempty"` InboundParticipantSid *string `json:"inbound_participant_sid,omitempty"` InboundResourceSid *string `json:"inbound_resource_sid,omitempty"` InboundResourceStatus *string `json:"inbound_resource_status,omitempty"` InboundResourceType *string `json:"inbound_resource_type,omitempty"` InboundResourceURL *string `json:"inbound_resource_url,omitempty"` OutboundParticipantSid *string `json:"outbound_participant_sid,omitempty"` OutboundResourceSid *string `json:"outbound_resource_sid,omitempty"` OutboundResourceStatus *string `json:"outbound_resource_status,omitempty"` OutboundResourceType *string `json:"outbound_resource_type,omitempty"` OutboundResourceURL *string `json:"outbound_resource_url,omitempty"` ParticipantSid string `json:"participant_sid"` ServiceSid string `json:"service_sid"` SessionSid string `json:"session_sid"` Sid string `json:"sid"` Type *string `json:"type,omitempty"` URL string `json:"url"` }
CreateMessageInteractionResponse defines the response fields for the created message interaction