Skip to main content

SignalWire.Relay.Messaging.Message

A Message represents an SMS and/or MMS message.

Properties

PropertyTypeDescription
BodystringThe SMS message body. May be null but at least one of Body and Media will be populated.
ContextstringThe context the message belongs to.
DirectionSignalWire.Relay.Messaging.DirectionThe direction of the message.
FromstringThe number that sent the message in E164 format.
IDstringThe unique identifier of the message.
MediaList<string>The list of URLs associated with the MMS. May be null but at least one of Body and Media will be populated.
TagsList<string>The list of tags associated to the message. May be null.
TostringThe number that received the message in E164 format.
ReasonstringFor messages that are undelivered or failed, a string explaining the message's state. null otherwise.
SegmentsintThe number of segments in the message.
StateSignalWire.Relay.Messaging.MessageStateThe current state of the message.