# `Twilio.Resources.Chat.V1.Service.Channel.Message`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/resources/chat/v1/service/channel/message.ex#L2)

Individual chat messages

SID prefix: `IM`

Parent: `/Services/{ServiceSid}/Channels/{Sid}`

## Properties

| Field | Description |
|-------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `account_sid` | The SID of the [Account](https://www.twilio.com/docs/api/rest/account) that created the Message resource. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `attributes` | The JSON string that stores application-specific data. **Note** If this property has been assigned a value, it's only  displayed in a FETCH action that returns a single resource; otherwise, it's null. If the attributes have not been set, `{}` is returned.. PII: sensitive |
| `body` | The content of the message.. PII: sensitive |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `channel_sid` | The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the Message resource belongs to. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `date_created` | The date and time in GMT when the resource was created specified in [RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.. Format: date-time |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `date_updated` | The date and time in GMT when the resource was last updated specified in [RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.. Format: date-time |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `from` | The [identity](https://www.twilio.com/docs/api/chat/guides/identity) of the message's author. The default value is `system`.. PII: standard |
| `index` | The index of the message within the [Channel](https://www.twilio.com/docs/chat/api/channels). |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `service_sid` | The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) the resource is associated with. |
| `sid` | The unique string that we created to identify the Message resource. |
| `to` | The SID of the [Channel](https://www.twilio.com/docs/chat/api/channels) that the message was sent to. |
| `url` | The absolute URL of the Message resource.. Format: uri |
| `was_edited` | Whether the message has been edited since it was created. |

# `t`

```elixir
@type t() :: %Twilio.Resources.Chat.V1.Service.Channel.Message{
  account_sid: String.t() | nil,
  attributes: String.t() | nil,
  body: String.t() | nil,
  channel_sid: String.t() | nil,
  date_created: String.t() | nil,
  date_updated: String.t() | nil,
  from: String.t() | nil,
  index: integer(),
  service_sid: String.t() | nil,
  sid: String.t() | nil,
  to: String.t() | nil,
  url: String.t() | nil,
  was_edited: boolean() | nil
}
```

# `object_name`

# `sid_prefix`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
