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

Arguments for Api::setBusinessAccountProfilePhoto. More...

#include <Types.h>

Public Attributes

std::string businessConnectionId { }
 Unique identifier of the business connection.
std::shared_ptr< InputProfilePhoto > photo { }
 The new profile photo to set.
bool isPublic = false
 Pass True to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings. An account can have only one public photo.
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::setBusinessAccountProfilePhoto.

Definition at line 20346 of file Types.h.

Member Data Documentation

◆ attachments

std::vector<InputFileAttachment> TgBot::SetBusinessAccountProfilePhotoArgs::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 20369 of file Types.h.

◆ businessConnectionId

std::string TgBot::SetBusinessAccountProfilePhotoArgs::businessConnectionId { }

Unique identifier of the business connection.

Definition at line 20350 of file Types.h.

◆ isPublic

bool TgBot::SetBusinessAccountProfilePhotoArgs::isPublic = false

Pass True to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings. An account can have only one public photo.

Definition at line 20362 of file Types.h.

◆ photo

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

The new profile photo to set.

Definition at line 20355 of file Types.h.


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