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

Method exportContacts

Telegram/SourceFiles/export/export_controller.cpp:548–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548void ControllerObject::exportContacts() {
549 setState(stateContacts());
550 _api.requestContacts([=](Data::ContactsList &&result) {
551 if (ioCatchError(_writer->writeContactsList(result))) {
552 return;
553 }
554 exportNext();
555 });
556}
557
558void ControllerObject::exportSessions() {
559 setState(stateSessions());

Callers

nothing calls this directly

Calls 2

requestContactsMethod · 0.45
writeContactsListMethod · 0.45

Tested by

no test coverage detected