diff options
author | George Hazan <ghazan@miranda.im> | 2023-04-24 16:32:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-04-24 16:32:55 +0300 |
commit | b03b8c0267b26c418880ec03c33ccba59a8cf2d0 (patch) | |
tree | a4dffdbd246199280ad1d2afe7a5322bb4c5f2a2 /protocols/Telegram/src/proto.h | |
parent | 7a11ce58becfc750e5b4a9bb07102f8d334bbcf6 (diff) |
Telegram: working offline files without Miranda f/t
Diffstat (limited to 'protocols/Telegram/src/proto.h')
-rw-r--r-- | protocols/Telegram/src/proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Telegram/src/proto.h b/protocols/Telegram/src/proto.h index 95c98a0739..9dca2f81ec 100644 --- a/protocols/Telegram/src/proto.h +++ b/protocols/Telegram/src/proto.h @@ -71,10 +71,11 @@ struct TG_FILE_REQUEST : public MZeroedObject {} Type m_type; + bool m_bOpen = false; + MEVENT m_hEvent = 0; TD::int53 m_fileId; CMStringA m_uniqueId; CMStringW m_destPath, m_fileName; - PROTOFILETRANSFERSTATUS pfts; }; struct TG_USER : public MZeroedObject @@ -192,6 +193,7 @@ class CTelegramProto : public PROTO<CTelegramProto> } void OnEndSession(td::ClientManager::Response &response); + void OnGetFileInfo(td::ClientManager::Response &response, void *pUserInfo); void OnSearchResults(td::ClientManager::Response &response); void OnSendMessage(td::ClientManager::Response &response, void *pUserInfo); void OnUpdateAuth(td::ClientManager::Response &response); |