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

Method finishExport

Telegram/SourceFiles/export/export_api_wrap.cpp:1538–1544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1536}
1537
1538void ApiWrap::finishExport(FnMut<void()> done) {
1539 const auto guard = gsl::finally([&] { _takeoutId = std::nullopt; });
1540
1541 mainRequest(MTPaccount_FinishTakeoutSession(
1542 MTP_flags(MTPaccount_FinishTakeoutSession::Flag::f_success)
1543 )).done(std::move(done)).send();
1544}
1545
1546void ApiWrap::skipFile(uint64 randomId) {
1547 if (!_fileProcess || _fileProcess->randomId != randomId) {

Callers 2

exportNextMethod · 0.80
exportTopicMethod · 0.80

Calls 3

MTP_flagsFunction · 0.85
sendMethod · 0.45
doneMethod · 0.45

Tested by

no test coverage detected