|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes a topic of a direct messages chat. https://core.telegram.org/bots/api#directmessagestopic. More...
#include <DirectMessagesTopic.hpp>
Public Member Functions | |
| DirectMessagesTopic ()=default | |
| DirectMessagesTopic (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| std::int64_t | topicId {} |
| Unique identifier of the topic. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. | |
| Ptr< User > | user |
| Optional. Information about the user that created the topic. Currently, it is always present. | |
Describes a topic of a direct messages chat. https://core.telegram.org/bots/api#directmessagestopic.
Definition at line 8 of file DirectMessagesTopic.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file DirectMessagesTopic.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 33 of file DirectMessagesTopic.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 25 of file DirectMessagesTopic.hpp.
| std::int64_t tgbotxx::DirectMessagesTopic::topicId {} |
Unique identifier of the topic. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
Definition at line 17 of file DirectMessagesTopic.hpp.
Optional. Information about the user that created the topic. Currently, it is always present.
Definition at line 20 of file DirectMessagesTopic.hpp.