diff options
Diffstat (limited to 'protocols/Telegram/src/proto.h')
-rw-r--r-- | protocols/Telegram/src/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Telegram/src/proto.h b/protocols/Telegram/src/proto.h index 6295784b9c..4431ebe232 100644 --- a/protocols/Telegram/src/proto.h +++ b/protocols/Telegram/src/proto.h @@ -91,6 +91,8 @@ struct TG_USER CMStringW wszNick, wszFirstName, wszLastName; time_t m_timer1 = 0, m_timer2 = 0; SESSION_INFO *m_si = nullptr; + + CMStringW getDisplayName() const; }; struct TG_SUPER_GROUP @@ -249,6 +251,7 @@ class CTelegramProto : public PROTO<CTelegramProto> TG_USER* FindUser(int64_t id); TG_USER* AddUser(int64_t id, bool bIsChat); TG_USER* AddFakeUser(int64_t id, bool bIsChat); + TG_USER* GetSender(const TD::MessageSender *pSender); void SetId(MCONTACT, int64_t id); // Popups |