Sha256: af6627c1a82d427d8a45efa73480e901a93bdaec3376d9c8bb372f36be887543
Contents?: true
Size: 1.97 KB
Versions: 14
Compression:
Stored size: 1.97 KB
Contents
# Bandwidth::Message ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **id** | **String** | The id of the message. | [optional] | | **owner** | **String** | The Bandwidth phone number associated with the message. | [optional] | | **application_id** | **String** | The application ID associated with the message. | [optional] | | **time** | **Time** | The datetime stamp of the message in ISO 8601 | [optional] | | **segment_count** | **Integer** | The number of segments the original message from the user is broken into before sending over to carrier networks. | [optional] | | **direction** | [**MessageDirectionEnum**](MessageDirectionEnum.md) | | [optional] | | **to** | **Array<String>** | The phone number recipients of the message. | [optional] | | **from** | **String** | The phone number the message was sent from. | [optional] | | **media** | **Array<String>** | The list of media URLs sent in the message. Including a `filename` field in the `Content-Disposition` header of the media linked with a URL will set the displayed file name. This is a best practice to ensure that your media has a readable file name. | [optional] | | **text** | **String** | The contents of the message. | [optional] | | **tag** | **String** | The custom string set by the user. | [optional] | | **priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] | | **expiration** | **Time** | The expiration date-time set by the user. | [optional] | ## Example ```ruby require 'bandwidth-sdk' instance = Bandwidth::Message.new( id: 1589228074636lm4k2je7j7jklbn2, owner: +15554443333, application_id: 93de2206-9669-4e07-948d-329f4b722ee2, time: 2022-09-14T18:20:16Z, segment_count: 2, direction: null, to: ["+15552223333"], from: +15553332222, media: ["https://dev.bandwidth.com/images/bandwidth-logo.png"], text: Hello world, tag: custom tag, priority: null, expiration: 2021-02-01T11:29:18-05:00 ) ```
Version data entries
14 entries across 14 versions & 1 rubygems