@@ -40,53 +40,64 @@ class MessageBasicPropertiesMixin(object):
4040
4141 @property
4242 def id (self ):
43- """The message's unique ID ."""
43+ """The unique identifier for the message ."""
4444 return self ._json_data .get ('id' )
4545
4646 @property
4747 def roomId (self ):
48- """The ID of the room ."""
48+ """The room ID of the message ."""
4949 return self ._json_data .get ('roomId' )
5050
5151 @property
5252 def roomType (self ):
53- """The type of room (i.e. 'group', 'direct' etc.)."""
53+ """The type of room.
54+
55+ Room Type Enum:
56+ `direct`: 1:1 room
57+ `group`: Group room
58+ """
5459 return self ._json_data .get ('roomType' )
5560
5661 @property
5762 def text (self ):
5863 """The message, in plain text."""
5964 return self ._json_data .get ('text' )
6065
66+ @property
67+ def markdown (self ):
68+ """The message, in Markdown format."""
69+ return self ._json_data .get ('markdown' )
70+
71+ @property
72+ def html (self ):
73+ """The message, in HTML format."""
74+ return self ._json_data .get ('html' )
75+
6176 @property
6277 def files (self ):
63- """Files attached to the the message (list of URLs) ."""
78+ """Public URLs for files attached to the message."""
6479 return self ._json_data .get ('files' )
6580
6681 @property
6782 def personId (self ):
68- """The person ID of the sender ."""
83+ """The person ID of the message author ."""
6984 return self ._json_data .get ('personId' )
7085
7186 @property
7287 def personEmail (self ):
73- """The email address of the sender ."""
88+ """The email address of the message author ."""
7489 return self ._json_data .get ('personEmail' )
7590
76- @property
77- def markdown (self ):
78- """The message, in markdown format."""
79- return self ._json_data .get ('markdown' )
80-
81- @property
82- def html (self ):
83- """The message, in HTML format."""
84- return self ._json_data .get ('html' )
8591
8692 @property
8793 def mentionedPeople (self ):
88- """The list of IDs of people mentioned in the message."""
94+ """People IDs for anyone mentioned in the message."""
8995 return self ._json_data .get ('mentionedPeople' )
96+
97+ @property
98+ def mentionedGroups (self ):
99+ """Group names for the groups mentioned in the message."""
100+ return self ._json_data .get ('mentionedGroups' )
90101
91102 @property
92103 def created (self ):
0 commit comments