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

This object represents a chat photo. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ChatPhoto>

Public Attributes

std::string smallFileId { }
 File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.
std::string smallFileUniqueId { }
 Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
std::string bigFileId { }
 File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.
std::string bigFileUniqueId { }
 Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

Detailed Description

This object represents a chat photo.

Definition at line 2907 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 2908 of file Types.h.

Member Data Documentation

◆ bigFileId

std::string TgBot::ChatPhoto::bigFileId { }

File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

Definition at line 2926 of file Types.h.

◆ bigFileUniqueId

std::string TgBot::ChatPhoto::bigFileUniqueId { }

Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

Definition at line 2932 of file Types.h.

◆ smallFileId

std::string TgBot::ChatPhoto::smallFileId { }

File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

Definition at line 2914 of file Types.h.

◆ smallFileUniqueId

std::string TgBot::ChatPhoto::smallFileUniqueId { }

Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

Definition at line 2920 of file Types.h.


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