Package Skype4Py :: Module user :: Class User
[frames] | no frames]

Class User

source code

  object --+    
           |    
utils.Cached --+
               |
              User

Represents a Skype user.
Instance Methods
 
__repr__(self)
repr(x)
source code
 
SaveAvatarToFile(self, Filename, AvatarId=1)
Saves user avatar to a file.
source code
 
SetBuddyStatusPendingAuthorization(self, Text=u'')
Sets the BuddyStaus property to enums.budPendingAuthorization additionally specifying the authorization text.
source code

Inherited from utils.Cached: __copy__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from utils.Cached: __new__

Properties
unicode About
About text of the user.
list of str Aliases
Aliases of the user.
datetime.date or None Birthday
Birthday of the user.
enums.bud* BuddyStatus
Buddy status of the user.
bool CanLeaveVoicemail
Tells if it is possible to send voicemail to the user.
unicode City
City of the user.
unicode Country
Country of the user.
str CountryCode
ISO country code of the user.
unicode DisplayName
Display name of the user.
str Handle
Skypename of the user.
unicode FullName
Full name of the user.
bool HasCallEquipment
Tells if the user has call equipment.
unicode Homepage
Homepage URL of the user.
bool IsAuthorized
Tells if the user is authorized to contact us.
bool IsBlocked
Tells whether this user is blocked or not.
bool IsCallForwardActive
Tells whether the user has Call Forwarding activated or not.
bool IsSkypeOutContact
Tells whether a user is a SkypeOut contact.
bool IsVideoCapable
Tells if the user has video capability.
bool IsVoicemailCapable
Tells if the user has voicemail capability.
unicode Language
The language of the user.
str LanguageCode
The ISO language code of the user.
float LastOnline
The time when a user was last online as a timestamp.
datetime.datetime LastOnlineDatetime
The time when a user was last online as a datetime.
unicode MoodText
Mood text of the user.
int NumberOfAuthBuddies
Number of authenticated buddies in user's contact list.
enums.ols* OnlineStatus
Online status of the user.
unicode PhoneHome
Home telephone number of the user.
unicode PhoneMobile
Mobile telephone number of the user.
unicode PhoneOffice
Office telephone number of the user.
unicode Province
Province of the user.
unicode ReceivedAuthRequest
Text message for authorization request.
unicode RichMoodText
Advanced version of MoodText.
enums.usex* Sex
Sex of the user.
unicode SpeedDial
Speed-dial code assigned to the user.
int Timezone
Timezone of the user in minutes from GMT.

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

SaveAvatarToFile(self, Filename, AvatarId=1)

source code 
Saves user avatar to a file.
Parameters:
  • Filename (str) - Destination path.
  • AvatarId (int) - Avatar Id.

SetBuddyStatusPendingAuthorization(self, Text=u'')

source code 
Sets the BuddyStaus property to enums.budPendingAuthorization additionally specifying the authorization text.
Parameters:
  • Text (unicode) - The authorization text.

See Also: BuddyStatus


Property Details

About

About text of the user.
Get Method:
_GetAbout(self)
Type:
unicode

Aliases

Aliases of the user.
Get Method:
_GetAliases(self)
Type:
list of str

Birthday

Birthday of the user. None if not set.
Get Method:
_GetBirthday(self)
Type:
datetime.date or None

BuddyStatus

Buddy status of the user.
Get Method:
_GetBuddyStatus(self)
Set Method:
_SetBuddyStatus(self, Value)
Type:
enums.bud*

CanLeaveVoicemail

Tells if it is possible to send voicemail to the user.
Get Method:
_GetCanLeaveVoicemail(self)
Type:
bool

City

City of the user.
Get Method:
_GetCity(self)
Type:
unicode

Country

Country of the user.
Get Method:
_GetCountry(self)
Type:
unicode

CountryCode

ISO country code of the user.
Get Method:
_GetCountryCode(self)
Type:
str

DisplayName

Display name of the user.
Get Method:
_GetDisplayName(self)
Set Method:
_SetDisplayName(self, Value)
Type:
unicode

Handle

Skypename of the user.
Get Method:
_GetHandle(self)
Type:
str

FullName

Full name of the user.
Get Method:
_GetFullName(self)
Type:
unicode

HasCallEquipment

Tells if the user has call equipment.
Get Method:
_GetHasCallEquipment(self)
Type:
bool

Homepage

Homepage URL of the user.
Get Method:
_GetHomepage(self)
Type:
unicode

IsAuthorized

Tells if the user is authorized to contact us.
Get Method:
_GetIsAuthorized(self)
Set Method:
_SetIsAuthorized(self, Value)
Type:
bool

IsBlocked

Tells whether this user is blocked or not.
Get Method:
_GetIsBlocked(self)
Set Method:
_SetIsBlocked(self, Value)
Type:
bool

IsCallForwardActive

Tells whether the user has Call Forwarding activated or not.
Get Method:
_GetIsCallForwardActive(self)
Type:
bool

IsSkypeOutContact

Tells whether a user is a SkypeOut contact.
Get Method:
_GetIsSkypeOutContact(self)
Type:
bool

IsVideoCapable

Tells if the user has video capability.
Get Method:
_GetIsVideoCapable(self)
Type:
bool

IsVoicemailCapable

Tells if the user has voicemail capability.
Get Method:
_GetIsVoicemailCapable(self)
Type:
bool

Language

The language of the user.
Get Method:
_GetLanguage(self)
Type:
unicode

LanguageCode

The ISO language code of the user.
Get Method:
_GetLanguageCode(self)
Type:
str

LastOnline

The time when a user was last online as a timestamp.
Get Method:
_GetLastOnline(self)
Type:
float

See Also: LastOnlineDatetime

LastOnlineDatetime

The time when a user was last online as a datetime.
Get Method:
_GetLastOnlineDatetime(self)
Type:
datetime.datetime

See Also: LastOnline

MoodText

Mood text of the user.
Get Method:
_GetMoodText(self)
Type:
unicode

NumberOfAuthBuddies

Number of authenticated buddies in user's contact list.
Get Method:
_GetNumberOfAuthBuddies(self)
Type:
int

OnlineStatus

Online status of the user.
Get Method:
_GetOnlineStatus(self)
Type:
enums.ols*

PhoneHome

Home telephone number of the user.
Get Method:
_GetPhoneHome(self)
Type:
unicode

PhoneMobile

Mobile telephone number of the user.
Get Method:
_GetPhoneMobile(self)
Type:
unicode

PhoneOffice

Office telephone number of the user.
Get Method:
_GetPhoneOffice(self)
Type:
unicode

Province

Province of the user.
Get Method:
_GetProvince(self)
Type:
unicode

ReceivedAuthRequest

Text message for authorization request. Available only when user asks for authorization.
Get Method:
_GetReceivedAuthRequest(self)
Type:
unicode

RichMoodText

Advanced version of MoodText.
Get Method:
_GetRichMoodText(self)
Type:
unicode

Sex

Sex of the user.
Get Method:
_GetSex(self)
Type:
enums.usex*

SpeedDial

Speed-dial code assigned to the user.
Get Method:
_GetSpeedDial(self)
Set Method:
_SetSpeedDial(self, Value)
Type:
unicode

Timezone

Timezone of the user in minutes from GMT.
Get Method:
_GetTimezone(self)
Type:
int