statuses/updateのエンドポイントのオプションを書いた
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#ifndef COCOATWEET_API_STATUS_UPDATE_H_
|
||||
#define COCOATWEET_API_STATUS_UPDATE_H_
|
||||
|
||||
#include <memory>
|
||||
#include <cocoatweet/api/interface/httpPost.h>
|
||||
#include <cocoatweet/api/model/tweet.h>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <memory>
|
||||
|
||||
namespace CocoaTweet::API::Statuses {
|
||||
class Update : public CocoaTweet::API::Interface::HttpPost {
|
||||
@@ -14,6 +15,24 @@ public:
|
||||
|
||||
void mediaId(const std::vector<std::string> _media);
|
||||
|
||||
void replyToStatusId(const std::string _reply);
|
||||
|
||||
void autoPopulateReplyMetaData(bool _meta);
|
||||
|
||||
void excludeReplyUserId(const std::vector<std::string> _ex);
|
||||
|
||||
void attachmentUrl(const std::string _url);
|
||||
|
||||
void coord(std::pair<std::string, std::string> _coord);
|
||||
|
||||
void displayCoord(bool _disp);
|
||||
|
||||
void trimUser(bool _trim);
|
||||
|
||||
void enableDMCommands(bool _enable);
|
||||
|
||||
void failDMCommands(bool _fail);
|
||||
|
||||
CocoaTweet::API::Model::Tweet process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user