diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-29 20:23:00 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-29 20:23:00 +0300 |
commit | f667c9138be6ebb88972501c553384ab46c19a6d (patch) | |
tree | ef5a458559e1868ab07ee86f9dc35428b4ffb82f /protocols/Telegram/src/utils.h | |
parent | 79e717d8e8afe090495da64477b670f7b6434544 (diff) |
Telegram: message ids are unique only inside the same chat, not globally
Diffstat (limited to 'protocols/Telegram/src/utils.h')
-rw-r--r-- | protocols/Telegram/src/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Telegram/src/utils.h b/protocols/Telegram/src/utils.h index d924a4a137..1af5f4ee4c 100644 --- a/protocols/Telegram/src/utils.h +++ b/protocols/Telegram/src/utils.h @@ -7,3 +7,6 @@ TD::object_ptr<TD::inputFileLocal> makeFile(const wchar_t *pwszFilename); TD::object_ptr<TD::formattedText> formatBbcodes(const char *pszText);
TG_FILE_REQUEST::Type AutoDetectType(const wchar_t *pwszFilename);
+
+CMStringA msg2id(const TD::message *pMsg);
+CMStringA msg2id(TD::int53 chatId, TD::int53 msgId);
|