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

Class IChatMessage

source code

  object --+    
           |    
utils.Cached --+
               |
              IChatMessage

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__

Class Variables

Inherited from utils.Cached: _cache_

Properties
unicode Body
Chat message body.
IChat Chat
Chat this message was posted on.
unicode ChatName
Name of the chat this message was posted on.
datetime.datetime Datetime
Chat message timestamp as datetime.
unicode 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.
unicode FromHandle
Skypename of the message sender.
int Id
Chat message Id.
bool IsEditable
Tells if message body is editable.
Chat leave reason LeaveReason
LeaveReason.
bool Seen
Marks a missed chat message as seen.
IUser Sender
Sender of the chat message.
Chat message status Status
Status of the chat messsage.
float Timestamp
Chat message timestamp.
Chat message type Type
Type of chat message.
tuple of IUser 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:
IChat

ChatName

Name of the chat this message was posted on.

Get Method:
_GetChatName(self)
Type:
unicode

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:
unicode

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:
unicode

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:
Chat leave reason

Seen

Marks a missed chat message as seen.

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

Deprecated: Unpythonic, use MarkAsSeen instead.

Sender

Sender of the chat message.

Get Method:
_GetSender(self)
Type:
IUser

Status

Status of the chat messsage.

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

Timestamp

Chat message timestamp.

Get Method:
_GetTimestamp(self)
Type:
float

See Also: Datetime

Type

Type of chat message.

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

Users

Users added to the chat.

Get Method:
_GetUsers(self)
Type:
tuple of IUser