|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| create_contact(self,
jid='',
name='',
groups=[],
show='',
status='',
sub='',
ask='',
resource='',
priority=0,
keyID='',
caps_node=None,
caps_hash_method=None,
caps_hash=None,
our_chatstate=None,
chatstate=None,
last_status_time=None,
composing_xep=None,
mood={},
tune={},
activity={}) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_contact(self,
account,
jid,
resource=None)
Returns the contact instance for the given resource if it's given else
the first contact is no resource is given or None if there is not |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_metacontacts_family(self,
account,
jid)
return the family of the given jid, including jid in the form:
[{'account': acct, 'jid': jid, 'order': order}, ]
'order' is optional |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|