171 std::unique_ptr<Impl> impl_;
286 std::unique_ptr<Impl> impl_;
Response receive(double timeout)
void send(Request &&request)
static Response execute(Request &&request)
Client(Client &&other) noexcept
Client & operator=(Client &&other) noexcept
static void set_log_message_callback(int max_verbosity_level, LogMessageCallbackPtr callback)
ClientManager(ClientManager &&other) noexcept
void(*)(int verbosity_level, const char *message) LogMessageCallbackPtr
void send(ClientId client_id, RequestId request_id, td_api::object_ptr< td_api::Function > &&request)
static ClientManager * get_manager_singleton()
ClientManager & operator=(ClientManager &&other) noexcept
Response receive(double timeout)
ClientId create_client_id()
static td_api::object_ptr< td_api::Object > execute(td_api::object_ptr< td_api::Function > &&request)
td_api::object_ptr< td_api::Function > function
td_api::object_ptr< td_api::Object > object
td_api::object_ptr< td_api::Object > object
::td::tl_object_ptr< Type > object_ptr