5 #ifndef YATBCPP_SENDPHOTO_H 6 #define YATBCPP_SENDPHOTO_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);
38 sendPhoto(std::string chat_id,std::string photo);
61 const std::optional<std::string> &
getCaption()
const;
81 #endif //YATBCPP_SENDPHOTO_H
const std::string & getChat_id() const
std::optional< bool > disable_notification
const std::string & getPhoto() const
void setReplyMarkup(const ReplyKeyboardMarkup RKM)
const std::optional< ReplyMarkup > & getReply_markup() const
void setCaption(const std::optional< std::string > &caption)
void setReply_to_message_id(const std::optional< std::int32_t > &reply_to_message_id)
const std::optional< bool > & getDisable_notification() const
std::optional< std::string > caption
std::optional< ReplyMarkup > reply_markup
const std::optional< std::string > & getCaption() const
const std::optional< std::int32_t > & getReply_to_message_id() const
void setDisable_notification(const std::optional< bool > &disable_notification)
void add_to_post(struct curl_httppost **start, struct curl_httppost **end)
std::optional< std::int32_t > reply_to_message_id
sendPhoto(std::int64_t chat_id, std::string photo)