forked from adein/hangouts_to_sms
-
Notifications
You must be signed in to change notification settings - Fork 2
/
participant.py
28 lines (26 loc) · 1019 Bytes
/
participant.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
class Participant:
"""Participant in a conversation.
Model that describes a person in a conversation.
"""
name = None
gaia_id = None
chat_id = None # Not used
type = None # Not used
e164_number = None
country_code = None # Not used
international_number = None
national_number = None
region_code = None # Not used
latest_read_timestamp = None # Not used
def __init__(self, name=None, gaia_id=None, chat_id=None, type=None, e164_number=None, country_code=None,
international_number=None, national_number=None, region_code=None, latest_timestamp=None):
self.name = name
self.gaia_id = gaia_id
self.chat_id = chat_id
self.type = type
self.e164_number = e164_number
self.country_code = country_code
self.international_number = international_number
self.national_number = national_number
self.region_code = region_code
self.latest_read_timestamp = latest_timestamp