github.com/twilio/twilio-go@v1.20.1/rest/chat/v2/docs/ChatV2Message.md (about)

     1  # ChatV2Message
     2  
     3  ## Properties
     4  
     5  Name | Type | Description | Notes
     6  ------------ | ------------- | ------------- | -------------
     7  **Sid** | Pointer to **string** | The unique string that we created to identify the Message resource. |
     8  **AccountSid** | Pointer to **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resource. |
     9  **Attributes** | Pointer to **string** | The JSON string that stores application-specific data. If attributes have not been set, `{}` is returned. |
    10  **ServiceSid** | Pointer to **string** | The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) the Message resource is associated with. |
    11  **To** | Pointer to **string** | The SID of the [Channel](https://www.twilio.com/docs/chat/channels) that the message was sent to. |
    12  **ChannelSid** | Pointer to **string** | The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Message resource belongs to. |
    13  **DateCreated** | Pointer to [**time.Time**](time.Time.md) | The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. |
    14  **DateUpdated** | Pointer to [**time.Time**](time.Time.md) | The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. |
    15  **LastUpdatedBy** | Pointer to **string** | The [Identity](https://www.twilio.com/docs/chat/identity) of the User who last updated the Message, if applicable. |
    16  **WasEdited** | Pointer to **bool** | Whether the message has been edited since it was created. |
    17  **From** | Pointer to **string** | The [Identity](https://www.twilio.com/docs/chat/identity) of the message's author. The default value is `system`. |
    18  **Body** | Pointer to **string** | The content of the message. |
    19  **Index** | Pointer to **int** | The index of the message within the [Channel](https://www.twilio.com/docs/chat/channels). Indices may skip numbers, but will always be in order of when the message was received. |
    20  **Type** | Pointer to **string** | The Message type. Can be: `text` or `media`. |
    21  **Media** | Pointer to **interface{}** | An object that describes the Message's media, if the message contains media. The object contains these fields: `content_type` with the MIME type of the media, `filename` with the name of the media, `sid` with the SID of the Media resource, and `size` with the media object's file size in bytes. If the Message has no media, this value is `null`. |
    22  **Url** | Pointer to **string** | The absolute URL of the Message resource. |
    23  
    24  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
    25  
    26