tgbot-cpp
Loading...
Searching...
No Matches
TgBot::DirectMessagesTopic Struct Reference

Describes a topic of a direct messages chat. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<DirectMessagesTopic>

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.
std::shared_ptr< Useruser { }
 Optional. Information about the user that created the topic. Currently, it is always present.

Detailed Description

Describes a topic of a direct messages chat.

Definition at line 3307 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 3308 of file Types.h.

Member Data Documentation

◆ topicId

std::int64_t TgBot::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 3316 of file Types.h.

◆ user

std::shared_ptr<User> TgBot::DirectMessagesTopic::user { }

Optional. Information about the user that created the topic. Currently, it is always present.

Definition at line 3322 of file Types.h.


The documentation for this struct was generated from the following file: