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

Method videoPreloadLocation

Telegram/SourceFiles/data/data_document.cpp:1651–1662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1649}
1650
1651StorageFileLocation DocumentData::videoPreloadLocation() const {
1652 return hasRemoteLocation()
1653 ? StorageFileLocation(
1654 _dc,
1655 session().userId(),
1656 MTP_inputDocumentFileLocation(
1657 MTP_long(id),
1658 MTP_long(_access),
1659 MTP_bytes(_fileReference),
1660 MTP_string()))
1661 : StorageFileLocation();
1662}
1663
1664auto DocumentData::createStreamingLoader(
1665 Data::FileOrigin origin,

Callers 2

VideoPreloadMethod · 0.80
CanMethod · 0.80

Calls 5

StorageFileLocationClass · 0.85
MTP_longFunction · 0.85
MTP_bytesFunction · 0.85
MTP_stringFunction · 0.85
userIdMethod · 0.45

Tested by

no test coverage detected