summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/t_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/src/t_proto.h')
-rw-r--r--protocols/Telegram/src/t_proto.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/protocols/Telegram/src/t_proto.h b/protocols/Telegram/src/t_proto.h
index 927718340e..fadf3b179c 100644
--- a/protocols/Telegram/src/t_proto.h
+++ b/protocols/Telegram/src/t_proto.h
@@ -80,11 +80,13 @@ public:
static INT_PTR EventGetIcon(WPARAM wParam, LPARAM lParam);
static INT_PTR GetEventText(WPARAM, LPARAM lParam);
+ void TGLGetValue(tgl_value_type type, const char *prompt, int num_values, char **result);
- void OnMessage(tgl_message*);
+ void OnMessage(tgl_message*);
+ void OnUserTyping(tgl_user *U, tgl_typing_status status);
private:
@@ -92,6 +94,11 @@ private:
MirTLS *TLS;
static mir_cs accountsLock;
+ void ReadState();
+ void SaveState();
+
+ void ReadAuth();
+ void SaveAuth();
//---Accounts
static LIST<CTelegramProto> CTelegramProto::Accounts;