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

A static profile photo in the .JPG format. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputProfilePhotoStatic>

Public Attributes

std::string type { TYPE }
 Type of the profile photo, must be static.
std::string photo { }
 The static profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A static profile photo in the .JPG format.

Definition at line 7210 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7211 of file Types.h.

Member Data Documentation

◆ photo

std::string TgBot::InputProfilePhotoStatic::photo { }

The static profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »

Definition at line 7225 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::InputProfilePhotoStatic::TYPE
static

Definition at line 7213 of file Types.h.

◆ type

std::string TgBot::InputProfilePhotoStatic::type { TYPE }

Type of the profile photo, must be static.

Definition at line 7218 of file Types.h.


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