github.com/twilio/twilio-go@v1.20.1/rest/conversations/v1/model_conversations_v1_service_conversation_message_receipt.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  // ConversationsV1ServiceConversationMessageReceipt struct for ConversationsV1ServiceConversationMessageReceipt
    22  type ConversationsV1ServiceConversationMessageReceipt struct {
    23  	// The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this participant.
    24  	AccountSid *string `json:"account_sid,omitempty"`
    25  	// The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Message resource is associated with.
    26  	ChatServiceSid *string `json:"chat_service_sid,omitempty"`
    27  	// The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this message.
    28  	ConversationSid *string `json:"conversation_sid,omitempty"`
    29  	// The SID of the message within a [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) the delivery receipt belongs to
    30  	MessageSid *string `json:"message_sid,omitempty"`
    31  	// A 34 character string that uniquely identifies this resource.
    32  	Sid *string `json:"sid,omitempty"`
    33  	// A messaging channel-specific identifier for the message delivered to participant e.g. `SMxx` for SMS, `WAxx` for Whatsapp etc.
    34  	ChannelMessageSid *string `json:"channel_message_sid,omitempty"`
    35  	// The unique ID of the participant the delivery receipt belongs to.
    36  	ParticipantSid *string `json:"participant_sid,omitempty"`
    37  	Status         *string `json:"status,omitempty"`
    38  	// The message [delivery error code](https://www.twilio.com/docs/sms/api/message-resource#delivery-related-errors) for a `failed` status,
    39  	ErrorCode *int `json:"error_code,omitempty"`
    40  	// The date that this resource was created.
    41  	DateCreated *time.Time `json:"date_created,omitempty"`
    42  	// The date that this resource was last updated. `null` if the delivery receipt has not been updated.
    43  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    44  	// An absolute API resource URL for this delivery receipt.
    45  	Url *string `json:"url,omitempty"`
    46  }