| Top | 
| TplEntity * | tpl_entity_new () | 
| TplEntity * | tpl_entity_new_from_tp_contact () | 
| TplEntity * | tpl_entity_new_from_room_id () | 
| const gchar * | tpl_entity_get_alias () | 
| const gchar * | tpl_entity_get_identifier () | 
| TpEntityType | tpl_entity_get_entity_type () | 
| const gchar * | tpl_entity_get_avatar_token () | 
| gchar * | alias | Read / Write / Construct Only | 
| gchar * | avatar-token | Read / Write / Construct Only | 
| gchar * | identifier | Read / Write / Construct Only | 
| gint | type | Read / Write / Construct Only | 
TplEntity * tpl_entity_new (const gchar *id,TpEntityType type,const gchar *alias,const gchar *avatar_token);
TplEntity * tpl_entity_new_from_tp_contact (TpContact *contact,TpEntityType type);
 a TplEntity instance with identifier, alias and
avatar's token copied. Type parameter is useful to differentiate between
normal contact and self contact, thus only TP_ENTITY_TYPE_CONTACT and
TP_ENTITY_TYPE_SELF are accepted. If contact is NULL, an entity of type
TP_ENTITY_TYPE_NONE with id set to "unknown" is returned.
TplEntity *
tpl_entity_new_from_room_id (const gchar *room_id);
 a TplEntity instance with identifier, alias copied from
room_id
. It also sets TP_ENTITY_TYPE_ROOM as type for
the TplEntity returned.
“alias” property“alias” gchar *
The entity's alias
Flags: Read / Write / Construct Only
Default value: NULL
“avatar-token” property“avatar-token” gchar *
The entity's avatar token
Flags: Read / Write / Construct Only
Default value: NULL
“identifier” property“identifier” gchar *
The entity's identifier
Flags: Read / Write / Construct Only
Default value: NULL
“type” property“type” gint
The entity's type (see TpEntityType).
Flags: Read / Write / Construct Only
Allowed values: [0,3]
Default value: 0