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

Arguments for Api::setChatPhoto. More...

#include <Types.h>

Public Attributes

std::variant< std::int64_t, std::string > chatId { }
 Unique identifier for the target chat or username of the target channel in the format @username.
std::variant< std::shared_ptr< InputFile >, std::string > photo { }
 New chat photo, uploaded using multipart/form-data.

Detailed Description

Arguments for Api::setChatPhoto.

Definition at line 20499 of file Types.h.

Member Data Documentation

◆ chatId

std::variant<std::int64_t, std::string> TgBot::SetChatPhotoArgs::chatId { }

Unique identifier for the target chat or username of the target channel in the format @username.

Definition at line 20504 of file Types.h.

◆ photo

std::variant<std::shared_ptr<InputFile>, std::string> TgBot::SetChatPhotoArgs::photo { }

New chat photo, uploaded using multipart/form-data.

Definition at line 20509 of file Types.h.


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