message_received


Description:

public signal void message_received (SignalledMessage message)

The message_received signal is emitted when a new message has been received on self.

The same message object will be used by the pending_message_removed signal once message has been acked so you can simply compare pointers to identify the message.

Note that this signal is only fired once the TP_TEXT_CHANNEL_FEATURE_INCOMING_MESSAGES has been prepared.

It is guaranteed that message's sender has all of the features previously passed to add_contact_features prepared.

Parameters:

message

a SignalledMessage