171 std::unique_ptr<Impl> impl_;
286 std::unique_ptr<Impl> impl_;
static Response execute(Request &&request)
void send(ClientId client_id, RequestId request_id, td_api::object_ptr< td_api::Function > &&request)
static ClientManager * get_manager_singleton()
RequestId request_id
Definition: Client.h:101
Response receive(double timeout)
std::int32_t ClientId
Definition: Client.h:65
td_api::object_ptr< td_api::Object > object
Definition: Client.h:249
ClientId client_id
Definition: Client.h:96
::td::tl_object_ptr< Type > object_ptr
Definition: td_api.h:58
void(*)(int verbosity_level, const char *message) LogMessageCallbackPtr
Definition: Client.h:134
Client & operator=(Client &&other) noexcept
td_api::object_ptr< td_api::Object > object
Definition: Client.h:106
void send(Request &&request)
ClientManager & operator=(ClientManager &&other) noexcept
static void set_log_message_callback(int max_verbosity_level, LogMessageCallbackPtr callback)
std::uint64_t RequestId
Definition: Client.h:72
ClientId create_client_id()
std::uint64_t id
Definition: Client.h:223
Response receive(double timeout)
std::uint64_t id
Definition: Client.h:244
static td_api::object_ptr< td_api::Object > execute(td_api::object_ptr< td_api::Function > &&request)