yatbcpp
0.0.1
Yet another Telegram Bot CPP Library
|
#include "telegram_simplemethodJSON.h"
Public Member Functions | |
telegram_simplemethodJSON (std::string functionname) | |
virtual Json::Value | toJson () |
const std::string & | getFunctionname () const |
Static Public Member Functions | |
static size_t | WriteCallback (void *contents, size_t size, size_t nmemb, void *stringptr) |
static bool | perform_simplerequestJSON (Token T, telegram_simplemethodJSON &method_body) |
Protected Attributes | |
std::string | functionname |
Required for Methods which can be serialized to a json request, for file uploading use multipart, file types are then considered files to be uploaded
RETURNTYPE |
Definition at line 18 of file telegram_simplemethodJSON.h.
|
inline |
Definition at line 21 of file telegram_simplemethodJSON.h.
|
inline |
|
inlinestatic |
Function for Telegram Api which only returns a boolean value
T | |
method_body |
Definition at line 37 of file telegram_simplemethodJSON.h.
|
inlinevirtual |
Method Required for derived classes so they can be made into json object
Reimplemented in yatbcpp::answerInlineQuery.
Definition at line 73 of file telegram_simplemethodJSON.h.
|
inlinestatic |
Definition at line 25 of file telegram_simplemethodJSON.h.
|
protected |
Definition at line 84 of file telegram_simplemethodJSON.h.