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

Class IUser

source code

  object --+    
           |    
utils.Cached --+
               |
              IUser

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='')
Sets the BuddyStaus property to budPendingAuthorization additionaly 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__

Class Variables

Inherited from utils.Cached: _cache_

Properties
unicode About
About text of the user.
tuple of unicode Aliases
Aliases of the user.
datetime.date Birthday
Birthday of the user.
Buddy status 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.
unicode CountryCode
ISO country code of the user.
unicode DisplayName
Display name of the user.
unicode 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.
unicode 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.
Online status 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.
User sex 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 (unicode) - Destination path.
  • AvatarId (int) - Avatar Id.

SetBuddyStatusPendingAuthorization(self, Text='')

source code 

Sets the BuddyStaus property to budPendingAuthorization additionaly 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:
tuple of unicode

Birthday

Birthday of the user.

Get Method:
_GetBirthday(self)
Type:
datetime.date

BuddyStatus

Buddy status of the user.

Get Method:
_GetBuddyStatus(self)
Set Method:
_SetBuddyStatus(self, value)
Type:
Buddy status

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:
unicode

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:
unicode

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:
unicode

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:
Online status

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:
User sex

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