5 #ifndef YATBCPP_SENDVIDEO_H 6 #define YATBCPP_SENDVIDEO_H 8 #include "../types/Chat.h" 9 #include "../types/Message.h" 10 #include "../types/ReplyKeyboardMarkup.h" 11 #include "../types/ReplyKeyboardMarkup.h" 12 #include "../types/ReplyKeyboardRemove.h" 13 #include "../types/ForceReply.h" 22 void add_to_post(
struct curl_httppost **start,
struct curl_httppost **end);
39 sendVideo(std::string chat_id,std::string video);
68 const std::optional<std::string> &
getCaption()
const;
70 const std::optional<unsigned int> &
getDuration()
const;
72 const std::optional<unsigned int> &
getWidth()
const;
74 const std::optional<unsigned int> &
getHeight()
const;
88 std::optional<unsigned int>
width;
96 #endif //YATBCPP_SENDVIDEO_H std::optional< bool > disable_notification
const std::optional< std::int32_t > & getReply_to_message_id() const
void setDuration(const std::optional< unsigned int > &duration)
const std::optional< std::string > & getCaption() const
const std::optional< unsigned int > & getHeight() const
void setDisable_notification(const std::optional< bool > &disable_notification)
void setWidth(const std::optional< unsigned int > &width)
std::optional< std::string > caption
const std::string & getChat_id() const
std::optional< unsigned int > height
const std::optional< unsigned int > & getWidth() const
void setCaption(const std::optional< std::string > &caption)
const std::optional< ReplyMarkup > & getReply_markup() const
const std::optional< bool > & getDisable_notification() const
void add_to_post(struct curl_httppost **start, struct curl_httppost **end)
std::optional< ReplyMarkup > reply_markup
void setReplyMarkup(const ReplyKeyboardMarkup RKM)
const std::optional< unsigned int > & getDuration() const
sendVideo(std::int64_t chat_id, std::string video)
const std::string & getVideo() const
std::optional< unsigned int > width
void setReply_to_message_id(const std::optional< int > &reply_to_message_id)
std::optional< unsigned int > duration
void setHeight(const std::optional< unsigned int > &height)
std::optional< std::int32_t > reply_to_message_id