void on_error(uint64 id, Status status) override { td->messages_manager_->on_get_dialog_error(dialog_id_, status, "GetBotCallbackAnswerQuery"); td->callback_queries_manager_->on_get_callback_query_answer(result_id_, nullptr); promise_.set_error(std::move(status)); }
void on_error(uint64 id, Status status) override { promise_.set_error(std::move(status)); }