diff options
author | George Hazan <george.hazan@gmail.com> | 2024-11-04 15:43:52 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-11-04 15:43:52 +0300 |
commit | 5d20eeecbaba7102e257dae06c8cfc43f2ebce4d (patch) | |
tree | fc868b513a663cccd4f770edd0f2754bf7fb4570 /protocols/Telegram/src/proto.h | |
parent | 2829883e8d5116bb7f0983022e08791aa1aa47c3 (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.h | 2 |
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); |