画像をuploadします
import std.json; // 画像をuploadして、画像のidを取得する string uploadImage(Twitter tw, string imgFilePath) { return parseJSON(tw.callAPI!"media.upload"(imgFilePath))["media_id_string"].str; }
See Implementation
画像をuploadします