#include "sendVoice.h"
Definition at line 18 of file sendVoice.h.
◆ sendVoice() [1/3]
yatbcpp::sendVoice::sendVoice |
( |
std::int64_t |
chat_id, |
|
|
std::string |
voice |
|
) |
| |
- Parameters
-
chat_id | |
voice,and | voice file id or an voice file location to send local files use methodMultipart |
◆ sendVoice() [2/3]
yatbcpp::sendVoice::sendVoice |
( |
std::string |
chat_id, |
|
|
std::string |
voice |
|
) |
| |
- Parameters
-
chat_id | |
voice,and | voice file id or an voice file location to send local files use methodMultipart |
◆ sendVoice() [3/3]
yatbcpp::sendVoice::sendVoice |
( |
Chat |
C, |
|
|
std::string |
voice |
|
) |
| |
- Parameters
-
C | |
voice,and | voice file id or an voice file location to send local files use methodMultipart |
◆ add_to_post()
void sendVoice::add_to_post |
( |
struct curl_httppost ** |
start, |
|
|
struct curl_httppost ** |
end |
|
) |
| |
|
virtual |
Method Required for derived classes so they can be made into Multipart object The Post Parts have to be added in it , upon end of request it is deleted in perform_requestMultipart
- Returns
Reimplemented from yatbcpp::telegram_methodMultipart< Message >.
Definition at line 61 of file sendVoice.cc.
◆ getCaption()
const optional< string > & sendVoice::getCaption |
( |
| ) |
const |
◆ getChat_id()
const string & sendVoice::getChat_id |
( |
| ) |
const |
◆ getDisable_notification()
const optional< bool > & sendVoice::getDisable_notification |
( |
| ) |
const |
◆ getDuration()
const optional< unsigned int > & sendVoice::getDuration |
( |
| ) |
const |
◆ getFunctionname() [1/2]
◆ getFunctionname() [2/2]
◆ getReply_markup()
const optional< ReplyMarkup > & sendVoice::getReply_markup |
( |
| ) |
const |
◆ getReply_to_message_id()
const optional< int32_t > & sendVoice::getReply_to_message_id |
( |
| ) |
const |
◆ getVoice()
const string & sendVoice::getVoice |
( |
| ) |
const |
◆ perform_requestJSON()
◆ perform_requestMultipart()
◆ setCaption()
void sendVoice::setCaption |
( |
const std::optional< std::string > & |
caption | ) |
|
◆ setDisable_notification()
void sendVoice::setDisable_notification |
( |
const std::optional< bool > & |
disable_notification | ) |
|
◆ setDuration()
void sendVoice::setDuration |
( |
const std::optional< unsigned int > & |
duration | ) |
|
◆ setReply_to_message_id()
void sendVoice::setReply_to_message_id |
( |
const std::optional< int > & |
reply_to_message_id | ) |
|
◆ setReplyMarkup() [1/3]
◆ setReplyMarkup() [2/3]
◆ setReplyMarkup() [3/3]
void sendVoice::setReplyMarkup |
( |
const ForceReply |
FR | ) |
|
◆ toJson()
Json::Value sendVoice::toJson |
( |
| ) |
|
|
virtual |
◆ WriteCallback() [1/2]
◆ WriteCallback() [2/2]
◆ caption
std::optional<std::string> yatbcpp::sendVoice::caption |
|
private |
◆ chat_id
std::string yatbcpp::sendVoice::chat_id |
|
private |
◆ disable_notification
std::optional<bool> yatbcpp::sendVoice::disable_notification |
|
private |
◆ duration
std::optional<unsigned int> yatbcpp::sendVoice::duration |
|
private |
◆ functionname [1/2]
◆ functionname [2/2]
◆ reply_markup
std::optional<ReplyMarkup> yatbcpp::sendVoice::reply_markup |
|
private |
◆ reply_to_message_id
std::optional<int> yatbcpp::sendVoice::reply_to_message_id |
|
private |
◆ voice
std::string yatbcpp::sendVoice::voice |
|
private |
The documentation for this class was generated from the following files: