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

Method send_query_answer

net/TcpConnection.cpp:177–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void TcpConnection::send_query_answer(td::int64 query_id, td::BufferSlice data) {
178 send(create_serialize_tl_object<cocoon_api::tcp_queryAnswer>(query_id, std::move(data)));
179}
180
181void TcpConnection::send_query_answer_error(td::int64 query_id, td::Status error) {
182 send(create_serialize_tl_object<cocoon_api::tcp_queryError>(query_id, error.code(), error.message().str()));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected