|  |  |  | libempathy Reference Manual |  | 
|---|---|---|---|---|
                    EmpathyTpChatPriv;
                    EmpathyTpChat;
EmpathyTpChat*      empathy_tp_chat_new                 (McAccount *account,
                                                         TpChan *tp_chan);
EmpathyTpChat*      empathy_tp_chat_new_with_contact    (EmpathyContact *contact);
gboolean            empathy_tp_chat_get_acknowledge     (EmpathyTpChat *chat);
void                empathy_tp_chat_set_acknowledge     (EmpathyTpChat *chat,
                                                         gboolean acknowledge);
TpChan*             empathy_tp_chat_get_channel         (EmpathyTpChat *chat);
GList*              empathy_tp_chat_get_pendings        (EmpathyTpChat *chat);
void                empathy_tp_chat_send                (EmpathyTpChat *chat,
                                                         EmpathyMessage *message);
void                empathy_tp_chat_set_state           (EmpathyTpChat *chat,
                                                         TelepathyChannelChatState state);
const gchar*        empathy_tp_chat_get_id              (EmpathyTpChat *chat);
"account" McAccount : Read / Write / Construct Only "acknowledge" gboolean : Read / Write "anonymous" gboolean : Read / Write "description" gchararray : Read / Write "invite-only" gboolean : Read / Write "limit" guint : Read / Write "limited" gboolean : Read / Write "moderated" gboolean : Read / Write "name" gchararray : Read / Write "password" gchararray : Read / Write "password-required" gboolean : Read / Write "persistent" gboolean : Read / Write "private" gboolean : Read / Write "subject" gchararray : Read / Write "subject-contact" guint : Read / Write "subject-timestamp" guint : Read / Write "tp-chan" TpChan : Read / Write / Construct Only
"chat-state-changed" : Run Last "destroy" : Run Last "message-received" : Run Last "send-error" : Run Last
EmpathyTpChat* empathy_tp_chat_new (McAccount *account, TpChan *tp_chan);
| 
 | |
| 
 | |
| Returns : | 
EmpathyTpChat* empathy_tp_chat_new_with_contact (EmpathyContact *contact);
| 
 | |
| Returns : | 
gboolean empathy_tp_chat_get_acknowledge (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
void empathy_tp_chat_set_acknowledge (EmpathyTpChat *chat, gboolean acknowledge);
| 
 | |
| 
 | 
TpChan* empathy_tp_chat_get_channel (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
GList* empathy_tp_chat_get_pendings (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
void empathy_tp_chat_send (EmpathyTpChat *chat, EmpathyMessage *message);
| 
 | |
| 
 | 
void empathy_tp_chat_set_state (EmpathyTpChat *chat, TelepathyChannelChatState state);
| 
 | |
| 
 | 
const gchar* empathy_tp_chat_get_id (EmpathyTpChat *chat);
| 
 | |
| Returns : | 
"account" property"account" McAccount : Read / Write / Construct Only
The account associated with the channel.
"password-required" property"password-required" gboolean : Read / Write
password-required.
Default value: FALSE
"subject-contact" property"subject-contact" guint : Read / Write
subject-contact.
Default value: 0
"subject-timestamp" property"subject-timestamp" guint : Read / Write
subject-timestamp.
Default value: 0
"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. | 
"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. |