get_handle
Description:
Get the handle representing the contact, chatroom, etc.
with which this channel communicates for its whole lifetime, or 0 if there is no such handle or it has not yet been discovered.
This is the same as the TpChannelIface:handle
property. It isn't guaranteed to have its final value until the
TP_CHANNEL_FEATURE_CORE
feature is ready.
If handle_type
is not null
, the type of handle is written into it. This will be
UNKNOWN_HANDLE_TYPE if the handle has not yet been
discovered, or NONE if there is no handle with which this
channel will always communicate. This is the same as the TpChannelIface:handle-type
property.
Parameters:
this |
a channel |
handle_type |
if not |
Returns:
the handle |