diff --git a/data/web/core.telegram.org/tdlib/docs/td__api_8h.html b/data/web/core.telegram.org/tdlib/docs/td__api_8h.html deleted file mode 100644 index fe0dbfe185..0000000000 --- a/data/web/core.telegram.org/tdlib/docs/td__api_8h.html +++ /dev/null @@ -1,3474 +0,0 @@ - - - -
- - - - -Contains declarations of all functions and types which represent a public TDLib interface.
-Go to the source code of this file.
--Typedefs | |
using | int32 = std::int32_t |
using | int53 = std::int64_t |
using | int64 = std::int64_t |
using | string = std::string |
using | bytes = std::string |
template<class Type > | |
using | array = std::vector< Type > |
using | BaseObject = ::td::TlObject |
template<class Type > | |
using | object_ptr = ::td::tl_object_ptr< Type > |
-Functions | |
template<class Type , class... Args> | |
object_ptr< Type > | make_object (Args &&... args) |
template<class ToType , class FromType > | |
object_ptr< ToType > | move_object_as (FromType &&from) |
std::string | to_string (const BaseObject &value) |
template<class T > | |
std::string | to_string (const object_ptr< T > &value) |
template<class T > | |
std::string | to_string (const std::vector< object_ptr< T >> &values) |
using int32 = std::int32_t | -
This type is used to store 32-bit signed integers, which can be represented as Number in JSON.
- -using int53 = std::int64_t | -
This type is used to store 53-bit signed integers, which can be represented as Number in JSON.
- -using int64 = std::int64_t | -
This type is used to store 64-bit signed integers, which can't be represented as Number in JSON and are represented as String instead.
- -using string = std::string | -
This type is used to store UTF-8 strings.
- -using bytes = std::string | -
This type is used to store arbitrary sequences of bytes. In JSON interface the bytes are base64-encoded.
- -using array = std::vector<Type> | -
This type is used to store a list of objects of any type and is represented as Array in JSON.
- -using BaseObject = ::td::TlObject | -
This class is a base class for all TDLib API classes and functions.
- -using object_ptr = ::td::tl_object_ptr<Type> | -
A smart wrapper to store a pointer to a TDLib API object. Can be treated as an analogue of std::unique_ptr.
- -object_ptr<Type> td::td_api::make_object | -( | -Args &&... | -args | ) | -- |
A function to create a dynamically allocated TDLib API object. Can be treated as an analogue of std::make_unique. Usage example:
Type | Type of an object to construct. |
[in] | args | Arguments to pass to the object constructor. |
object_ptr<ToType> td::td_api::move_object_as | -( | -FromType && | -from | ) | -- |
A function to cast a wrapped in td::td_api::object_ptr TDLib API object to its subclass or superclass. Casting an object to an incorrect type will lead to undefined behaviour. Usage example:
ToType | Type of a TDLib API object to move to. |
FromType | Type of a TDLib API object to move from, this is auto-deduced. |
[in] | from | Wrapped in td::td_api::object_ptr pointer to a TDLib API object. |
std::string td::td_api::to_string | -( | -const BaseObject & | -value | ) | -- |
Returns a string representation of a TDLib API object.
[in] | value | The object. |
std::string td::td_api::to_string | -( | -const object_ptr< T > & | -value | ) | -- |
Returns a string representation of a TDLib API object.
T | Object type, auto-deduced. |
[in] | value | The object. |
std::string td::td_api::to_string | -( | -const std::vector< object_ptr< T >> & | -values | ) | -- |
Returns a string representation of a list of TDLib API objects.
T | Object type, auto-deduced. |
[in] | values | The objects. |