tgbot-cpp
Toggle main menu visibility
Loading...
Searching...
No Matches
HttpFormField.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <variant>
5
6
namespace
TgBot
{
7
11
struct
HttpFile
{
12
std::string
data
;
13
std::string
mimeType
;
14
std::string
fileName
;
15
};
16
20
struct
HttpFormField
{
21
std::string
name
;
22
std::variant<std::string, HttpFile>
value
;
23
};
24
25
}
// namespace TgBot
TgBot
Definition
Api.h:17
TgBot::HttpFile
Definition
HttpFormField.h:11
TgBot::HttpFile::data
std::string data
Definition
HttpFormField.h:12
TgBot::HttpFile::mimeType
std::string mimeType
Definition
HttpFormField.h:13
TgBot::HttpFile::fileName
std::string fileName
Definition
HttpFormField.h:14
TgBot::HttpFormField
Definition
HttpFormField.h:20
TgBot::HttpFormField::name
std::string name
Definition
HttpFormField.h:21
TgBot::HttpFormField::value
std::variant< std::string, HttpFile > value
Definition
HttpFormField.h:22
include
tgbot
HttpFormField.h
Generated on
for tgbot-cpp by
1.17.0