From 435e4e483d0293c6825ac96a2b97587d6af9d51a Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 8 Jul 2022 11:21:31 +0300 Subject: [PATCH] Clarify verbosiy level range in the documentation. --- td/telegram/Client.h | 2 +- td/telegram/ClientDotNet.cpp | 2 +- td/telegram/td_json_client.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/td/telegram/Client.h b/td/telegram/Client.h index b8c1e814f..01dc8ac02 100644 --- a/td/telegram/Client.h +++ b/td/telegram/Client.h @@ -126,7 +126,7 @@ class ClientManager final { /** * A type of callback function that will be called when a message is added to the internal TDLib log. * - * \param verbosity_level Log verbosity level with which the message was added (-1 - 1024). + * \param verbosity_level Log verbosity level with which the message was added from -1 up to 1024. * If 0, then TDLib will crash as soon as the callback returns. * None of the TDLib methods can be called from the callback. * \param message Null-terminated UTF-8-encoded string with the message added to the log. diff --git a/td/telegram/ClientDotNet.cpp b/td/telegram/ClientDotNet.cpp index 8d4709e18..25b2a8b07 100644 --- a/td/telegram/ClientDotNet.cpp +++ b/td/telegram/ClientDotNet.cpp @@ -25,7 +25,7 @@ using namespace CxCli; /// /// A type of callback function that will be called when a message is added to the internal TDLib log. /// -/// Log verbosity level with which the message was added (-1 - 1024). +/// Log verbosity level with which the message was added from -1 up to 1024. /// If 0, then TDLib will crash as soon as the callback returns. /// None of the TDLib methods can be called from the callback. /// Null-terminated string with the message added to the log. diff --git a/td/telegram/td_json_client.h b/td/telegram/td_json_client.h index e6e0c2ded..a12fa01b6 100644 --- a/td/telegram/td_json_client.h +++ b/td/telegram/td_json_client.h @@ -88,7 +88,7 @@ TDJSON_EXPORT const char *td_execute(const char *request); /** * A type of callback function that will be called when a message is added to the internal TDLib log. * - * \param verbosity_level Log verbosity level with which the message was added (-1 - 1024). + * \param verbosity_level Log verbosity level with which the message was added from -1 up to 1024. * If 0, then TDLib will crash as soon as the callback returns. * None of the TDLib methods can be called from the callback. * \param message Null-terminated UTF-8-encoded string with the message added to the log.