5 #ifndef YATBCPP_SENDVOICE_H 6 #define YATBCPP_SENDVOICE_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 sendVoice(std::string chat_id,std::string voice);
64 const std::optional<std::string> &
getCaption()
const;
66 const std::optional<unsigned int> &
getDuration()
const;
86 #endif //YATBCPP_SENDVOICE_H
std::optional< unsigned int > duration
const std::optional< bool > & getDisable_notification() const
const std::optional< int > & getReply_to_message_id() const
void setReply_to_message_id(const std::optional< int > &reply_to_message_id)
void setDuration(const std::optional< unsigned int > &duration)
void setCaption(const std::optional< std::string > &caption)
const std::optional< std::string > & getCaption() const
void setReplyMarkup(const ReplyKeyboardMarkup RKM)
std::optional< bool > disable_notification
const std::string & getChat_id() const
const std::optional< unsigned int > & getDuration() const
void setDisable_notification(const std::optional< bool > &disable_notification)
const std::optional< ReplyMarkup > & getReply_markup() const
std::optional< ReplyMarkup > reply_markup
sendVoice(std::int64_t chat_id, std::string voice)
const std::string & getVoice() const
void add_to_post(struct curl_httppost **start, struct curl_httppost **end)
std::optional< int > reply_to_message_id
std::optional< std::string > caption