TplTextEvent

TplTextEvent — Representation of a text log event

Synopsis

                    TplTextEvent;
                    TplTextEventClass;
                    TplTextEventPriv;
gint64              tpl_text_event_get_edit_timestamp   (TplTextEvent *self);
const gchar *       tpl_text_event_get_message          (TplTextEvent *self);
const gchar *       tpl_text_event_get_message_token    (TplTextEvent *self);
TpChannelTextMessageType tpl_text_event_get_message_type
                                                        (TplTextEvent *self);
GList *             tpl_text_event_get_supersedes       (TplTextEvent *self);
const gchar *       tpl_text_event_get_supersedes_token (TplTextEvent *self);

Object Hierarchy

  GObject
   +----TplEvent
         +----TplTextEvent

Properties

  "edit-timestamp"           gint64                : Read / Write / Construct Only
  "message"                  gchar*                : Read / Write / Construct Only
  "message-token"            gchar*                : Read / Write / Construct Only
  "message-type"             guint                 : Read / Write / Construct Only
  "supersedes-token"         gchar*                : Read / Write / Construct Only

Description

A subclass of TplEvent representing a text log event.

Details

TplTextEvent

typedef struct _TplTextEvent TplTextEvent;

An object representing a text log event.


TplTextEventClass

typedef struct _TplTextEventClass TplTextEventClass;


TplTextEventPriv

typedef struct _TplTextEventPriv TplTextEventPriv;


tpl_text_event_get_edit_timestamp ()

gint64              tpl_text_event_get_edit_timestamp   (TplTextEvent *self);

self :

a TplTextEvent

Returns :

the same value as the "edit-timestamp" property

tpl_text_event_get_message ()

const gchar *       tpl_text_event_get_message          (TplTextEvent *self);

self :

a TplTextEvent

Returns :

the same message as the "message" property

tpl_text_event_get_message_token ()

const gchar *       tpl_text_event_get_message_token    (TplTextEvent *self);

self :

a TplTextEvent

Returns :

the same message as the "message-token" property

tpl_text_event_get_message_type ()

TpChannelTextMessageType tpl_text_event_get_message_type
                                                        (TplTextEvent *self);

self :

a TplTextEvent

Returns :

the same message as the "message-type" property

tpl_text_event_get_supersedes ()

GList *             tpl_text_event_get_supersedes       (TplTextEvent *self);

self :

a TplTextEvent

Returns :

A GList of TplTextEvent that this event supersedes. [transfer none][element-type TelepathyLogger.TextEvent]

tpl_text_event_get_supersedes_token ()

const gchar *       tpl_text_event_get_supersedes_token (TplTextEvent *self);

self :

a TplTextEvent

Returns :

the same message as the "supersedes-token" property

Property Details

The "edit-timestamp" property

  "edit-timestamp"           gint64                : Read / Write / Construct Only

message-{sent,received} if this is an edit, or 0 otherwise.

Default value: 0


The "message" property

  "message"                  gchar*                : Read / Write / Construct Only

The text message of the log event.

Default value: NULL


The "message-token" property

  "message-token"            gchar*                : Read / Write / Construct Only

The message-token field of this message.

Default value: NULL


The "message-type" property

  "message-type"             guint                 : Read / Write / Construct Only

The message type for a Text log event.

Default value: 0


The "supersedes-token" property

  "supersedes-token"         gchar*                : Read / Write / Construct Only

The message-token field of the message that this one supersedes.

Default value: NULL