Class InboundText


  • public class InboundText
    extends Inbound<String>
    Incoming SMS Text
    Since:
    1.0
    • 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/7628
        id - 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.