Package com.sinch.sdk.domains.sms.models
Class InboundText
- java.lang.Object
-
- com.sinch.sdk.domains.sms.models.Inbound<String>
-
- com.sinch.sdk.domains.sms.models.InboundText
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInboundText.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InboundText.Builderbuilder()StringtoString()-
Methods inherited from class com.sinch.sdk.domains.sms.models.Inbound
getBody, getClientReference, getFrom, getId, getOperatorId, getReceivedAt, getSentAt, getTo
-
-
-
-
Constructor Detail
-
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 Detail
-
builder
public static InboundText.Builder builder()
-
-