tgbot-cpp
Loading...
Searching...
No Matches
InputMediaDocument.h
Go to the documentation of this file.
1#ifndef TGBOT_INPUTMEDIADOCUMENT_H
2#define TGBOT_INPUTMEDIADOCUMENT_H
3
5
6#include <memory>
7#include <string>
8
9namespace TgBot {
10
17
18public:
19 static const std::string TYPE;
20
21 typedef std::shared_ptr<InputMediaDocument> Ptr;
22
24 this->type = TYPE;
25 }
26
35 std::string thumbnail;
36
42};
43}
44
45#endif //TGBOT_INPUTMEDIADOCUMENT_H
Represents a general file to be sent.
bool disableContentTypeDetection
Optional. Disables automatic server-side content type detection for files uploaded using multipart/fo...
static const std::string TYPE
std::string thumbnail
Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supporte...
std::shared_ptr< InputMediaDocument > Ptr
This abstract class is base of all input media.
Definition InputMedia.h:19
std::string type
Type of the result.
Definition InputMedia.h:30
Definition Api.h:40