Package Skype4Py :: Module chat :: Class ChatMember
[frames] | no frames]

Class ChatMember

source code

  object --+    
           |    
utils.Cached --+
               |
              ChatMember

Represents a member of a public chat.
Instance Methods
 
__repr__(self)
repr(x)
source code
bool
CanSetRoleTo(self, Role)
Checks if the new role can be applied to the member.
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
Chat Chat
Chat this member belongs to.
str Handle
Member Skypename.
int Id
Chat member Id.
bool IsActive
Member activity status.
enums.chatMemberRole* Role
Chat Member role.

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

CanSetRoleTo(self, Role)

source code 
Checks if the new role can be applied to the member.
Parameters:
  • Role (enums.chatMemberRole*) - New chat member role.
Returns: bool
True if the new role can be applied, False otherwise.

Property Details

Chat

Chat this member belongs to.
Get Method:
_GetChat(self)
Type:
Chat

Handle

Member Skypename.
Get Method:
_GetHandle(self)
Type:
str

Id

Chat member Id.
Get Method:
_GetId(self)
Type:
int

IsActive

Member activity status.
Get Method:
_GetIsActive(self)
Type:
bool

Role

Chat Member role.
Get Method:
_GetRole(self)
Set Method:
_SetRole(self, Value)
Type:
enums.chatMemberRole*