summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-29 13:10:29 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-29 13:10:29 +0300
commit1362e985f52a4501d3a7796fa63f290cffad0c88 (patch)
treed645f2a4640854ef5ead7334502e4f7fcf6554d3 /protocols/Telegram/src/proto.h
parent20527de0842736562241540bb90669b4135e966a (diff)
fixes #4248 (Telegram: add chat avatars support)
Diffstat (limited to 'protocols/Telegram/src/proto.h')
-rw-r--r--protocols/Telegram/src/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Telegram/src/proto.h b/protocols/Telegram/src/proto.h
index acf288aeba..b179b7d6f2 100644
--- a/protocols/Telegram/src/proto.h
+++ b/protocols/Telegram/src/proto.h
@@ -246,8 +246,9 @@ class CTelegramProto : public PROTO<CTelegramProto>
void SendMarkRead(void);
int SendQuery(TD::Function *pFunc, TG_QUERY_HANDLER pHandler = nullptr);
int SendQuery(TD::Function *pFunc, TG_QUERY_HANDLER_FULL pHandler, void *pUserInfo);
- int SendTextMessage(TD::int53 chatId, TD::int53 replyId, const char *pszMessage);
+ int SendTextMessage(int64_t chatId, int64_t replyId, const char *pszMessage);
+ void ProcessAvatar(const TD::file *pFile, TG_USER *pUser);
void ProcessAuth(TD::updateAuthorizationState *pObj);
void ProcessBasicGroup(TD::updateBasicGroup *pObj);
void ProcessBasicGroupInfo(TD::updateBasicGroupFullInfo *pObj);