From 0f77335cd29dff59fc7587e62e5f94a04936e664 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 1 Dec 2023 21:34:08 +0300 Subject: =?UTF-8?q?fixes=20#4004=20(Telegram:=20=D1=81=D0=BF=D0=B8=D1=81?= =?UTF-8?q?=D0=BE=D0=BA=20=D1=81=D0=B5=D1=81=D1=81=D0=B8=D0=B9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Telegram/src/proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols/Telegram/src/proto.h') 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 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 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); -- cgit v1.2.3