Package Skype4Py :: Module chat :: Class ChatMessage
[frames] | no frames]

Class ChatMessage

source code

  object --+    
           |    
utils.Cached --+
               |
              ChatMessage

Represents a single chat message.
Instance Methods
 
__repr__(self)
repr(x)
source code
 
MarkAsSeen(self)
Marks a missed chat message as seen.
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__

Properties
unicode Body
Chat message body.
Chat Chat
Chat this message was posted on.
str ChatName
Name of the chat this message was posted on.
datetime.datetime Datetime
Chat message timestamp as datetime.
str EditedBy
Skypename of the user who edited this message.
datetime.datetime EditedDatetime
Message editing timestamp as datetime.
float EditedTimestamp
Message editing timestamp.
unicode FromDisplayName
DisplayName of the message sender.
str FromHandle
Skypename of the message sender.
int Id
Chat message Id.
bool IsEditable
Tells if message body is editable.
enums.lea* LeaveReason
LeaveReason.
bool Seen
Marks a missed chat message as seen.
User Sender
Sender of the chat message.
enums.cms* Status
Status of the chat message.
float Timestamp
Chat message timestamp.
enums.cme* Type
Type of chat message.
UserCollection Users
Users added to the chat.

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details

Body

Chat message body.
Get Method:
_GetBody(self)
Set Method:
_SetBody(self, Value)
Type:
unicode

Chat

Chat this message was posted on.
Get Method:
_GetChat(self)
Type:
Chat

ChatName

Name of the chat this message was posted on.
Get Method:
_GetChatName(self)
Type:
str

Datetime

Chat message timestamp as datetime.
Get Method:
_GetDatetime(self)
Type:
datetime.datetime

EditedBy

Skypename of the user who edited this message.
Get Method:
_GetEditedBy(self)
Type:
str

EditedDatetime

Message editing timestamp as datetime.
Get Method:
_GetEditedDatetime(self)
Type:
datetime.datetime

EditedTimestamp

Message editing timestamp.
Get Method:
_GetEditedTimestamp(self)
Type:
float

FromDisplayName

DisplayName of the message sender.
Get Method:
_GetFromDisplayName(self)
Type:
unicode

FromHandle

Skypename of the message sender.
Get Method:
_GetFromHandle(self)
Type:
str

Id

Chat message Id.
Get Method:
_GetId(self)
Type:
int

IsEditable

Tells if message body is editable.
Get Method:
_GetIsEditable(self)
Type:
bool

LeaveReason

LeaveReason.
Get Method:
_GetLeaveReason(self)
Type:
enums.lea*

Seen

Marks a missed chat message as seen. Accepts only True value.
Set Method:
_SetSeen(self, Value)
Type:
bool

Deprecated: Extremely unpythonic, use MarkAsSeen instead.

Sender

Sender of the chat message.
Get Method:
_GetSender(self)
Type:
User

Status

Status of the chat message.
Get Method:
_GetStatus(self)
Type:
enums.cms*

Timestamp

Chat message timestamp.
Get Method:
_GetTimestamp(self)
Type:
float

See Also: Datetime

Type

Type of chat message.
Get Method:
_GetType(self)
Type:
enums.cme*

Users

Users added to the chat.
Get Method:
_GetUsers(self)
Type:
UserCollection