| 175 | } |
| 176 | |
| 177 | void 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 | |
| 181 | void 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())); |
nothing calls this directly
no outgoing calls
no test coverage detected