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

Arguments for Api::setMyProfilePhoto. More...

#include <Types.h>

Public Attributes

std::shared_ptr< InputProfilePhoto > photo { }
 The new profile photo to set.
std::vector< InputFileAttachment > attachments = { }
 Files uploaded as named multipart parts. Reference each file from a composite Telegram API argument as attach://<name> and use the same name in InputFileAttachment.

Detailed Description

Arguments for Api::setMyProfilePhoto.

Definition at line 20751 of file Types.h.

Member Data Documentation

◆ attachments

std::vector<InputFileAttachment> TgBot::SetMyProfilePhotoArgs::attachments = { }

Files uploaded as named multipart parts. Reference each file from a composite Telegram API argument as attach://<name> and use the same name in InputFileAttachment.

Definition at line 20762 of file Types.h.

◆ photo

std::shared_ptr<InputProfilePhoto> TgBot::SetMyProfilePhotoArgs::photo { }

The new profile photo to set.

Definition at line 20755 of file Types.h.


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