mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
HistoryMedia always holds a pointer to its parent HistoryItem.
Using local cached data when sending media inline bot results.
This commit is contained in:
@@ -1101,6 +1101,12 @@ public:
|
||||
return MTP_inputDocumentEmpty();
|
||||
}
|
||||
|
||||
// When we have some client-side generated document
|
||||
// (for example for displaying an external inline bot result)
|
||||
// and it has downloaded data, we can collect that data from it
|
||||
// to (this) received from the server "same" document.
|
||||
void collectLocalData(DocumentData *local);
|
||||
|
||||
~DocumentData();
|
||||
|
||||
DocumentId id;
|
||||
|
Reference in New Issue
Block a user