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

The paid media to send is a photo. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputPaidMediaPhoto>

Public Attributes

std::string type { TYPE }
 Type of the media, must be photo.
std::string media { }
 File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

The paid media to send is a photo.

Definition at line 6998 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 6999 of file Types.h.

Member Data Documentation

◆ media

std::string TgBot::InputPaidMediaPhoto::media { }

File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »

Definition at line 7014 of file Types.h.

◆ TYPE

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

Definition at line 7001 of file Types.h.

◆ type

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

Type of the media, must be photo.

Definition at line 7006 of file Types.h.


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