TelepathyLogger.TextEvent

g GObject.Object GObject.Object TelepathyLogger.Event TelepathyLogger.Event GObject.Object->TelepathyLogger.Event TelepathyLogger.TextEvent TelepathyLogger.TextEvent TelepathyLogger.Event->TelepathyLogger.TextEvent

Subclasses:

None

Methods

Inherited:

TelepathyLogger.Event (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_edit_timestamp ()

get_message ()

get_message_token ()

get_message_type ()

get_supersedes ()

get_supersedes_token ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

TelepathyLogger.Event (6)

Name

Type

Flags

Short Description

edit-timestamp

int

r/w/co

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

message

str

r/w/co

The text message of the log event

message-token

str

r/w/co

The message-token field of this message.

message-type

int

r/w/co

The message type for a Text log event

supersedes-token

str

r/w/co

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

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class TelepathyLogger.TextEvent(**kwargs)
Bases:

TelepathyLogger.Event

Abstract:

No

Structure:

TelepathyLogger.TextEventClass

An object representing a text log event.

get_edit_timestamp()
Returns:

the same value as the TelepathyLogger.TextEvent :edit-timestamp property

Return type:

int

get_message()
Returns:

the same message as the TelepathyLogger.TextEvent :message property

Return type:

str

get_message_token()
Returns:

the same message as the TelepathyLogger.TextEvent :message-token property

Return type:

str

get_message_type()
Returns:

the same message as the TelepathyLogger.TextEvent :message-type property

Return type:

TelepathyGLib.ChannelTextMessageType

get_supersedes()
Returns:

A GLib.List of TelepathyLogger.TextEvent that this event supersedes.

Return type:

[TelepathyLogger.TextEvent]

get_supersedes_token()
Returns:

the same message as the TelepathyLogger.TextEvent :supersedes-token property

Return type:

str

Property Details

TelepathyLogger.TextEvent.props.edit_timestamp
Name:

edit-timestamp

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

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

TelepathyLogger.TextEvent.props.message
Name:

message

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The text message of the log event

TelepathyLogger.TextEvent.props.message_token
Name:

message-token

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The message-token field of this message.

TelepathyLogger.TextEvent.props.message_type
Name:

message-type

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The message type for a Text log event

TelepathyLogger.TextEvent.props.supersedes_token
Name:

supersedes-token

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

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