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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputPaidMediaLivePhoto>

Public Attributes

std::string type { TYPE }
 Type of the media, must be live_photo.
std::string media { }
 Video of the live photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) 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 ». Sending live photos by a URL is currently unsupported.
std::string photo { }
 The static photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) 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 ». Sending live photos by a URL is currently unsupported.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

The paid media to send is a live photo.

Definition at line 6964 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 6965 of file Types.h.

Member Data Documentation

◆ media

std::string TgBot::InputPaidMediaLivePhoto::media { }

Video of the live photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) 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 ». Sending live photos by a URL is currently unsupported.

Definition at line 6980 of file Types.h.

◆ photo

std::string TgBot::InputPaidMediaLivePhoto::photo { }

The static photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) 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 ». Sending live photos by a URL is currently unsupported.

Definition at line 6988 of file Types.h.

◆ TYPE

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

Definition at line 6967 of file Types.h.

◆ type

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

Type of the media, must be live_photo.

Definition at line 6972 of file Types.h.


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