github.com/twilio/twilio-go@v1.20.1/rest/proxy/v1/model_proxy_v1_message_interaction.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Proxy 8 * This is the public Twilio REST API. 9 * 10 * NOTE: This class is auto generated by OpenAPI Generator. 11 * https://openapi-generator.tech 12 * Do not edit the class manually. 13 */ 14 15 package openapi 16 17 import ( 18 "time" 19 ) 20 21 // ProxyV1MessageInteraction struct for ProxyV1MessageInteraction 22 type ProxyV1MessageInteraction struct { 23 // The unique string that we created to identify the MessageInteraction resource. 24 Sid *string `json:"sid,omitempty"` 25 // The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) resource. 26 SessionSid *string `json:"session_sid,omitempty"` 27 // The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) resource. 28 ServiceSid *string `json:"service_sid,omitempty"` 29 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the MessageInteraction resource. 30 AccountSid *string `json:"account_sid,omitempty"` 31 // A JSON string that includes the message body sent to the participant. (e.g. `{\"body\": \"hello\"}`) 32 Data *string `json:"data,omitempty"` 33 Type *string `json:"type,omitempty"` 34 // The SID of the [Participant](https://www.twilio.com/docs/proxy/api/participant) resource. 35 ParticipantSid *string `json:"participant_sid,omitempty"` 36 // Always empty for created Message Interactions. 37 InboundParticipantSid *string `json:"inbound_participant_sid,omitempty"` 38 // Always empty for created Message Interactions. 39 InboundResourceSid *string `json:"inbound_resource_sid,omitempty"` 40 InboundResourceStatus *string `json:"inbound_resource_status,omitempty"` 41 // Always empty for created Message Interactions. 42 InboundResourceType *string `json:"inbound_resource_type,omitempty"` 43 // Always empty for created Message Interactions. 44 InboundResourceUrl *string `json:"inbound_resource_url,omitempty"` 45 // The SID of the outbound [Participant](https://www.twilio.com/docs/proxy/api/participant) resource. 46 OutboundParticipantSid *string `json:"outbound_participant_sid,omitempty"` 47 // The SID of the outbound [Message](https://www.twilio.com/docs/sms/api/message-resource) resource. 48 OutboundResourceSid *string `json:"outbound_resource_sid,omitempty"` 49 OutboundResourceStatus *string `json:"outbound_resource_status,omitempty"` 50 // The outbound resource type. This value is always `Message`. 51 OutboundResourceType *string `json:"outbound_resource_type,omitempty"` 52 // The URL of the Twilio message resource. 53 OutboundResourceUrl *string `json:"outbound_resource_url,omitempty"` 54 // The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was created. 55 DateCreated *time.Time `json:"date_created,omitempty"` 56 // The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was last updated. 57 DateUpdated *time.Time `json:"date_updated,omitempty"` 58 // The absolute URL of the MessageInteraction resource. 59 Url *string `json:"url,omitempty"` 60 }