t.w.p.m.MSNContact : class documentation

Part of twisted.words.protocols.msn View Source View In Hierarchy

This class represents a contact (user).
Instance VariablesuserHandleThe contact's user handle (passport).
screenNameThe contact's screen name.
groupsA list of all the group IDs which this contact belongs to.
listsAn integer representing the sum of all lists that this contact belongs to.
statusThe contact's status code. (type: str if contact's status is known, None otherwise. )
homePhoneThe contact's home phone number. (type: str if known, otherwise None. )
workPhoneThe contact's work phone number. (type: str if known, otherwise None. )
mobilePhoneThe contact's mobile phone number. (type: str if known, otherwise None. )
hasPagerWhether or not this user has a mobile pager (true=yes, false=no)
Method __init__ Undocumented
Method setPhone set phone numbers/values for this specific user. for phoneType check the *_PHONE constants and HAS_PAGER
Method addToList Update the lists attribute to reflect being part of the given list.
Method removeFromList Update the lists attribute to reflect being removed from the given list.
def __init__(self, userHandle='', screenName='', lists=0, groups=, status=None): (source)
Undocumented
def setPhone(self, phoneType, value): (source)
set phone numbers/values for this specific user. for phoneType check the *_PHONE constants and HAS_PAGER
def addToList(self, listType): (source)
Update the lists attribute to reflect being part of the given list.
def removeFromList(self, listType): (source)
Update the lists attribute to reflect being removed from the given list.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.