summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-11-04 15:43:52 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-11-04 15:43:52 +0300
commit5d20eeecbaba7102e257dae06c8cfc43f2ebce4d (patch)
treefc868b513a663cccd4f770edd0f2754bf7fb4570 /protocols/Telegram/src/proto.h
parent2829883e8d5116bb7f0983022e08791aa1aa47c3 (diff)
fixes #4764 (Telegram: animated sitckers in TGA format are converted into PNG on the fly)
Diffstat (limited to 'protocols/Telegram/src/proto.h')
-rw-r--r--protocols/Telegram/src/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/proto.h b/protocols/Telegram/src/proto.h
index f79a7f6028..dec95199dc 100644
--- a/protocols/Telegram/src/proto.h
+++ b/protocols/Telegram/src/proto.h
@@ -304,7 +304,7 @@ class CTelegramProto : public PROTO<CTelegramProto>
CMStringA GetFormattedText(TD::object_ptr<TD::formattedText> &pText);
CMStringA GetMessagePreview(const TD::file *pFile);
- CMStringA GetMessageSticker(const TD::file *pFile, const char *pwszExtension);
+ CMStringA GetMessageSticker(const TD::file *pFile, const TD::ThumbnailFormat *pFormat);
CMStringA GetMessageText(TG_USER *pUser, const TD::message *pMsg, bool bSkipJoin = false, bool bRead = false);
void UpdateString(MCONTACT hContact, const char *pszSetting, const std::string &str);