コメント書いたり
This commit is contained in:
@@ -8,9 +8,15 @@
|
||||
#include <memory>
|
||||
|
||||
namespace CocoaTweet::API::Statuses {
|
||||
/// @brief class for using statuses/update endpoint
|
||||
class Update : public CocoaTweet::API::Interface::HttpPost {
|
||||
public:
|
||||
/// @brief primary constructor
|
||||
Update();
|
||||
|
||||
/// @brief set tweet text for sending request to statuses/update
|
||||
/// @param[in] const std::string _status : tweet text
|
||||
/// @param[out] none
|
||||
void status(const std::string _status);
|
||||
|
||||
void mediaId(const std::vector<std::string> _media);
|
||||
@@ -23,16 +29,19 @@ public:
|
||||
|
||||
void attachmentUrl(const std::string _url);
|
||||
|
||||
void coord(std::pair<std::string, std::string> _coord);
|
||||
void coord(std::pair<std::string, std::string> _coord);
|
||||
|
||||
void displayCoord(bool _disp);
|
||||
void displayCoord(bool _disp);
|
||||
|
||||
void trimUser(bool _trim);
|
||||
void trimUser(bool _trim);
|
||||
|
||||
void enableDMCommands(bool _enable);
|
||||
void enableDMCommands(bool _enable);
|
||||
|
||||
void failDMCommands(bool _fail);
|
||||
void failDMCommands(bool _fail);
|
||||
|
||||
/// @brief process request for endpoint
|
||||
/// @param[in] std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth : pointer to oauth object
|
||||
/// @param[out] CocoaTweet::API::Model::Tweet : request result
|
||||
CocoaTweet::API::Model::Tweet process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user