Package com.sinch.sdk.domains.sms.models
Class InboundText
- All Implemented Interfaces:
WebhooksEvent
Incoming SMS Text
- Since:
- 1.0
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sinch.sdk.domains.sms.models.Inbound
getBody, getClientReference, getFrom, getId, getOperatorId, getReceivedAt, getSentAt, getTo
-
Constructor Details
-
InboundText
public InboundText(String body, String from, String id, Instant receivedAt, String to, String clientReference, String operatorId, Instant sentAt) Text MO class- Parameters:
body
- The message content Base64 encoded. Max 140 bytes together with udh.from
- The phone number that sent the message. @see https://community.sinch.com/t5/Glossary/MSISDN/ta-p/7628id
- The ID of this inbound message.receivedAt
- When the system received the message.to
- The Sinch phone number or short code to which the message was sent.clientReference
- If this inbound message is in response to a previously sent message that contained a client reference, then this field contains that client reference. Utilizing this feature requires additional setup on your account. Contact your account manager to enable this feature.operatorId
- The MCC/MNC of the sender's operator if known.sentAt
- When the message left the originating device. Only available if provided by operator.
-
-
Method Details