|  |  |  | libempathy Reference Manual |  | 
|---|---|---|---|---|
                    EmpathyTpChat;
EmpathyTpChat*      empathy_tp_chat_new                 (TpChannel *channel);
const gchar*        empathy_tp_chat_get_id              (EmpathyTpChat *chat);
EmpathyContact*     empathy_tp_chat_get_remote_contact  (EmpathyTpChat *chat);
McAccount*          empathy_tp_chat_get_account         (EmpathyTpChat *chat);
TpChannel*          empathy_tp_chat_get_channel         (EmpathyTpChat *chat);
gboolean            empathy_tp_chat_is_ready            (EmpathyTpChat *chat);
guint               empathy_tp_chat_get_members_count   (EmpathyTpChat *chat);
void                empathy_tp_chat_set_acknowledge     (EmpathyTpChat *chat,
                                                         gboolean acknowledge);
void                empathy_tp_chat_emit_pendings       (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);
"acknowledge" gboolean : Read / Write "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
const gchar* empathy_tp_chat_get_id (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
EmpathyContact* empathy_tp_chat_get_remote_contact (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
McAccount* empathy_tp_chat_get_account (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
TpChannel* empathy_tp_chat_get_channel (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
gboolean empathy_tp_chat_is_ready (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
guint empathy_tp_chat_get_members_count (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
void empathy_tp_chat_set_acknowledge (EmpathyTpChat *chat, gboolean acknowledge);
| 
 | |
| 
 | 
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);
| 
 | |
| 
 | |
| 
 | 
"acknowledge" property"acknowledge" gboolean : Read / Write
Wheter or not received messages should be acknowledged.
Default value: FALSE
"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. |