tgbot-cpp
Loading...
Searching...
No Matches
InputMediaPhoto.h
Go to the documentation of this file.
1
#ifndef TGBOT_INPUTMEDIAPHOTO_H
2
#define TGBOT_INPUTMEDIAPHOTO_H
3
4
#include "
tgbot/types/InputMedia.h
"
5
6
#include <memory>
7
8
namespace
TgBot
{
9
15
class
InputMediaPhoto
:
public
InputMedia
{
16
public
:
17
static
const
std::string
TYPE
;
18
19
typedef
std::shared_ptr<InputMediaPhoto>
Ptr
;
20
21
InputMediaPhoto
() {
22
this->
type
=
TYPE
;
23
}
24
28
bool
hasSpoiler
;
29
};
30
}
31
32
#endif
//TGBOT_INPUTMEDIAPHOTO_H
InputMedia.h
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::InputMediaPhoto
Represents a photo to be sent.
Definition
InputMediaPhoto.h:15
TgBot::InputMediaPhoto::Ptr
std::shared_ptr< InputMediaPhoto > Ptr
Definition
InputMediaPhoto.h:19
TgBot::InputMediaPhoto::hasSpoiler
bool hasSpoiler
Optional. Pass True if the photo needs to be covered with a spoiler animation.
Definition
InputMediaPhoto.h:28
TgBot::InputMediaPhoto::TYPE
static const std::string TYPE
Definition
InputMediaPhoto.h:17
TgBot::InputMediaPhoto::InputMediaPhoto
InputMediaPhoto()
Definition
InputMediaPhoto.h:21
TgBot
Definition
Api.h:40
include
tgbot
types
InputMediaPhoto.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0