add documentation on object constants
This commit is contained in:
parent
52899a7ca9
commit
9d4cb49dc5
2 changed files with 37 additions and 12 deletions
|
|
@ -44,10 +44,14 @@ class Message(_Message):
|
|||
"""
|
||||
Represents a message read or to send.
|
||||
"""
|
||||
IS_HTML = 0x001 # The content is HTML formatted
|
||||
IS_UNREAD = 0x002 # The message is unread
|
||||
IS_RECEIVED = 0x004 # The receiver has read this message
|
||||
IS_NOT_RECEIVED = 0x008 # The receiver has not read this message
|
||||
IS_HTML = 0x001
|
||||
"The content is HTML formatted"
|
||||
IS_UNREAD = 0x002
|
||||
"The message is unread"
|
||||
IS_RECEIVED = 0x004
|
||||
"The receiver has read this message"
|
||||
IS_NOT_RECEIVED = 0x008
|
||||
"The receiver hass not read this message"
|
||||
|
||||
thread = Field('Reference to the thread', _Thread)
|
||||
title = StringField('Title of message')
|
||||
|
|
@ -71,7 +75,7 @@ class Message(_Message):
|
|||
signature=NotLoaded,
|
||||
children=NotLoaded,
|
||||
flags=0):
|
||||
BaseObject.__init__(self, id)
|
||||
super(Message, self).__init__(id)
|
||||
self.thread = thread
|
||||
self.title = title
|
||||
self.sender = sender
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue