message_interactions

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

This is an autogenerated file. DO NOT MODIFY

This is an autogenerated file. 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

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

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

type ClientProperties struct {
	ParticipantSid string
	ServiceSid     string
	SessionSid     string
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL