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

A named multipart file referenced from a Telegram API argument as attach://name. More...

#include <InputFile.h>

Public Attributes

std::string name
 Multipart form field name used in the attach:// reference.
std::shared_ptr< InputFilefile
 File contents to upload under the specified name.

Detailed Description

A named multipart file referenced from a Telegram API argument as attach://name.

Definition at line 72 of file InputFile.h.

Member Data Documentation

◆ file

std::shared_ptr<InputFile> TgBot::InputFileAttachment::file

File contents to upload under the specified name.

Definition at line 81 of file InputFile.h.

◆ name

std::string TgBot::InputFileAttachment::name

Multipart form field name used in the attach:// reference.

Definition at line 76 of file InputFile.h.


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