Message


Object Hierarchy:

TelepathyGLib.Message TelepathyGLib.Message TelepathyGLib.Message GLib.Object GLib.Object GLib.Object->TelepathyGLib.Message

Description:

[ CCode ( type_id = "tp_message_get_type ()" ) ]
public class Message : Object

Opaque structure representing a message in the Telepathy messages interface (an array of at least one mapping from string to variant, where the first mapping contains message headers and subsequent mappings contain the message body).

This base class provides convenience API for most of the common keys that can appear in the header. One notable exception is the sender of the message. Inside a connection manager, messages are represented by the TpCMMessage subclass, and you should use tp_cm_message_get_sender. When composing a message in a client using ClientMessage, messages do not have an explicit sender (the sender is automatically the local user). When a client sees a sent or received message signalled by the connection manager (represented by SignalledMessage), the message's sender (if any) can be accessed with get_sender.

All known sub-classes:

Namespace: TelepathyGLib
Package: telepathy-glib

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org