From 6840c5c933e790eed95d6a8565243d5c6c6cfbca Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 23 Dec 2021 18:40:52 +0300 Subject: [PATCH] Fix td_json documentation. --- td/telegram/td_json_client.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/td/telegram/td_json_client.h b/td/telegram/td_json_client.h index 937b8b8d8..40a0c7b90 100644 --- a/td/telegram/td_json_client.h +++ b/td/telegram/td_json_client.h @@ -18,8 +18,6 @@ * Fields of Bool type are stored as Boolean, fields of int32, int53, and double types are stored as Number, fields of * int64 and string types are stored as String, fields of bytes type are base64 encoded and then stored as String, * fields of array type are stored as Array. - * The main TDLib interface is asynchronous. To match requests with a corresponding response a field "@extra" can - * be added to the request object. The corresponding response will have an "@extra" field with exactly the same value. * * The main TDLib interface is asynchronous. To match requests with a corresponding response, the field "@extra" can * be added to the request object. The corresponding response will have an "@extra" field with exactly the same value. @@ -114,6 +112,9 @@ TDJSON_EXPORT void td_set_log_message_callback(int max_verbosity_level, td_log_m * * Objects and functions serialization to JSON is the same for both JSON interfaces. * + * The main TDLib interface is asynchronous. To match requests with a corresponding response a field "@extra" can + * be added to the request object. The corresponding response will have an "@extra" field with exactly the same value. + * * A TDLib client instance can be created through td_json_client_create. * Requests then can be sent using td_json_client_send from any thread. * New updates and request responses can be received through td_json_client_receive from any thread. This function