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

Function FileLoadTaskOptions

Telegram/SourceFiles/apiwrap.cpp:144–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144[[nodiscard]] FileLoadTo FileLoadTaskOptions(const Api::SendAction &action) {
145 const auto peer = action.history->peer;
146 return FileLoadTo(
147 peer->id,
148 action.options,
149 action.replyTo,
150 action.replaceMediaOf);
151}
152
153[[nodiscard]] QString FormatVideoTimestamp(TimeId seconds) {
154 const auto minutes = seconds / 60;

Callers 4

sendVoiceMessageMethod · 0.85
editMediaMethod · 0.85
sendFilesMethod · 0.85
sendFileMethod · 0.85

Calls 1

FileLoadToClass · 0.70

Tested by

no test coverage detected