The paid media to send is a photo.
More...
#include <Types.h>
|
| 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 »
|
The paid media to send is a photo.
Definition at line 6998 of file Types.h.
◆ Ptr
◆ 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 |
◆ 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: