summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-01 21:34:08 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-01 21:34:08 +0300
commit0f77335cd29dff59fc7587e62e5f94a04936e664 (patch)
treec0fe38c03193f59ee58cb0981cf5d55ff1095db0 /protocols/Telegram/src/proto.h
parent8191a159edbc5d6245616c5a25d6b8f95b3f8a1a (diff)
fixes #4004 (Telegram: список сессий)
Diffstat (limited to 'protocols/Telegram/src/proto.h')
-rw-r--r--protocols/Telegram/src/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Telegram/src/proto.h b/protocols/Telegram/src/proto.h
index 32cec7fa60..db995e49be 100644
--- a/protocols/Telegram/src/proto.h
+++ b/protocols/Telegram/src/proto.h
@@ -150,6 +150,7 @@ class CTelegramProto : public PROTO<CTelegramProto>
friend class CReplyDlg;
friend class CForwardDlg;
friend class CReactionsDlg;
+ friend class COptSessionsDlg;
friend class CAddPhoneContactDlg;
class CProtoImpl
@@ -224,6 +225,8 @@ class CTelegramProto : public PROTO<CTelegramProto>
void OnGetFileInfo(td::ClientManager::Response &response, void *pUserInfo);
void OnGetFileLink(td::ClientManager::Response &response);
void OnGetHistory(td::ClientManager::Response &response, void *pUserInfo);
+ void OnGetSessions(td::ClientManager::Response &response, void *pUserInfo);
+ void OnKillSession(td::ClientManager::Response &response, void *pUserInfo);
void OnSendFile(td::ClientManager::Response &response, void *pUserInfo);
void OnSendMessage(td::ClientManager::Response &response);
void OnUpdateAuth(td::ClientManager::Response &response);