public class SmsInboundMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CALLBACK_DATA |
static String |
SERIALIZED_NAME_CLEAN_TEXT |
static String |
SERIALIZED_NAME_FROM |
static String |
SERIALIZED_NAME_KEYWORD |
static String |
SERIALIZED_NAME_MESSAGE_ID |
static String |
SERIALIZED_NAME_PRICE |
static String |
SERIALIZED_NAME_RECEIVED_AT |
static String |
SERIALIZED_NAME_SMS_COUNT |
static String |
SERIALIZED_NAME_TEXT |
static String |
SERIALIZED_NAME_TO |
| Constructor and Description |
|---|
SmsInboundMessage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCallbackData()
Custom callback data sent over the notifyUrl.
|
String |
getCleanText()
Content of the message without a keyword (if a keyword was sent).
|
String |
getFrom()
Sender ID that can be alphanumeric or numeric.
|
String |
getKeyword()
Keyword extracted from the message content.
|
String |
getMessageId()
Unique message ID.
|
SmsPrice |
getPrice()
A price object showing currency and a price per each message.
|
OffsetDateTime |
getReceivedAt()
Indicates when the Infobip platform received the message.
|
Integer |
getSmsCount()
The number of characters within a message
|
String |
getText()
Full content of the message.
|
String |
getTo()
The destination address of the message.
|
int |
hashCode() |
String |
toString() |
public static final String SERIALIZED_NAME_CALLBACK_DATA
public static final String SERIALIZED_NAME_CLEAN_TEXT
public static final String SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_KEYWORD
public static final String SERIALIZED_NAME_MESSAGE_ID
public static final String SERIALIZED_NAME_PRICE
public static final String SERIALIZED_NAME_RECEIVED_AT
public static final String SERIALIZED_NAME_SMS_COUNT
public static final String SERIALIZED_NAME_TEXT
public static final String SERIALIZED_NAME_TO
public String getCallbackData()
public String getCleanText()
public String getFrom()
public String getKeyword()
public String getMessageId()
public SmsPrice getPrice()
public OffsetDateTime getReceivedAt()
public Integer getSmsCount()
public String getText()
public String getTo()
Copyright © 2022. All rights reserved.