|  |  |  | libempathy Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
                    EmpathyTpChat;
EmpathyTpChat *     empathy_tp_chat_new                 (TpChannel *channel);
void                empathy_tp_chat_close               (EmpathyTpChat *chat);
const gchar *       empathy_tp_chat_get_id              (EmpathyTpChat *chat);
EmpathyContact *    empathy_tp_chat_get_remote_contact  (EmpathyTpChat *chat);
TpChannel *         empathy_tp_chat_get_channel         (EmpathyTpChat *chat);
TpConnection *      empathy_tp_chat_get_connection      (EmpathyTpChat *chat);
gboolean            empathy_tp_chat_is_ready            (EmpathyTpChat *chat);
void                empathy_tp_chat_send                (EmpathyTpChat *chat,
                                                         EmpathyMessage *message);
void                empathy_tp_chat_set_state           (EmpathyTpChat *chat,
                                                         TpChannelChatState state);
void                empathy_tp_chat_set_property        (EmpathyTpChat *chat,
                                                         const gchar *name,
                                                         const GValue *value);
const GList *       empathy_tp_chat_get_pending_messages
                                                        (EmpathyTpChat *chat);
void                empathy_tp_chat_acknowledge_message (EmpathyTpChat *chat,
                                                         EmpathyMessage *message);
void                empathy_tp_chat_acknowledge_messages
                                                        (EmpathyTpChat *chat,
                                                         const GList *messages);
"channel" TpChannel* : Read / Write / Construct Only "ready" gboolean : Read "remote-contact" EmpathyContact* : Read
"chat-state-changed" : Run Last "destroy" : Run Last "message-received" : Run Last "property-changed" : Run Last "send-error" : Run Last
EmpathyTpChat * empathy_tp_chat_new (TpChannel *channel);
| 
 | |
| Returns : | 
const gchar * empathy_tp_chat_get_id (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
EmpathyContact * empathy_tp_chat_get_remote_contact (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
TpChannel * empathy_tp_chat_get_channel (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
TpConnection * empathy_tp_chat_get_connection (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
gboolean empathy_tp_chat_is_ready (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
void empathy_tp_chat_send (EmpathyTpChat *chat, EmpathyMessage *message);
| 
 | |
| 
 | 
void empathy_tp_chat_set_state (EmpathyTpChat *chat, TpChannelChatState state);
| 
 | |
| 
 | 
void empathy_tp_chat_set_property (EmpathyTpChat *chat, const gchar *name, const GValue *value);
| 
 | |
| 
 | |
| 
 | 
const GList * empathy_tp_chat_get_pending_messages (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
void empathy_tp_chat_acknowledge_message (EmpathyTpChat *chat, EmpathyMessage *message);
| 
 | |
| 
 | 
void                empathy_tp_chat_acknowledge_messages
                                                        (EmpathyTpChat *chat,
                                                         const GList *messages);
| 
 | |
| 
 | 
"channel" property"channel" TpChannel* : Read / Write / Construct Only
The text channel for the chat.
"ready" property"ready" gboolean : Read
This object can't be used until this becomes true.
Default value: FALSE
"remote-contact" property"remote-contact" EmpathyContact* : Read
The remote contact if there is no group iface on the channel.
"chat-state-changed" signalvoid user_function (EmpathyTpChat *empathytpchat, EmpathyContact *arg1, guint arg2, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | |
| 
 | user data set when the signal handler was connected. | 
"destroy" signalvoid user_function (EmpathyTpChat *empathytpchat, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | user data set when the signal handler was connected. | 
"message-received" signalvoid user_function (EmpathyTpChat *empathytpchat, EmpathyMessage *arg1, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | user data set when the signal handler was connected. | 
"property-changed" signalvoid user_function (EmpathyTpChat *empathytpchat, gchar *arg1, GValue *arg2, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | |
| 
 | user data set when the signal handler was connected. | 
"send-error" signalvoid user_function (EmpathyTpChat *empathytpchat, EmpathyMessage *arg1, guint arg2, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | |
| 
 | user data set when the signal handler was connected. |