5 #ifndef YATBCPP_SENDAUDIO_H 6 #define YATBCPP_SENDAUDIO_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 sendAudio(std::string chat_id,std::string audio);
68 const std::optional<std::string> &
getCaption()
const;
70 const std::optional<std::string> &
getDuration()
const;
74 const std::optional<std::string> &
getTitle()
const;
89 std::optional<std::string>
title;
96 #endif //YATBCPP_SENDAUDIO_H const std::optional< std::string > & getCaption() const
void setCaption(const std::optional< std::string > &caption)
const std::optional< std::string > & getPerformer() const
sendAudio(std::int64_t chat_id, std::string audio)
void setDisable_notification(const std::optional< bool > &disable_notification)
const std::string & getChat_id() const
const std::string & getAudio() const
void setTitle(const std::optional< std::string > &title)
void setReply_to_message_id(const std::optional< int > &reply_to_message_id)
void setReplyMarkup(const ReplyKeyboardMarkup RKM)
const std::optional< std::string > & getTitle() const
const std::optional< ReplyMarkup > & getReply_markup() const
std::optional< bool > disable_notification
std::optional< ReplyMarkup > reply_markup
const std::optional< std::string > & getDuration() const
const std::optional< std::int32_t > & getReply_to_message_id() const
void add_to_post(struct curl_httppost **start, struct curl_httppost **end)
std::optional< std::int32_t > reply_to_message_id
std::optional< std::string > duration
void setDuration(const std::optional< std::string > &duration)
const std::optional< bool > & getDisable_notification() const
std::optional< std::string > title
std::optional< std::string > caption
void setPerformer(const std::optional< std::string > &performer)
std::optional< std::string > performer