mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
links preview done
This commit is contained in:
@@ -32,6 +32,10 @@ public:
|
||||
|
||||
void requestFullPeer(PeerData *peer);
|
||||
|
||||
void requestWebPageDelayed(WebPageData *page);
|
||||
void clearWebPageRequest(WebPageData *page);
|
||||
void clearWebPageRequests();
|
||||
|
||||
~ApiWrap();
|
||||
|
||||
signals:
|
||||
@@ -41,6 +45,7 @@ signals:
|
||||
public slots:
|
||||
|
||||
void resolveReplyTo();
|
||||
void resolveWebPages();
|
||||
|
||||
private:
|
||||
|
||||
@@ -61,4 +66,9 @@ private:
|
||||
typedef QMap<PeerData*, mtpRequestId> FullRequests;
|
||||
FullRequests _fullRequests;
|
||||
|
||||
void gotWebPages(const MTPmessages_Messages &result, mtpRequestId req);
|
||||
typedef QMap<WebPageData*, mtpRequestId> WebPagesPending;
|
||||
WebPagesPending _webPagesPending;
|
||||
SingleTimer _webPagesTimer;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user