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

Represents a community (a group of chats). More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<Community>

Public Attributes

std::int64_t id { }
 Unique identifier for this community. 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 signed 64-bit integer or double-precision float type are safe for storing this identifier.
std::string name { }
 Name of the community.

Detailed Description

Represents a community (a group of chats).

Definition at line 3153 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::Community::Ptr = std::shared_ptr<Community>

Definition at line 3154 of file Types.h.

Member Data Documentation

◆ id

std::int64_t TgBot::Community::id { }

Unique identifier for this community. 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 signed 64-bit integer or double-precision float type are safe for storing this identifier.

Definition at line 3162 of file Types.h.

◆ name

std::string TgBot::Community::name { }

Name of the community.

Definition at line 3167 of file Types.h.


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