MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / tonlib_do_send_request

Method tonlib_do_send_request

runners/BaseRunner.cpp:461–464  ·  view source on GitHub ↗

* * TONLIB * */

Source from the content-addressed store, hash-verified

459 *
460 */
461void BaseRunner::tonlib_do_send_request(ton::tl_object_ptr<ton::tonlib_api::Function> func,
462 td::Promise<ton::tl_object_ptr<ton::tonlib_api::Object>> cb) {
463 connect(std::move(cb), tonlib_wrapper_.request_raw(std::move(func)));
464}
465
466void BaseRunner::send_external_message(const block::StdAddress &to, td::Ref<vm::Cell> code, td::Ref<vm::Cell> data,
467 td::Promise<td::Unit> promise) {

Callers

nothing calls this directly

Calls 1

request_rawMethod · 0.80

Tested by

no test coverage detected