Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.18 KB

InboundMessageCallbackMessage.md

File metadata and controls

40 lines (34 loc) · 1.18 KB

Bandwidth::InboundMessageCallbackMessage

Properties

Name Type Description Notes
id String
owner String
application_id String
time Time
segment_count Integer
direction MessageDirectionEnum
to Array<String>
from String
text String
tag String [optional]
media Array<String> [optional]
priority PriorityEnum [optional]

Example

require 'bandwidth-sdk'

instance = Bandwidth::InboundMessageCallbackMessage.new(
  id: 1661365814859loidf7mcwd4qacn7,
  owner: +15553332222,
  application_id: 93de2206-9669-4e07-948d-329f4b722ee2,
  time: 2016-09-14T18:20:16Z,
  segment_count: 1,
  direction: null,
  to: [&quot;+15552223333&quot;],
  from: +15553332222,
  text: Hello world,
  tag: custom string,
  media: [&quot;https://dev.bandwidth.com/images/bandwidth-logo.png&quot;,&quot;https://dev.bandwidth.com/images/github_logo.png&quot;],
  priority: null
)