github.com/twilio/twilio-go@v1.20.1/rest/conversations/v1/model_conversations_v1_service_participant_conversation.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Conversations 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 // ConversationsV1ServiceParticipantConversation struct for ConversationsV1ServiceParticipantConversation 22 type ConversationsV1ServiceParticipantConversation struct { 23 // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. 24 AccountSid *string `json:"account_sid,omitempty"` 25 // The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. 26 ChatServiceSid *string `json:"chat_service_sid,omitempty"` 27 // The unique ID of the [Participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource). 28 ParticipantSid *string `json:"participant_sid,omitempty"` 29 // The unique string that identifies the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). 30 ParticipantUserSid *string `json:"participant_user_sid,omitempty"` 31 // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters. 32 ParticipantIdentity *string `json:"participant_identity,omitempty"` 33 // Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant. 34 ParticipantMessagingBinding *interface{} `json:"participant_messaging_binding,omitempty"` 35 // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) this Participant belongs to. 36 ConversationSid *string `json:"conversation_sid,omitempty"` 37 // An application-defined string that uniquely identifies the Conversation resource. 38 ConversationUniqueName *string `json:"conversation_unique_name,omitempty"` 39 // The human-readable name of this conversation, limited to 256 characters. Optional. 40 ConversationFriendlyName *string `json:"conversation_friendly_name,omitempty"` 41 // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned. 42 ConversationAttributes *string `json:"conversation_attributes,omitempty"` 43 // The date that this conversation was created, given in ISO 8601 format. 44 ConversationDateCreated *time.Time `json:"conversation_date_created,omitempty"` 45 // The date that this conversation was last updated, given in ISO 8601 format. 46 ConversationDateUpdated *time.Time `json:"conversation_date_updated,omitempty"` 47 // Identity of the creator of this Conversation. 48 ConversationCreatedBy *string `json:"conversation_created_by,omitempty"` 49 ConversationState *string `json:"conversation_state,omitempty"` 50 // Timer date values representing state update for this conversation. 51 ConversationTimers *interface{} `json:"conversation_timers,omitempty"` 52 // Contains absolute URLs to access the [participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) and [conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) of this conversation. 53 Links *map[string]interface{} `json:"links,omitempty"` 54 }