tgbot-cpp
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
c
i
m
p
s
Enumerations
Related Symbols
Files
File List
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
InputMediaVideo.h
Go to the documentation of this file.
1
#ifndef TGBOT_INPUTMEDIAVIDEO_H
2
#define TGBOT_INPUTMEDIAVIDEO_H
3
4
#include "
tgbot/types/InputMedia.h
"
5
#include "
tgbot/types/InputFile.h
"
6
7
#include <memory>
8
#include <string>
9
10
namespace
TgBot
{
11
17
class
InputMediaVideo
:
public
InputMedia
{
18
public
:
19
static
const
std::string
TYPE
;
20
21
typedef
std::shared_ptr<InputMediaVideo>
Ptr
;
22
23
InputMediaVideo
() {
24
this->
type
=
TYPE
;
25
}
23
InputMediaVideo
() {
…
}
26
36
std::string
thumbnail
;
37
41
std::int32_t
width
;
42
46
std::int32_t
height
;
47
51
std::int32_t
duration
;
52
56
bool
supportsStreaming
;
57
61
bool
hasSpoiler
;
62
};
17
class
InputMediaVideo
:
public
InputMedia
{
…
};
63
}
64
65
#endif
//TGBOT_INPUTMEDIAVIDEO_H
InputFile.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::InputMediaVideo
Represents a video to be sent.
Definition
InputMediaVideo.h:17
TgBot::InputMediaVideo::hasSpoiler
bool hasSpoiler
Optional. Pass True if the video needs to be covered with a spoiler animation.
Definition
InputMediaVideo.h:61
TgBot::InputMediaVideo::InputMediaVideo
InputMediaVideo()
Definition
InputMediaVideo.h:23
TgBot::InputMediaVideo::thumbnail
std::string thumbnail
Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supporte...
Definition
InputMediaVideo.h:36
TgBot::InputMediaVideo::Ptr
std::shared_ptr< InputMediaVideo > Ptr
Definition
InputMediaVideo.h:21
TgBot::InputMediaVideo::TYPE
static const std::string TYPE
Definition
InputMediaVideo.h:19
TgBot::InputMediaVideo::height
std::int32_t height
Optional. Video height.
Definition
InputMediaVideo.h:46
TgBot::InputMediaVideo::duration
std::int32_t duration
Optional. Video duration in seconds.
Definition
InputMediaVideo.h:51
TgBot::InputMediaVideo::supportsStreaming
bool supportsStreaming
Optional. Pass True if the uploaded video is suitable for streaming.
Definition
InputMediaVideo.h:56
TgBot::InputMediaVideo::width
std::int32_t width
Optional. Video width.
Definition
InputMediaVideo.h:41
TgBot
Definition
Api.h:40
include
tgbot
types
InputMediaVideo.h
Generated on Mon Feb 24 2025 20:52:54 for tgbot-cpp by
1.12.0