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
4
#include "
tgbot/types/InputMedia.h
"
5
6
#include <memory>
7
#include <string>
8
9
namespace
TgBot
{
10
16
class
InputMediaDocument
:
public
InputMedia
{
17
18
public
:
19
static
const
std::string
TYPE
;
20
21
typedef
std::shared_ptr<InputMediaDocument>
Ptr
;
22
23
InputMediaDocument
() {
24
this->
type
=
TYPE
;
25
}
26
35
std::string
thumb
;
36
41
bool
disableContentTypeDetection
;
42
};
43
}
44
45
#endif
//TGBOT_INPUTMEDIADOCUMENT_H
InputMedia.h
TgBot::InputMediaDocument
Represents a general file to be sent.
Definition
InputMediaDocument.h:16
TgBot::InputMediaDocument::disableContentTypeDetection
bool disableContentTypeDetection
Optional. Disables automatic server-side content type detection for files uploaded using multipart/fo...
Definition
InputMediaDocument.h:41
TgBot::InputMediaDocument::TYPE
static const std::string TYPE
Definition
InputMediaDocument.h:19
TgBot::InputMediaDocument::InputMediaDocument
InputMediaDocument()
Definition
InputMediaDocument.h:23
TgBot::InputMediaDocument::thumb
std::string thumb
Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supporte...
Definition
InputMediaDocument.h:35
TgBot::InputMediaDocument::Ptr
std::shared_ptr< InputMediaDocument > Ptr
Definition
InputMediaDocument.h:21
TgBot::InputMedia
This abstract class is base of all input media.
Definition
InputMedia.h:19
TgBot::InputMedia::type
std::string type
Type of the result.
Definition
InputMedia.h:30
TgBot
Definition
Api.h:39
include
tgbot
types
InputMediaDocument.h
Generated on Mon Mar 4 2024 01:37:26 for tgbot-cpp by
1.10.0