MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / refreshFileReference

Method refreshFileReference

Telegram/SourceFiles/apiwrap.cpp:2590–2599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2588}
2589
2590void ApiWrap::refreshFileReference(
2591 Data::FileOrigin origin,
2592 not_null<Storage::DownloadMtprotoTask*> task,
2593 int requestId,
2594 const QByteArray &current) {
2595 return refreshFileReference(origin, crl::guard(task, [=](
2596 const UpdatedFileReferences &data) {
2597 task->refreshFileReferenceFrom(data, requestId, current);
2598 }));
2599}
2600
2601void ApiWrap::refreshFileReference(
2602 Data::FileOrigin origin,

Callers 1

requestFileReferenceMethod · 0.45

Calls 15

FullStoryIdClass · 0.85
IsStoryMsgIdFunction · 0.85
PeerIdClass · 0.85
StoryIdFromMsgIdFunction · 0.85
MTP_flagsFunction · 0.85
MTP_longFunction · 0.85
MTP_stringFunction · 0.85
isScheduledMethod · 0.80
isSavedMusicItemMethod · 0.80
asUserMethod · 0.80
inputUserMethod · 0.80

Tested by

no test coverage detected