Class Sms
Data object for SMS information.
public class Sms
- Inheritance
-
Sms
- Inherited Members
Constructors
Sms()
public Sms()
Properties
Body
Message that was sent.
public string Body { get; set; }
Property Value
ContactId
Contact Identifier associated with the SMS Message.
public int ContactId { get; set; }
Property Value
MessageId
Message Identifier for SMS assigned by the device.
public int MessageId { get; set; }
Property Value
Number
Phone number associated with the SMS Message.
public string Number { get; set; }
Property Value
ThreadId
Identifier of the conversation thread assigned by the device.
public int ThreadId { get; set; }
Property Value
TimeStamp
Date and time the SMS was sent.
public DateTime TimeStamp { get; set; }
Property Value
Methods
ToString()
String representation of the SMS. Format: {TimeStamp} {Body}
public override string ToString()
Returns
- string
String representation of the SMS Message.