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

This object represents a chat photo. More...

#include <ChatPhoto.h>

Public Types

typedef std::shared_ptr< ChatPhotoPtr
 

Public Attributes

std::string smallFileId
 File identifier of small (160x160) chat photo. This fileId 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 fileId 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 14 of file ChatPhoto.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<ChatPhoto> TgBot::ChatPhoto::Ptr

Definition at line 17 of file ChatPhoto.h.

Member Data Documentation

◆ bigFileId

std::string TgBot::ChatPhoto::bigFileId

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

Definition at line 35 of file ChatPhoto.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 41 of file ChatPhoto.h.

◆ smallFileId

std::string TgBot::ChatPhoto::smallFileId

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

Definition at line 23 of file ChatPhoto.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 29 of file ChatPhoto.h.


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