#include "sendDocument.h"
Definition at line 18 of file sendDocument.h.
◆ sendDocument() [1/3]
yatbcpp::sendDocument::sendDocument |
( |
std::int64_t |
chat_id, |
|
|
std::string |
document |
|
) |
| |
- Parameters
-
chat_id | |
document,and | Document file id or an Document file location to send local files use methodMultipart |
◆ sendDocument() [2/3]
yatbcpp::sendDocument::sendDocument |
( |
std::string |
chat_id, |
|
|
std::string |
document |
|
) |
| |
- Parameters
-
chat_id | |
document,and | Document file id or an Document file location to send local files use methodMultipart |
◆ sendDocument() [3/3]
yatbcpp::sendDocument::sendDocument |
( |
Chat |
C, |
|
|
std::string |
Document |
|
) |
| |
- Parameters
-
C | |
document,and | Document file id or an document file location to send local files use methodMultipart, and supply the file direction |
◆ add_to_post()
void sendDocument::add_to_post |
( |
struct curl_httppost ** |
start, |
|
|
struct curl_httppost ** |
end |
|
) |
| |
|
virtual |
◆ getCaption()
const optional< string > & sendDocument::getCaption |
( |
| ) |
const |
◆ getChat_id()
const string & sendDocument::getChat_id |
( |
| ) |
const |
◆ getDisable_notification()
const optional< bool > & sendDocument::getDisable_notification |
( |
| ) |
const |
◆ getDocument()
const string & sendDocument::getDocument |
( |
| ) |
const |
◆ getFunctionname() [1/2]
◆ getFunctionname() [2/2]
◆ getReply_markup()
const optional< ReplyMarkup > & sendDocument::getReply_markup |
( |
| ) |
const |
◆ getReply_to_message_id()
const optional< int32_t > & sendDocument::getReply_to_message_id |
( |
| ) |
const |
◆ perform_requestJSON()
◆ perform_requestMultipart()
◆ setCaption()
void sendDocument::setCaption |
( |
const std::optional< std::string > & |
caption | ) |
|
◆ setDisable_notification()
void sendDocument::setDisable_notification |
( |
const std::optional< bool > & |
disable_notification | ) |
|
◆ setReply_to_message_id()
void sendDocument::setReply_to_message_id |
( |
const std::optional< int > & |
reply_to_message_id | ) |
|
◆ setReplyMarkup() [1/3]
◆ setReplyMarkup() [2/3]
◆ setReplyMarkup() [3/3]
void sendDocument::setReplyMarkup |
( |
const ForceReply |
FR | ) |
|
◆ toJson()
Json::Value sendDocument::toJson |
( |
| ) |
|
|
virtual |
◆ WriteCallback() [1/2]
◆ WriteCallback() [2/2]
◆ caption
std::optional<std::string> yatbcpp::sendDocument::caption |
|
private |
◆ chat_id
std::string yatbcpp::sendDocument::chat_id |
|
private |
◆ disable_notification
std::optional<bool> yatbcpp::sendDocument::disable_notification |
|
private |
◆ document
std::string yatbcpp::sendDocument::document |
|
private |
◆ functionname [1/2]
◆ functionname [2/2]
◆ reply_markup
std::optional<ReplyMarkup> yatbcpp::sendDocument::reply_markup |
|
private |
◆ reply_to_message_id
std::optional<std::int32_t> yatbcpp::sendDocument::reply_to_message_id |
|
private |
The documentation for this class was generated from the following files: