Minor fixes.

This commit is contained in:
levlam 2020-11-20 01:32:58 +03:00
parent e719f9bf9b
commit d5da47510d
5 changed files with 6 additions and 3 deletions

View File

@ -200,7 +200,7 @@ Changes in 1.7.0:
- Added the field `can_get_statistics` to the class `supergroupFullInfo`.
- Added the class `ChatStatistics`, which represents a supergroup or a channel statistics.
- Added the method `getChatStatistics` returning detailed statistics about a chat.
- Added the classes `chatStatisticsMessageInteractionInfo`, `chatStatisticsAdministratorActionsInfo`,
- Added the classes `chatStatisticsMessageInteractionInfo`, `chatStatisticsAdministratorActionsInfo`,
`chatStatisticsMessageSenderInfo` and `chatStatisticsInviterInfo` representing various parts of chat statistics.
- Added the class `statisticalValue` describing recent changes of a statistical value.
- Added the class `StatisticalGraph` describing a statistical graph.

View File

@ -22,10 +22,12 @@
#include <algorithm>
#include <atomic>
#include <limits>
#include <memory>
#include <mutex>
#include <queue>
#include <unordered_map>
#include <unordered_set>
namespace td {

View File

@ -135,7 +135,7 @@ class Client final {
* The future native C++ interface for interaction with TDLib.
*
* A TDLib client instance can be created through the method ClientManager::create_client_id.
* Requests can then be sent using the method ClientManager::send from any thread.
* Requests can be sent using the method ClientManager::send from any thread.
* New updates and responses to requests can be received using the method ClientManager::receive from any thread after
* the first request has been sent to the client instance. ClientManager::receive must not be called simultaneously from
* two different threads. Also note that all updates and responses to requests should be applied in the same order as

View File

@ -103,7 +103,7 @@ TDJSON_EXPORT void td_json_client_destroy(void *client);
* a response or an update was received.
*
* A TDLib client instance can be created through td_create_client_id.
* Requests can then be sent using td_send and the received client identifier.
* Requests can be sent using td_send and the received client identifier.
* New updates and responses to requests can be received through td_receive from any thread after the first request
* has been sent to the client instance. This function must not be called simultaneously from two different threads.
* Also note that all updates and responses to requests must be applied in the order they were received for consistency.

View File

@ -10,6 +10,7 @@
#include "td/utils/port/ServerSocketFd.h"
#include "td/utils/port/SocketFd.h"
#include "td/utils/Slice.h"
namespace td {