From 5d20eeecbaba7102e257dae06c8cfc43f2ebce4d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 Nov 2024 15:43:52 +0300 Subject: fixes #4764 (Telegram: animated sitckers in TGA format are converted into PNG on the fly) --- protocols/Telegram/src/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Telegram/src/proto.h') 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 CMStringA GetFormattedText(TD::object_ptr &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); -- cgit v1.2.3