| telepathy-logger Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
enum TplEntityType; TplEntityPriv; const gchar * tpl_entity_get_alias (TplEntity *self); const gchar * tpl_entity_get_identifier (TplEntity *self); TplEntityType tpl_entity_get_entity_type (TplEntity *self); const gchar * tpl_entity_get_avatar_token (TplEntity *self);
typedef enum
{
TPL_ENTITY_UNKNOWN,
/* contact is a user (buddy) */
TPL_ENTITY_CONTACT,
/* contact is a chatroom, meaning that the related message has been sent to
* a chatroom instead of to a 1-1 channel */
TPL_ENTITY_GROUP,
/* contact is both a USER and the account's owner (self-handle) */
TPL_ENTITY_SELF
} TplEntityType;
const gchar * tpl_entity_get_alias (TplEntity *self);
|
a TplEntity |
Returns : |
the alias of the entity, or NULL
|
const gchar * tpl_entity_get_identifier (TplEntity *self);
|
a TplEntity |
Returns : |
the identifier of the entity |
TplEntityType tpl_entity_get_entity_type (TplEntity *self);
|
a TplEntity |
Returns : |
the type of the entity |