Package Skype4Py :: Module sms :: Class ISmsMessage
[frames] | no frames]

Class ISmsMessage

source code

  object --+    
           |    
utils.Cached --+
               |
              ISmsMessage

Represents an SMS message.

Instance Methods
 
__repr__(self)
repr(x)
source code
 
Delete(self)
Deletes this SMS message.
source code
 
Send(self)
Sends this SMS message.
source code

Inherited from utils.Cached: __copy__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from utils.Cached: __new__

Class Variables

Inherited from utils.Cached: _cache_

Properties
unicode Body
Text of this SMS message.
tuple of ISmsChunk Chunks
Chunks of this SMS message.
datetime.datetime Datetime
Timestamp of this SMS message as datetime object.
SMS failure reason FailureReason
Reason an SMS message failed.
int Id
Unique SMS message Id.
bool IsFailedUnseen
Tells if a failed SMS message was unseen.
int Price
SMS price.
unicode PriceCurrency
SMS price currency.
int PricePrecision
SMS price precision.
unicode PriceToText
SMS price as properly formatted text with currency.
float PriceValue
SMS price.
unicode ReplyToNumber
Reply-to number for this SMS message.
bool Seen
Read status of the SMS message.
SMS message status Status
SMS message status.
tuple of unicode TargetNumbers
Target phone numbers.
tuple of ISmsTarget Targets
Target objects.
float Timestamp
Timestamp of this SMS message.
SMS message type Type
SMS message type

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details

Body

Text of this SMS message.

Get Method:
_GetBody(self)
Set Method:
_SetBody(self, value)
Type:
unicode

Chunks

Chunks of this SMS message. More than one if this is a multi-part message.

Get Method:
_GetChunks(self)
Type:
tuple of ISmsChunk

Datetime

Timestamp of this SMS message as datetime object.

Get Method:
_GetDatetime(self)
Type:
datetime.datetime

FailureReason

Reason an SMS message failed. Read this if Status == smsMessageStatusFailed.

Get Method:
_GetFailureReason(self)
Type:
SMS failure reason

Id

Unique SMS message Id.

Get Method:
_GetId(self)
Type:
int

IsFailedUnseen

Tells if a failed SMS message was unseen.

Get Method:
_GetIsFailedUnseen(self)
Type:
bool

Price

SMS price. Expressed using PricePrecision. For a value expressed using PriceCurrency, use PriceValue.

Get Method:
_GetPrice(self)
Type:
int

PriceCurrency

SMS price currency.

Get Method:
_GetPriceCurrency(self)
Type:
unicode

PricePrecision

SMS price precision.

Get Method:
_GetPricePrecision(self)
Type:
int

PriceToText

SMS price as properly formatted text with currency.

Get Method:
_GetPriceToText(self)
Type:
unicode

PriceValue

SMS price. Expressed in PriceCurrency.

Get Method:
_GetPriceValue(self)
Type:
float

ReplyToNumber

Reply-to number for this SMS message.

Get Method:
_GetReplyToNumber(self)
Set Method:
_SetReplyToNumber(self, value)
Type:
unicode

Seen

Read status of the SMS message.

Set Method:
_SetSeen(self, value)
Type:
bool

Status

SMS message status.

Get Method:
_GetStatus(self)
Type:
SMS message status

TargetNumbers

Target phone numbers.

Get Method:
_GetTargetNumbers(self)
Set Method:
_SetTargetNumbers(self, value)
Type:
tuple of unicode

Targets

Target objects.

Get Method:
_GetTargets(self)
Type:
tuple of ISmsTarget

Timestamp

Timestamp of this SMS message.

Get Method:
_GetTimestamp(self)
Type:
float

See Also: Datetime

Type

SMS message type

Get Method:
_GetType(self)
Type:
SMS message type