Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2017-03-13 12:27:01 +0300
committerEion Robb <eion@robbmob.com>2017-03-13 12:27:01 +0300
commit0446ca2b9b772f5e5a479e3a5d5ef9e0a9284b7d (patch)
tree678f92e6d4f814dfab8ff7534a597905ed4d8b1f /tgp-chat.h
parentcd451723ef025cfa2dcc2e59db080177c9c46b92 (diff)
Support typing notifications using the group-typing-notifications plugin
See https://github.com/EionRobb/pidgin-groupchat-typing-notifications
Diffstat (limited to 'tgp-chat.h')
-rw-r--r--tgp-chat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tgp-chat.h b/tgp-chat.h
index a7154fa..b56332b 100644
--- a/tgp-chat.h
+++ b/tgp-chat.h
@@ -46,6 +46,7 @@ PurpleChat *tgp_chat_blist_store (struct tgl_state *TLS, tgl_peer_t *P, const ch
PurpleConversation *tgp_chat_show (struct tgl_state *TLS, tgl_peer_t *P);
int tgprpl_send_chat (PurpleConnection *gc, int id, const char *message, PurpleMessageFlags flags);
+unsigned int tgprpl_send_chat_typing (PurpleConversation *conv, PurpleTypingState typing, gpointer ignored);
char *tgprpl_get_chat_name (GHashTable *data);
void tgprpl_chat_join (PurpleConnection *gc, GHashTable *data);
GList *tgprpl_chat_join_info (PurpleConnection *gc);
@@ -61,5 +62,6 @@ int tgp_channel_loaded (struct tgl_state *TLS, tgl_peer_id_t id);
void update_channel_handler (struct tgl_state *TLS, struct tgl_channel *C, unsigned flags);
void update_chat_handler (struct tgl_state *TLS, struct tgl_chat *C, unsigned flags);
+void update_chat_typing (struct tgl_state *TLS, struct tgl_user *U, struct tgl_chat *C, enum tgl_typing_status status);
#endif