yatbcpp
0.0.1
Yet another Telegram Bot CPP Library
|
#include "telegram_methodMultipart.h"
Public Member Functions | |
telegram_methodMultipart (std::string functionname) | |
virtual void | add_to_post (struct curl_httppost **start, struct curl_httppost **end) |
const std::string & | getFunctionname () const |
Static Public Member Functions | |
static size_t | WriteCallback (void *contents, size_t size, size_t nmemb, void *stringptr) |
static RETURNTYPE | perform_requestMultipart (Token T, telegram_methodMultipart< RETURNTYPE > &method_body) |
Protected Attributes | |
std::string | functionname |
Required for Methods which can be serialized to a Multipart request, for file uploading use multipart, file types are then considered files to be uploaded
RETURNTYPE |
Definition at line 17 of file telegram_methodMultipart.h.
|
inline |
Definition at line 20 of file telegram_methodMultipart.h.
|
inlinevirtual |
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
Reimplemented in yatbcpp::sendAudio, yatbcpp::sendDocument, yatbcpp::sendPhoto, yatbcpp::sendVideo, and yatbcpp::sendVoice.
Definition at line 77 of file telegram_methodMultipart.h.
|
inline |
|
inlinestatic |
Definition at line 30 of file telegram_methodMultipart.h.
|
inlinestatic |
Definition at line 22 of file telegram_methodMultipart.h.
|
protected |
Definition at line 88 of file telegram_methodMultipart.h.