::td::tl_object_ptr< Type > object_ptr
Definition: td_api.h:58
Definition: TdCallback.h:20
virtual void on_error(std::uint64_t id, td_api::object_ptr< td_api::error > error)=0
virtual void on_result(std::uint64_t id, td_api::object_ptr< td_api::Object > result)=0
virtual ~TdCallback()=default